Method | Description | |
---|---|---|
NQueensFitnessFunction ( ) : System | ||
generateRandomIndividual ( int boardSize ) : String | ||
getBoardForIndividual ( String individual ) : |
||
getFiniteAlphabetForBoardOfSize ( int size ) : HashSet |
||
getValue ( String individual ) : double | ||
isGoalState ( Object state ) : bool |
public generateRandomIndividual ( int boardSize ) : String | ||
boardSize | int | |
return | String |
public getBoardForIndividual ( String individual ) : |
||
individual | String | |
return |
public getFiniteAlphabetForBoardOfSize ( int size ) : HashSet |
||
size | int | |
return | HashSet |
public getValue ( String individual ) : double | ||
individual | String | |
return | double |