Package de.julielab.smac
Class SmacLiveRundataCollection
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<SmacLiveRundata>
-
- de.julielab.smac.SmacLiveRundataCollection
-
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<SmacLiveRundata>,Collection<SmacLiveRundata>,List<SmacLiveRundata>,RandomAccess
public class SmacLiveRundataCollection extends ArrayList<SmacLiveRundata>
Represents a collection of live-rundata files. This is meant for the case where multiple SMAC sessions have been started with the '--shared-model-mode true' parameter such that all live rundata files belong to the same search space.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description SmacLiveRundataCollection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FullyEvaluatedConfiguration>getBestFullyEvaluatedConfigurations(int n)Returns those configurations which have been evaluated in the maximum of instances and have the highest average quality score.-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
-
Methods inherited from interface java.util.List
containsAll
-
-
-
-
Method Detail
-
getBestFullyEvaluatedConfigurations
public List<FullyEvaluatedConfiguration> getBestFullyEvaluatedConfigurations(int n)
Returns those configurations which have been evaluated in the maximum of instances and have the highest average quality score. Those were most likely the incumbent as some point in the SMAC configuration phase.
The maximum number of instances is estimated by getting the maximum number of runs for a single configuration.
- Parameters:
n- The number of configurations to return.- Returns:
- The best configurations.
-
-