Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mindswap.pellet.query
Class QueryCost

    java.lang.Object
      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)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Evren Sirin. All Rights Reserved.