Ejemplo n.º 1
0
 public State(long energy, bool harmonics, Matrix matrix, Bot[] bots, Trace trace, IOpLogWriter opLogWriter = null)
 {
     Energy      = energy;
     Harmonics   = harmonics;
     Matrix      = matrix;
     Bots        = bots;
     Trace       = trace;
     OpLogWriter = opLogWriter ?? new FakeOpLog();
 }
Ejemplo n.º 2
0
 public static State CreateInitial(int r, IOpLogWriter opLogWriter = null)
 {
     return(new State(0, false, new Matrix(r), new [] { new Bot(1, new Vector(0, 0, 0), Enumerable.Range(2, 39).ToArray()) }, null, opLogWriter));
 }
Ejemplo n.º 3
0
 public MemTable(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
     values           = new Dictionary <string, Item>();
 }
Ejemplo n.º 4
0
 public MemTable(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
     items            = new List <Item>();
 }
Ejemplo n.º 5
0
 public MemTable(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
 }
Ejemplo n.º 6
0
 public JenyaRomaSolver(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
 }