Class DesignDecisionGenotype
- java.lang.Object
-
- de.uka.ipd.sdq.dsexplore.opt4j.genotype.DesignDecisionGenotype
-
-
Constructor Summary
Constructors Constructor Description DesignDecisionGenotype()
DesignDecisionGenotype(Candidate emfCandidate)
DesignDecisionGenotype(Candidate emfCandidate, DecisionSpace problem, DesignDecisionGenotype initialCandidateGenotype)
create new genotype.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(int index, Choice element)
boolean
add(Choice e)
boolean
addAll(int index, Collection<? extends Choice> c)
boolean
addAll(Collection<? extends Choice> c)
void
clear()
boolean
contains(Object o)
boolean
containsAll(Collection<?> c)
Choice
get(int index)
Candidate
getEMFCandidate()
protected List<Choice>
getInternalList()
long
getNumericID()
int
indexOf(Object o)
boolean
isEmpty()
Iterator<Choice>
iterator()
int
lastIndexOf(Object o)
ListIterator<Choice>
listIterator()
ListIterator<Choice>
listIterator(int index)
<G extends org.opt4j.core.Genotype>
GnewInstance()
Choice
remove(int index)
boolean
remove(Object o)
boolean
removeAll(Collection<?> c)
boolean
retainAll(Collection<?> c)
Choice
set(int index, Choice element)
int
size()
List<Choice>
subList(int fromIndex, int toIndex)
Object[]
toArray()
<T> T[]
toArray(T[] a)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
-
-
-
Constructor Detail
-
DesignDecisionGenotype
public DesignDecisionGenotype()
-
DesignDecisionGenotype
public DesignDecisionGenotype(Candidate emfCandidate)
-
DesignDecisionGenotype
public DesignDecisionGenotype(Candidate emfCandidate, DecisionSpace problem, DesignDecisionGenotype initialCandidateGenotype)
create new genotype. Sort choice in the order of the passed Problem.- Parameters:
emfCandidate
-
-
-
Method Detail
-
newInstance
public <G extends org.opt4j.core.Genotype> G newInstance()
- Specified by:
newInstance
in interfaceorg.opt4j.core.Genotype
-
size
public int size()
-
add
public boolean add(Choice e)
-
addAll
public boolean addAll(Collection<? extends Choice> c)
-
addAll
public boolean addAll(int index, Collection<? extends Choice> c)
-
clear
public void clear()
-
contains
public boolean contains(Object o)
-
containsAll
public boolean containsAll(Collection<?> c)
- Specified by:
containsAll
in interfaceCollection<Choice>
- Specified by:
containsAll
in interfaceList<Choice>
-
isEmpty
public boolean isEmpty()
-
lastIndexOf
public int lastIndexOf(Object o)
- Specified by:
lastIndexOf
in interfaceList<Choice>
-
listIterator
public ListIterator<Choice> listIterator()
- Specified by:
listIterator
in interfaceList<Choice>
-
listIterator
public ListIterator<Choice> listIterator(int index)
- Specified by:
listIterator
in interfaceList<Choice>
-
remove
public boolean remove(Object o)
-
removeAll
public boolean removeAll(Collection<?> c)
-
retainAll
public boolean retainAll(Collection<?> c)
-
toArray
public Object[] toArray()
-
toArray
public <T> T[] toArray(T[] a)
-
getEMFCandidate
public Candidate getEMFCandidate()
-
getNumericID
public long getNumericID()
-
-