public class CNetObligation extends java.util.HashMap<CNetNode,java.util.Map<CNetNode,java.lang.Integer>>
Constructor and Description |
---|
CNetObligation() |
Modifier and Type | Method and Description |
---|---|
int |
addObligations(CNetNode source,
CNetNode target,
int numObligations)
Add obligations between a source node and a target node
|
int |
getNumObligations(CNetNode source,
CNetNode target)
Get the number of obligations from a source node to a target node.
|
int |
removeObligations(CNetNode source,
CNetNode target,
int numObligations)
remove obligations from source node to target node.
|
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
public int addObligations(CNetNode source, CNetNode target, int numObligations)
source
- target
- numObligations
- public int removeObligations(CNetNode source, CNetNode target, int numObligations)
source
- target
- numObligations
-