org.encog.ca.universe.basic
public class BasicUniverse extends BasicML implements Universe, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ELEMENT_COUNT |
Constructor and Description |
---|
BasicUniverse(int height,
int width,
UniverseCellFactory theCellFactory) |
Modifier and Type | Method and Description |
---|---|
double |
calculatePercentInvalid() |
Object |
clone() |
double |
compare(Universe otherWorld) |
void |
copy(Universe source) |
UniverseCell |
get(int row,
int col) |
UniverseCellFactory |
getCellFactory() |
int |
getColumns() |
int |
getRows() |
boolean |
isValid(int row,
int col) |
void |
randomize() |
void |
updateProperties()
Update any objeccts when a property changes.
|
getProperties, getPropertyDouble, getPropertyLong, getPropertyString, setProperty, setProperty, setProperty
public static final String ELEMENT_COUNT
public BasicUniverse(int height, int width, UniverseCellFactory theCellFactory)
public Object clone()
public int getColumns()
getColumns
in interface Universe
public UniverseCell get(int row, int col)
public UniverseCellFactory getCellFactory()
getCellFactory
in interface Universe
public void updateProperties()
MLProperties
updateProperties
in interface MLProperties
updateProperties
in class BasicML
public double calculatePercentInvalid()
calculatePercentInvalid
in interface Universe
Copyright © 2014. All Rights Reserved.