|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mindswap.pellet.tableau.cache.CachedEdge
public abstract class CachedEdge
Title:
Description: Represents an edge cached for a CachedNode
. A cached
edge stores the information about only one node (the neighbor of the cached
node where this edge is stored) and for that node only the name is stored.
This keeps the memory footprint of cached nodes to a minimum without causing
any slow downs (since cached nodes are used only in limited ways).
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
Constructor Summary | |
---|---|
CachedEdge(Role role,
aterm.ATermAppl neighbor,
DependencySet ds)
|
Method Summary | |
---|---|
DependencySet |
getDepends()
|
Individual |
getFrom()
|
aterm.ATermAppl |
getFromName()
|
Node |
getNeighbor(Node node)
Given a node upon which this edge is incident, the opposite incident node is returned. |
Role |
getRole()
|
Node |
getTo()
|
aterm.ATermAppl |
getToName()
|
void |
setDepends(DependencySet ds)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CachedEdge(Role role, aterm.ATermAppl neighbor, DependencySet ds)
Method Detail |
---|
public DependencySet getDepends()
getDepends
in interface Edge
public Individual getFrom()
getFrom
in interface Edge
public aterm.ATermAppl getFromName()
getFromName
in interface Edge
public Node getNeighbor(Node node)
getNeighbor
in interface Edge
node
- a node upon which this edge is incident
public Role getRole()
getRole
in interface Edge
public Node getTo()
getTo
in interface Edge
public aterm.ATermAppl getToName()
getToName
in interface Edge
public void setDepends(DependencySet ds)
setDepends
in interface Edge
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |