|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ALDParametrizedClass public interface MTBSnakeEnergyCoupled
Super class for energies working simultaneously on multiple snakes.
Method Summary | |
---|---|
boolean |
initEnergy(SnakeOptimizerCoupled o)
Init routine which is called once before the energy is actually used. |
boolean |
requiresCounterClockwiseContourSorting()
Ask energy if contour points need to sorted counter-clockwise. |
boolean |
requiresOverlapMask()
Ask energy if an overlap mask for all snakes jointly optimized is required. |
void |
updateStatus(SnakeOptimizerCoupled o)
Update internal state of energy object prior to querying derivatives and so on. |
Method Detail |
---|
boolean initEnergy(SnakeOptimizerCoupled o) throws MTBSnakeException
In this routine global parameter settings can be handled or other initialization stuff be done. Snake optimizers are supposed to call this routine once before they actual use of the energy. If no stuff needs to be done in advance the routine should at least return true.
o
- Calling snake optimizer.
MTBSnakeException
void updateStatus(SnakeOptimizerCoupled o) throws MTBSnakeException
MTBSnakeException
boolean requiresCounterClockwiseContourSorting()
boolean requiresOverlapMask()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |