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, setGraphNodeId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGraphNodeId, setGraphNodeId
public IntSet getSuccNumbers()
getSuccNumbers
in interface INodeWithNumberedEdges
public IntSet getPredNumbers()
getPredNumbers
in interface INodeWithNumberedEdges
public void addSucc(int eqNumber)
addSucc
in interface INodeWithNumberedEdges
eqNumber
- the equation numberpublic void addPred(int eqNumber)
addPred
in interface INodeWithNumberedEdges
eqNumber
- the equation numberpublic void deleteSucc(int eqNumber)
eqNumber
- public void deletePred(int eqNumber)
eqNumber
- public void removeAllIncidentEdges() throws UnimplementedError
INodeWithNumberedEdges
removeAllIncidentEdges
in interface INodeWithNumberedEdges
UnimplementedError
public void removeIncomingEdges() throws UnimplementedError
INodeWithNumberedEdges
removeIncomingEdges
in interface INodeWithNumberedEdges
UnimplementedError
public void removeOutgoingEdges() throws UnimplementedError
INodeWithNumberedEdges
removeOutgoingEdges
in interface INodeWithNumberedEdges
UnimplementedError