Interface Candidates
-
- All Known Implementing Classes:
CandidatesImpl
public interface Candidates extends EObject
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:
designdecisionPackage.getCandidates()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EList<Candidate>
getCandidate()
Returns the value of the 'Candidate' containment reference list.DecisionSpace
getProblem()
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 Detail
-
getCandidate
EList<Candidate> 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:
designdecisionPackage.getCandidates_Candidate()
- 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:
setProblem(DecisionSpace)
,designdecisionPackage.getCandidates_Problem()
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setProblem
void setProblem(DecisionSpace value)
Sets the value of the 'Problem
' reference.- Parameters:
value
- the new value of the 'Problem' reference.- See Also:
getProblem()
- 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.
-
-