|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.encog.ml.BasicML
public abstract class BasicML
A class that provides basic property functionality for the MLProperties interface.
Constructor Summary | |
---|---|
BasicML()
|
Method Summary | |
---|---|
Map<String,String> |
getProperties()
|
double |
getPropertyDouble(String name)
Get the specified property as a double. |
long |
getPropertyLong(String name)
Get the specified property as a long. |
String |
getPropertyString(String name)
Get the specified property as a string. |
void |
setProperty(String name,
double d)
Set a property as a double. |
void |
setProperty(String name,
long l)
Set a property as a long. |
void |
setProperty(String name,
String value)
Set a property as a double. |
abstract void |
updateProperties()
Update any objeccts when a property changes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasicML()
Method Detail |
---|
public Map<String,String> getProperties()
getProperties
in interface MLProperties
public double getPropertyDouble(String name)
getPropertyDouble
in interface MLProperties
name
- The name of the property.
public long getPropertyLong(String name)
getPropertyLong
in interface MLProperties
name
- The name of the specified property.
public String getPropertyString(String name)
getPropertyString
in interface MLProperties
name
- The name of the property.
public void setProperty(String name, double d)
setProperty
in interface MLProperties
name
- The name of the property.d
- The value of the property.public void setProperty(String name, long l)
setProperty
in interface MLProperties
name
- The name of the property.l
- The value of the property.public void setProperty(String name, String value)
setProperty
in interface MLProperties
name
- The name of the property.value
- The value of the property.public abstract void updateProperties()
MLProperties
updateProperties
in interface MLProperties
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |