public override DesiredMove GetDesiredMove(ISurroundings surroundings) { return(new DesiredMove { PrimaryMove = new Move(MoveType.Forward), SecondaryMove = new Move(MoveType.RotRight) }); }
public override void ConstructFromOrganism(IOrganism organism, ISurroundings surroundings) { base.ConstructFromOrganism(organism: organism, surroundings: surroundings); var o = (IGEPOrganism) organism; var gepSurroundings = (IGEPSurroundings) surroundings; foreach(IGEPChromosome chromosome in o.GetChromosomes()) { var debuggableChromosome = chromosome.ToDebuggableChromosome(new GEPChromosomeSurroundings(gepSurroundings)); this.Chromosomes.Add(debuggableChromosome); } }
public override DesiredMove GetDesiredMove(ISurroundings surroundings) { return(null); // comes from user input }
public abstract DesiredMove GetDesiredMove(ISurroundings surroundings);