Package | Description |
---|---|
classifierLibrary |
Modifier and Type | Class and Description |
---|---|
class |
StandardClassifier
Library classifierLibrary, Klasse StandardClassifier Copyright
by Klaus Hufschlag 2004,2005,2006This file is part of the Generic
Classifier Library.
|
Modifier and Type | Method and Description |
---|---|
Classifier |
Classifier.cross(Classifier cl)
Returns Classifier as a result of crossing with another classifier,
crossing at random position.
|
Classifier |
Classifier.cross(Classifier cl,
int position)
Returns Classifier that is a result of crossing with another given
classifier, crossing at defined position.
|
Classifier |
ClassifierSystem.getClassifier(int index)
Returns a classifier at a given position
|
Classifier |
ClassifierSystem.getSample()
Returns the sample classifier defined for the instance.
|
Classifier |
Classifier.mutation(double probability)
Returns mutation of the current classifier.
|
Classifier |
ClassifierSystem.RoulettewheelChoice(java.lang.String which,
boolean invert)
Returns roulettewheel-choice, using a given method of the classifiers for
determining probability/weight.
|
Modifier and Type | Method and Description |
---|---|
void |
ClassifierSystem.add(Classifier cl)
Adds a Classifier to the instances' internal ruleset.
|
boolean |
Classifier.compatibility(Classifier cl)
Checks compatibility of instance to another instance.
|
Classifier |
Classifier.cross(Classifier cl)
Returns Classifier as a result of crossing with another classifier,
crossing at random position.
|
Classifier |
Classifier.cross(Classifier cl,
int position)
Returns Classifier that is a result of crossing with another given
classifier, crossing at defined position.
|
void |
ClassifierSystem.init(Classifier sample,
long size,
boolean randomized)
CS is initialized with a given number of classifiers following a sample
(by cloning the sample).
|
void |
ClassifierSystem.remove(Classifier cl)
Function removes a given Classifier from CS.
|
Constructor and Description |
---|
ClassifierSystem(java.lang.String name,
Classifier sample,
int size,
boolean randomized)
Enhanced Constructor, initializing the CS following given parameters.
|