org.mindswap.pellet.query
Class QueryCost

java.lang.Object
  extended by org.mindswap.pellet.query.QueryCost

public class QueryCost
extends java.lang.Object

Reorganizes the order of variables to improve the performance of the query answering. Designed for queries with one connected component and no undistinguished variables.

Author:
Evren Sirin

Field Summary
static double costIC
           
static double costIR
           
static double costRC
           
static double costRR
           
 
Constructor Summary
QueryCost(KnowledgeBase kb)
           
 
Method Summary
 double estimateCost(java.util.List patterns)
           
 double estimateCost(Query query)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

costIR

public static double costIR

costIC

public static double costIC

costRR

public static double costRR

costRC

public static double costRC
Constructor Detail

QueryCost

public QueryCost(KnowledgeBase kb)
Method Detail

estimateCost

public double estimateCost(Query query)

estimateCost

public double estimateCost(java.util.List patterns)


Copyright © 2007-2009 Natalya Keberle. All Rights Reserved.