Class ParameterSet
java.lang.Object
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<TrainingParameter>
,Collection<TrainingParameter>
,List<TrainingParameter>
,RandomAccess
,SequencedCollection<TrainingParameter>
A set of parameters that can be given to a trainer to
specifiy the training task.
- Author:
- Matthias Thimm
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether this set contains a parameter with the same name as the given parameter.getParameter
(TrainingParameter param) Returns the parameter of this set with the same name as the given parameter (or throws an IllegalArgumentException)Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Constructor Details
-
ParameterSet
public ParameterSet()Default Constructor
-
-
Method Details
-
containsParameter
Checks whether this set contains a parameter with the same name as the given parameter.- Parameters:
param
- some parameter- Returns:
- Checks whether this set contains a parameter with the same name as the given parameter.
-
getParameter
Returns the parameter of this set with the same name as the given parameter (or throws an IllegalArgumentException)- Parameters:
param
- some parameter- Returns:
- Returns the parameter of this set with the same name as the given parameter (or throws an IllegalArgumentException)
-