|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectart.ga.GaConfiguration
art.cs.CsConfiguration
This class manage all the parameters of the CS reading them from an XML file.
Basically all the parameters are read from an XML file and stored in memory.
All the other classes know which is their Configuration instance and ask to their instance
for the required information via get methods.
In this way is possible to create instance of other
classes (like for example create two different Populations) that use two different Configuration,
and than different parameters. This can be very useful in AB model
This class extend GaConfiguration.
| Constructor Summary | |
CsConfiguration()
Constructor of this class and of the parent class. |
|
| Method Summary | |
double |
getBaseBidRate()
Percentage of the classifier's asset to be used for bid in the auction process not proportion to the specificity of the classifier. |
double |
getBidTax()
Percentage of the classifier's asset to be payed as tax. |
double |
getCoverDetectorStrategy()
Get the covering strategy. |
double |
getDifferentiationRate()
Part of the classifier population used during the selection for die process to differentiate the children from the parents. |
double |
getEvolutionBrake()
Get the evolution brake value. |
double |
getEvolutionRate()
Probability at every short term computation of the CS to evolve the population. |
double |
getInitialFitness()
Initial fitness of all the classifiers. |
double |
getLifeTax()
Percentage of the classifier's asset to be payed as life tax. |
double |
getMaxActions()
Maximum number of actions returned to the user after one cycle of computations. |
double |
getMaxAuctionWinners()
Maximum number of message winning the auction. |
double |
getMovingAverageLag()
Get the moving average lag rate. |
double |
getProportionalBidRate()
Percentage of the classifier's asset used as bid proportional to the specificity of the classifier. |
double |
getRandomBidBias()
Get the randomBidBias rate. |
double |
getSelectionForDieStrategy()
Get the selection for die algorithm for CS. |
double |
getWildCardRate()
Percentage of the classifier's condition part generated as wildcard. |
void |
setBaseBidRate(double baseBidRate)
Percentage of the classifier's asset used for bid not proportional to the specificity. |
void |
setBidTax(double bidTax)
Set bid tax. |
void |
setCoverDetectorStrategy(double coverDetectorStrategy)
Set the covering strategy. |
void |
setDifferentiationRate(double differentiationRate)
Set differentiation rate. |
void |
setEvolutionBrake(double evolutionBrake)
Set the evolution brake value. |
void |
setEvolutionRate(double evolutionRate)
Set evolution rate. |
void |
setInitialFitness(double initialFitness)
Set initial fitness. |
void |
setLifeTax(double lifeTax)
Set life tax. |
void |
setMaxActions(double maxActions)
Maximum number of actions returned to the user after one cycle of computations. |
void |
setMaxAuctionWinners(double maxAuctionWinners)
Set max auction winners number. |
void |
setMovingAverageLag(double movingAverageLag)
Set the moving average lag rate. |
void |
setProportionalBidRate(double proportionalBidRate)
Set bid rate proportional to specificity. |
void |
setRandomBidBias(double randomBidBias)
Set the randomBidBias rate. |
void |
setSelectionForDieStrategy(double selectionForDieStrategy)
Set the selection for die algorithm for CS. |
void |
setWildCardRate(double wildCardRate)
Set wild card rate. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CsConfiguration()
| Method Detail |
public double getBaseBidRate()
public double getBidTax()
public double getDifferentiationRate()
Part of the classifier population used during the selection for die process to differentiate the children from the parents.<\p>
This is a technical parameter that deal with the modification of the standard GA algorithm required by the CS.<\p>
public double getEvolutionRate()
public double getInitialFitness()
public double getLifeTax()
public double getMaxActions()
public double getMaxAuctionWinners()
public double getProportionalBidRate()
public double getWildCardRate()
public void setBaseBidRate(double baseBidRate)
baseBidRate - The baseBidRate to set.public void setBidTax(double bidTax)
bidTax - The bidTax to set.public void setDifferentiationRate(double differentiationRate)
differentiationRate - The differentiationRate to set.public void setEvolutionRate(double evolutionRate)
evolutionRate - The evolutionRate to set.public void setInitialFitness(double initialFitness)
initialFitness - The initialFitness to set.public void setLifeTax(double lifeTax)
lifeTax - The lifeTax to set.public void setMaxActions(double maxActions)
maxActions - The maxActions to set.public void setMaxAuctionWinners(double maxAuctionWinners)
maxAuctionWinners - The maxAuctionWinners to set.public void setProportionalBidRate(double proportionalBidRate)
proportionalBidRate - The proportionalBidRate to set.public void setWildCardRate(double wildCardRate)
wildCardRate - The wildCardRate to set.public double getEvolutionBrake()
public void setEvolutionBrake(double evolutionBrake)
evolutionBrake - The evolutionBrake to set.public double getMovingAverageLag()
public void setMovingAverageLag(double movingAverageLag)
movingAverageLag - The movingAverageLag to set.public double getRandomBidBias()
public void setRandomBidBias(double randomBidBias)
randomBidBias - The randomBidBias to set.public double getCoverDetectorStrategy()
public void setCoverDetectorStrategy(double coverDetectorStrategy)
coverDetectorStrategy - The coverDetectorStrategy to set.public double getSelectionForDieStrategy()
public void setSelectionForDieStrategy(double selectionForDieStrategy)
selectionForDieStrategy - The selectionForDieStrategy to set.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||