예제 #1
0
 public GridState(Node[,] nodes, Position dataLocation, ClusterSetup cluster)
 {
     Debug.Assert(nodes.GetLength(0) == cluster.XDim && nodes.GetLength(1) == cluster.YDim);
     Nodes        = nodes;
     DataLocation = dataLocation;
     Cluster      = cluster;
 }
예제 #2
0
 protected bool Equals(ClusterSetup other)
 {
     return(XDim == other.XDim && YDim == other.YDim && Equals(AccessNode, other.AccessNode));
 }