de.cesr.more.basic
Class MNetworkTools
java.lang.Object
de.cesr.more.basic.MNetworkTools
public class MNetworkTools
- extends Object
MORe
The MNetworkTools provides some general static methods that are applied to networks.
- Date:
- 11.10.2011
Method Summary |
static
|
isStructurallyEqual(MoreNetwork<AgentType,?> networkOne,
MoreNetwork<AgentType,?> networkTwo)
Requires the same set of nodes to be equal (if B is representative of A, A.equals(B) must be true) |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MNetworkTools
public MNetworkTools()
isStructurallyEqual
public static <AgentType> boolean isStructurallyEqual(MoreNetwork<AgentType,?> networkOne,
MoreNetwork<AgentType,?> networkTwo)
- Requires the same set of nodes to be equal (if B is representative of A, A.equals(B) must be true)
- Parameters:
networkOne
- networkTwo
-
- Returns:
- true if the given networks are structurally equal.