de.fuberlin.wiwiss.wiqa.extensions.tidal
Class TidalTrustGraph

java.lang.Object
  extended byde.fuberlin.wiwiss.wiqa.extensions.tidal.TidalTrustGraph

public class TidalTrustGraph
extends Object

Provides convenient access to the Tidal Trust algorithm by wrapping a SimpleTrustGraph. The source node is fixed, and the strength for any sink node can be requested and will be calculated, if necessary, using the PathRatingInferrer.

Version:
$Id$
Author:
Richard Cyganiak (richard@cyganiak.de)

Constructor Summary
TidalTrustGraph(SimpleTrustGraph graph, Object source)
           
 
Method Summary
 double explicitStrength(Object from, Object to)
           
 boolean hasExplicitEdge(Object from, Object to)
           
 boolean hasPathTo(Object node)
           
 double inferredStrength(Object from, Object to)
           
 double maxPathStrength(Object to)
           
 ShortestPathTrustGraph shortestPaths()
           
 double strength(Object to)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TidalTrustGraph

public TidalTrustGraph(SimpleTrustGraph graph,
                       Object source)
Method Detail

strength

public double strength(Object to)

hasExplicitEdge

public boolean hasExplicitEdge(Object from,
                               Object to)

maxPathStrength

public double maxPathStrength(Object to)

shortestPaths

public ShortestPathTrustGraph shortestPaths()

explicitStrength

public double explicitStrength(Object from,
                               Object to)

inferredStrength

public double inferredStrength(Object from,
                               Object to)

hasPathTo

public boolean hasPathTo(Object node)