|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.fuberlin.wiwiss.wiqa.extensions.AbstractRankBasedMetric
| Field Summary | |
protected DatasetGraph |
dataSource
|
protected String |
uri
URI, which identifies the Metric in the TriQL Trust-Architecture. |
| Constructor Summary | |
AbstractRankBasedMetric(String uri)
|
|
| Method Summary | |
void |
build(List args,
String uri)
|
protected void |
cache(RankingCache obj,
Node sink)
Stores a metric-specific RankingCache into the cache. |
protected Node |
cl(String str)
Creates a String Literal Node |
QueryIterator |
exec(QueryIterator input,
List args,
String uri,
ExecutionContext execCxt)
|
abstract Integer |
execMetric(List inputTable)
|
ExplanationPart |
explain()
|
Graph |
explainRDF()
|
RankingCache |
getCachedRanking(RankingCache notCached)
Checks for a ranking, whether or not a ranking with the same parameters was allready calculated. |
DatasetGraph |
getDataSource()
|
int |
getRank()
|
protected RankingCache |
getRankingCache(int i)
Looks up the RankingCache of the binding i. |
protected Node |
getSink(int i)
Looks up the sink of the binding i. |
String |
getURI()
|
boolean |
hasCachedRanking(RankingCache obj)
|
boolean |
isAccepted()
|
void |
setComparator(Node cmp)
|
void |
setRank(int rank)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected String uri
protected DatasetGraph dataSource
| Constructor Detail |
public AbstractRankBasedMetric(String uri)
| Method Detail |
public DatasetGraph getDataSource()
public void setComparator(Node cmp)
public void setRank(int rank)
public int getRank()
protected Node getSink(int i)
protected RankingCache getRankingCache(int i)
protected void cache(RankingCache obj,
Node sink)
public String getURI()
public boolean hasCachedRanking(RankingCache obj)
public RankingCache getCachedRanking(RankingCache notCached)
protected Node cl(String str)
str -
public ExplanationPart explain()
public Graph explainRDF()
public boolean isAccepted()
public void build(List args,
String uri)
build in interface Extension
public QueryIterator exec(QueryIterator input,
List args,
String uri,
ExecutionContext execCxt)
exec in interface Extensionpublic abstract Integer execMetric(List inputTable)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||