com.clarkparsia.pellet.sparqldl.engine
Class QueryCost

java.lang.Object
  extended by com.clarkparsia.pellet.sparqldl.engine.QueryCost

public class QueryCost
extends java.lang.Object

Title: AtomCostImpl

Description: Computes the cost estimate for given atom.

Copyright: Copyright (c) 2007

Company: Clark & Parsia, LLC.

Author:
Petr Kremen

Constructor Summary
QueryCost(KnowledgeBase kb)
           
 
Method Summary
 double estimate(java.util.List<QueryAtom> atoms)
           
 double estimate(java.util.List<QueryAtom> atoms, java.util.Collection<aterm.ATermAppl> bound)
           
 double estimate(QueryAtom atom)
           
 double estimate(QueryAtom atom, java.util.Collection<aterm.ATermAppl> bound)
           
 double getBranchCount()
          
 double getStaticCost()
          
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QueryCost

public QueryCost(KnowledgeBase kb)
Method Detail

estimate

public double estimate(java.util.List<QueryAtom> atoms)

estimate

public double estimate(java.util.List<QueryAtom> atoms,
                       java.util.Collection<aterm.ATermAppl> bound)

estimate

public double estimate(QueryAtom atom)

estimate

public double estimate(QueryAtom atom,
                       java.util.Collection<aterm.ATermAppl> bound)

getBranchCount

public double getBranchCount()


getStaticCost

public double getStaticCost()



Copyright © 2004 Evren Sirin. All Rights Reserved.