Package sfc_ft_c
Class Last_c
java.lang.Object
sfc_ft_c.Last_c
public class Last_c
extends java.lang.Object
Store mapping to which the population has last converged
-
Field Summary
Fields Modifier and Type Field Description private int
lastfitness
Best fitness on the above mappingprivate java.lang.String[]
lastmapping
Best mapping for this generation -
Constructor Summary
Constructors Constructor Description Last_c()
-
Method Summary
Modifier and Type Method Description int
getlastfitness()
get last best fitnessint[]
getlastmapping()
get last best mappingvoid
setlastfitness(int newfit)
set last best fitnessvoid
setlastmapping(int[] ma)
set last best mappingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
lastmapping
private java.lang.String[] lastmappingBest mapping for this generation -
lastfitness
private int lastfitnessBest fitness on the above mapping
-
-
Constructor Details
-
Last_c
public Last_c()
-
-
Method Details
-
getlastfitness
public int getlastfitness()get last best fitness -
setlastfitness
public void setlastfitness(int newfit)set last best fitness -
getlastmapping
public int[] getlastmapping()get last best mapping -
setlastmapping
public void setlastmapping(int[] ma)set last best mapping
-