public MasterCell(IEnumerable <ISimpleCell> ancestorCells) { Cell = new SimpleCell(); Ancestors = new List <Ancestor>(); foreach (var cell in ancestorCells) { Ancestors.Add(new Ancestor(cell)); } }
public Ancestor(ISimpleCell cell = null) { Cell = cell ?? new SimpleCell(); Weight = (float)generator.NextDouble(); }