| Constructor and Description |
|---|
DefaultEdge(Role name,
Individual from,
Node to) |
DefaultEdge(Role name,
Individual from,
Node to,
DependencySet d) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
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() |
int |
hashCode() |
void |
setDepends(DependencySet ds) |
String |
toString() |
public DefaultEdge(Role name, Individual from, Node to)
public DefaultEdge(Role name, Individual from, Node to, DependencySet d)
public Node getNeighbor(Node node)
getNeighbor in interface Edgenode - a node upon which this edge is incidentpublic DependencySet getDepends()
getDepends in interface Edgepublic Individual getFrom()
public Node getTo()
public aterm.ATermAppl getFromName()
getFromName in interface Edgepublic aterm.ATermAppl getToName()
public void setDepends(DependencySet ds)
setDepends in interface EdgeCopyright © 2019. All rights reserved.