|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.vizzini.ai.geneticalgorithm.AbstractFitnessCase
public abstract class AbstractFitnessCase
Provides base functionality for a fitness case in a genetic algorithm.
| Constructor Summary | |
|---|---|
AbstractFitnessCase()
|
|
| Method Summary | |
|---|---|
Object |
getInput(String name)
Return the input with the given name. |
int |
getInputCount()
|
Object |
getOutput(String name)
Return the output with the given name. |
int |
getOutputCount()
|
void |
setInput(String name,
Object value)
Set the input with the given name to the given value. |
void |
setOutput(String name,
Object value)
Set the output with the given name to the given value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractFitnessCase()
| Method Detail |
|---|
public Object getInput(String name)
getInput in interface IFitnessCasepublic int getInputCount()
getInputCount in interface IFitnessCasepublic Object getOutput(String name)
getOutput in interface IFitnessCasepublic int getOutputCount()
getOutputCount in interface IFitnessCase
public void setInput(String name,
Object value)
setInput in interface IFitnessCasename - Name.value - Value.
public void setOutput(String name,
Object value)
setOutput in interface IFitnessCasename - Name.value - Value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |