public class QueryCost extends Object
Title: AtomCostImpl
Description: Computes the cost estimate for given atom.
Copyright: Copyright (c) 2007
Company: Clark & Parsia, LLC.
| Constructor and Description |
|---|
QueryCost(KnowledgeBase kb) |
| Modifier and Type | Method and Description |
|---|---|
double |
estimate(List<QueryAtom> atoms) |
double |
estimate(List<QueryAtom> atoms,
Collection<aterm.ATermAppl> bound) |
double |
estimate(QueryAtom atom) |
double |
estimate(QueryAtom atom,
Collection<aterm.ATermAppl> bound) |
double |
getBranchCount() |
double |
getStaticCost() |
public QueryCost(KnowledgeBase kb)
public double estimate(List<QueryAtom> atoms, Collection<aterm.ATermAppl> bound)
public double estimate(QueryAtom atom)
public double estimate(QueryAtom atom, Collection<aterm.ATermAppl> bound)
public double getBranchCount()
public double getStaticCost()
Copyright © 2019. All rights reserved.