org.vizzini.ai.geneticalgorithm
Interface IFitnessCase

All Known Implementing Classes:
AbstractFitnessCase, DefaultFitnessCase

public interface IFitnessCase

Defines methods required by a fitness case for a genetic algorithm.

Since:
v0.3
Version:
v0.3
Author:
Jeffrey M. Thompson

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.
 

Method Detail

getInput

Object getInput(String name)
Return the input with the given name.

Since:
v0.3

getInputCount

int getInputCount()
Returns:
Return inputCount.
Since:
v0.3

getOutput

Object getOutput(String name)
Return the output with the given name.

Since:
v0.3

getOutputCount

int getOutputCount()
Returns:
Return outputCount.
Since:
v0.3

setInput

void setInput(String name,
              Object value)
Set the input with the given name to the given value.

Parameters:
name - Name.
value - Value.
Since:
v0.3

setOutput

void setOutput(String name,
               Object value)
Set the output with the given name to the given value.

Parameters:
name - Name.
value - Value.
Since:
v0.3


Copyright © 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02