public class NodeWithNumberedEdges extends NodeWithNumber implements INodeWithNumberedEdges
INodeWithNumberedEdges| Constructor and Description |
|---|
NodeWithNumberedEdges() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPred(int eqNumber)
Note that this variable appears on the LHS of an equation.
|
void |
addSucc(int eqNumber)
Note that this variable appears on the RHS of an equation.
|
void |
deletePred(int eqNumber)
remove the edge that indicates this variable is Predined by a certain equation
|
void |
deleteSucc(int eqNumber)
remove the edge that indicates this variable is Succd by a certain equation
|
IntSet |
getPredNumbers() |
IntSet |
getSuccNumbers() |
void |
removeAllIncidentEdges()
remove all edges that involve this node.
|
void |
removeIncomingEdges()
remove all incoming edges to this this node.
|
void |
removeOutgoingEdges()
remove all outgoing edges to this this node.
|
getGraphNodeId, setGraphNodeIdclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGraphNodeId, setGraphNodeIdpublic IntSet getSuccNumbers()
getSuccNumbers in interface INodeWithNumberedEdgespublic IntSet getPredNumbers()
getPredNumbers in interface INodeWithNumberedEdgespublic void addSucc(int eqNumber)
addSucc in interface INodeWithNumberedEdgeseqNumber - the equation numberpublic void addPred(int eqNumber)
addPred in interface INodeWithNumberedEdgeseqNumber - the equation numberpublic void deleteSucc(int eqNumber)
public void deletePred(int eqNumber)
public void removeAllIncidentEdges()
throws UnimplementedError
INodeWithNumberedEdgesremoveAllIncidentEdges in interface INodeWithNumberedEdgesUnimplementedErrorpublic void removeIncomingEdges()
throws UnimplementedError
INodeWithNumberedEdgesremoveIncomingEdges in interface INodeWithNumberedEdgesUnimplementedErrorpublic void removeOutgoingEdges()
throws UnimplementedError
INodeWithNumberedEdgesremoveOutgoingEdges in interface INodeWithNumberedEdgesUnimplementedError