|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.encog.parse.units.UnitManager
public class UnitManager
Manage the unit types supported by Encog.
| Field Summary | |
|---|---|
static java.lang.String |
BASE_WEIGHT
The base weight. |
| Constructor Summary | |
|---|---|
UnitManager()
|
|
| Method Summary | |
|---|---|
double |
convert(java.lang.String from,
java.lang.String to,
double input)
Convert the specified unit. |
void |
createRecognizers(Parse parse)
Create recongizers for the specified parse object. |
java.lang.String |
resolveAlias(java.lang.String in)
Resolve the specified alias. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BASE_WEIGHT
| Constructor Detail |
|---|
public UnitManager()
| Method Detail |
|---|
public double convert(java.lang.String from,
java.lang.String to,
double input)
from - The from unit.to - The to unit.input - The value to convert.
public void createRecognizers(Parse parse)
parse - The parse object to create recognizers for.public java.lang.String resolveAlias(java.lang.String in)
in - The alias to look up.
|
The Encog Project | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||