C# Class SuperImageEvolver.SoftTranslateMutator

Inheritance: IMutator
Exibir arquivo Open project: fragmer/SuperImageEvolver

Public Methods

Method Description
ChangeColor ( Random rand, Shape shape, TaskState task ) : void
IModule ( NBTag tag ) : void
Mutate ( Random rand, DNA oldDNA, TaskState task ) : DNA
RotateShape ( Random rand, Shape shape ) : void
ScaleShape ( Random rand, Shape shape, TaskState task ) : void
SoftTranslateMutator ( ) : System

Private Methods

Method Description
ICloneable ( ) : object
MoveShape ( Random rand, Shape shape, TaskState task ) : void

Method Details

ChangeColor() public method

public ChangeColor ( Random rand, Shape shape, TaskState task ) : void
rand System.Random
shape Shape
task TaskState
return void

IModule() public method

public IModule ( NBTag tag ) : void
tag NBTag
return void

Mutate() public method

public Mutate ( Random rand, DNA oldDNA, TaskState task ) : DNA
rand System.Random
oldDNA DNA
task TaskState
return DNA

RotateShape() public method

public RotateShape ( Random rand, Shape shape ) : void
rand System.Random
shape Shape
return void

ScaleShape() public method

public ScaleShape ( Random rand, Shape shape, TaskState task ) : void
rand System.Random
shape Shape
task TaskState
return void

SoftTranslateMutator() public method

public SoftTranslateMutator ( ) : System
return System