C# Class Model, RandomCode

ファイルを表示 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_oe property

protected int FMX
return int

changes protected_oe property

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

observed protected_oe property

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

periodic protected_oe property

protected bool periodic
return bool

random protected_oe property

protected Random random
return Random

stationary protected_oe property

protected double[] stationary
return double[]

wave protected_oe property

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