Interface Candidates
- All Known Implementing Classes:
CandidatesImpl
A representation of the model object 'Candidates'.
Candidates is the root element for specifying a set of solutions of the optimisation (or also any other candidate architecture). It contains one Candidate for each found solution.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Candidate' containment reference list.Returns the value of the 'Problem' reference.boolean
numberOfChoicesMustEqualNumberOfDecisions
(DiagnosticChain diagnostics, Map<Object, Object> context) self.candidate->forAll( c | c.choices->size() = self.problem.designdecision->size())void
setProblem
(DecisionSpace value) Sets the value of the 'Problem
' reference.Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getCandidate
Returns the value of the 'Candidate' containment reference list. The list contents are of typeCandidate
.If the meaning of the 'Candidate' containment reference list isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Candidate' containment reference list.
- See Also:
- Generated class or method.
- EMF model class or method.
- containment="true" ordered="false"
-
getProblem
DecisionSpace getProblem()Returns the value of the 'Problem' reference.If the meaning of the 'Problem' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Problem' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setProblem
Sets the value of the 'Problem
' reference.- Parameters:
value
- the new value of the 'Problem' reference.- See Also:
- Generated class or method.
-
numberOfChoicesMustEqualNumberOfDecisions
boolean numberOfChoicesMustEqualNumberOfDecisions(DiagnosticChain diagnostics, Map<Object, Object> context) self.candidate->forAll( c | c.choices->size() = self.problem.designdecision->size())- Parameters:
diagnostics
- The chain of diagnostics to which problems are to be appended.context
- The cache of context-specific information.- Generated class or method.
- EMF model class or method.
-