public MC(Random random, MCProperties properties) { this.random = random; this.properties = properties; states = PrepareAvaliableStates(); ItertionsPerformed = 0; }
public StructuresGrowth(Random random, Scope baseScope, MCProperties MCProperties) { this.random = random; this.baseScope = baseScope; this.CA = new CA(random); this.MC = new MC(random, MCProperties); this.MCProperties = MCProperties; }
private void SetUpMCProperties() { MCproperties = new MCProperties() { Neighbourhood = NeighbourhoodType.Moore, NumberOfInititalStates = Converters.StringToInt(NumberOfInitialStatesTextBox.Text), NumberOfSteps = Converters.StringToInt(NumberOfMCStepsTextBox.Text) }; }