| Package | Description |
|---|---|
| org.oakgp.rank |
Provides classes for the evaluation and ranking of candidates in a generation.
|
| org.oakgp.terminate |
Provides implementations of termination criteria.
|
| Modifier and Type | Method and Description |
|---|---|
RankedCandidate |
RankedCandidates.best()
Returns the best candidate in this collection.
|
RankedCandidate |
RankedCandidates.get(int index)
Returns the candidate at the specified position in this collection.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<RankedCandidate> |
RankedCandidates.iterator() |
Stream<RankedCandidate> |
RankedCandidates.stream()
Returns a sequential
Stream with this collection as its source. |
| Modifier and Type | Method and Description |
|---|---|
int |
RankedCandidate.compareTo(RankedCandidate o) |
| Constructor and Description |
|---|
RankedCandidates(RankedCandidate[] candidates)
Constructs a new collection of candidates sorted by their natural ordering.
|
RankedCandidates(RankedCandidate[] candidates,
Comparator<RankedCandidate> comparator)
Constructs a new collection of candidates sorted according to the given comparator.
|
| Constructor and Description |
|---|
RankedCandidates(RankedCandidate[] candidates,
Comparator<RankedCandidate> comparator)
Constructs a new collection of candidates sorted according to the given comparator.
|
| Constructor and Description |
|---|
TargetFitnessTerminator(Predicate<RankedCandidate> targetCriteira)
Creates a predicate which returns the result of evaluating the given criteria with the best candidate of a
RankedCandidates. |
OakGP Genetic Programming Framework