org.openanzo.glitter.query
Interface NodeCostModel

All Known Implementing Classes:
SimpleCostModel

public interface NodeCostModel

A NodeCostModel can assign a query-execution cost to any TreeNode in a SPARQL query

Author:
lee

Method Summary
 double computeCost(TreeNode node)
           
 

Method Detail

computeCost

double computeCost(TreeNode node)
Parameters:
node - A node in the SPARQL query
Returns:
The cost (an arbitrary numeric) of generating bindings for the given node


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.