Exemple #1
0
 public void Check(WavePropagator wavePropagator)
 {
     foreach (var i in Enumerable.Range(0, wavePropagator.Wave.Indicies))
     {
         if (wavePropagator.Wave.Get(i, 1) == false)
         {
             wavePropagator.SetContradiction();
         }
     }
 }
Exemple #2
0
 /// <summary>
 /// Indicates that the generation cannot proceed, forcing the algorithm to backtrack or exit.
 /// </summary>
 public void SetContradiction()
 {
     wavePropagator.SetContradiction();
 }