C# Class Model, RandomCode

Show file Open project: Atrix256/RandomCode Class Usage Examples

Protected Properties

Property Type Description
FMX int
changes bool[][]
observed int[][]
periodic bool
random Random
stationary double[]
wave bool[][][]

Public Methods

Method Description
Graphics ( ) : Bitmap
Run ( int seed, int limit ) : bool

Protected Methods

Method Description
Clear ( ) : void
Model ( int width, int height ) : System
OnBoundary ( int x, int y ) : bool
Propagate ( ) : bool

Private Methods

Method Description
Observe ( ) : bool?

Method Details

Clear() protected method

protected Clear ( ) : void
return void

Graphics() public abstract method

public abstract Graphics ( ) : Bitmap
return System.Drawing.Bitmap

Model() protected method

protected Model ( int width, int height ) : System
width int
height int
return System

OnBoundary() protected abstract method

protected abstract OnBoundary ( int x, int y ) : bool
x int
y int
return bool

Propagate() protected abstract method

protected abstract Propagate ( ) : bool
return bool

Run() public method

public Run ( int seed, int limit ) : bool
seed int
limit int
return bool

Property Details

FMX protected property

protected int FMX
return int

changes protected property

protected bool[][] changes
return bool[][]

observed protected property

protected int[][] observed
return int[][]

periodic protected property

protected bool periodic
return bool

random protected property

protected Random random
return Random

stationary protected property

protected double[] stationary
return double[]

wave protected property

protected bool[][][] wave
return bool[][][]