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, setPropertypublic static final String ELEMENT_COUNT
public BasicUniverse(int height,
int width,
UniverseCellFactory theCellFactory)
public Object clone()
public int getColumns()
getColumns in interface Universepublic UniverseCell get(int row, int col)
public UniverseCellFactory getCellFactory()
getCellFactory in interface Universepublic void updateProperties()
MLPropertiesupdateProperties in interface MLPropertiesupdateProperties in class BasicMLpublic double calculatePercentInvalid()
calculatePercentInvalid in interface UniverseCopyright © 2014. All Rights Reserved.