Пример #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();
 }
Пример #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));
 }
Пример #3
0
 public MemTable(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
     values           = new Dictionary <string, Item>();
 }
Пример #4
0
 public MemTable(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
     items            = new List <Item>();
 }
Пример #5
0
 public MemTable(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
 }
Пример #6
0
 public JenyaRomaSolver(IOpLogWriter opLogWriter)
 {
     this.opLogWriter = opLogWriter;
 }