Exemple #1
0
 public State(VertexCoverGraph graph, HashSet <string> onStartingShore, HashSet <string> onFinishingShore, int alcuinNumber, bool isFinishShore, State previousState = null, string[] movement = null)
 {
     Graph            = graph;
     OnStartingShore  = new HashSet <string>(onStartingShore);
     OnFinishingShore = new HashSet <string>(onFinishingShore);
     AlcuinNumber     = alcuinNumber;
     IsFinishShore    = isFinishShore;
     PreviousState    = previousState;
     Movement         = movement;
 }
Exemple #2
0
 public State(VertexCoverGraph graph, string[] onStartingShore, string[] onFinishingShore, int alcuinNumber, bool isFinishShore) :
     this(graph, new HashSet <string>(onStartingShore), new HashSet <string>(onFinishingShore), alcuinNumber, isFinishShore)
 {
 }