Class CAAMInitializeStegmann.CAAMInitCandidates
java.lang.Object
gov.nih.mipav.view.renderer.WildMagic.AAM.CAAMInitializeStegmann.CAAMInitCandidates
- Enclosing class:
CAAMInitializeStegmann
Initialization candidate containiner. Holds the 'n' best candidates that
has applieed for acceptance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate intmax candidate number.initial entry vector. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanApply for acceptance of a new initialization hypothesis.Candidate(int i) int
-
Field Details
-
m_iNMaxCand
private int m_iNMaxCandmax candidate number. -
m_vInitEntries
initial entry vector.
-
-
Constructor Details
-
CAAMInitCandidates
public CAAMInitCandidates(int n) Allocates a pool with room for 'n' candidates.- Parameters:
n- The number of candidates.
-
-
Method Details
-
ApplyForAcceptance
Apply for acceptance of a new initialization hypothesis. The entry are accepted if it is better than the worst candiate, or if there is less than 'n' candidates in the set.- Parameters:
e- The seach result, which is applieing for acceptance.- Returns:
- True if it is accepted, false if not.
-
NCandidates
public int NCandidates() -
Candidate
-