Transition mask holding a target mask and a proportion, used to disturb a development in a transition.
More...
|
| | FMTTransitionMask () |
| | Default constructor for FMTTransitionMask.
|
| |
| | ~FMTTransitionMask ()=default |
| | Default destructor for FMTTransitionMask.
|
| |
| | FMTTransitionMask (const std::string &lmask, const std::vector< FMTTheme > &themes, const double &lproportion) |
| | Construct a transition mask from a mask string, the themes and a proportion.
|
| |
| FMTMask | trans (const FMTMask &p_baseMask, const std::vector< FMTTheme > &p_themes) const |
| | Apply the transition mask to a base mask.
|
| |
| | FMTTransitionMask (const FMTTransitionMask &rhs) |
| | Copy constructor for FMTTransitionMask.
|
| |
| | FMTTransitionMask (const FMTTransitionMask &rhs, const FMTMask &lmask, const std::vector< FMTTheme > &themes) |
| | Construct a transition mask from another transition mask, a mask and the themes.
|
| |
| FMTTransitionMask & | operator= (const FMTTransitionMask &rhs) |
| | Copy assignment operator for FMTTransitionMask.
|
| |
| FMTDevelopmentPath | disturb (const Core::FMTDevelopment &dev, const FMTYields &yields, const std::vector< FMTTheme > &themes, const bool &reset_age) const |
| | Disturb a development using the transition mask.
|
| |
| std::map< std::string, std::string > | get (const std::vector< FMTTheme > &themes) const |
| | Return the transition mask as a map of theme name to attribute.
|
| |
| bool | operator== (const FMTTransitionMask &rhs) const |
| | Equality comparison operator of FMTTransitionMask.
|
| |
| double | getProportion () const |
| | Return the proportion of the transition mask.
|
| |
| FMTMask | getMask () const |
| | Return the mask of the transition mask.
|
| |
| const FMTMask & | getMaskReference () const |
| | Return the reference mask of the transition mask.
|
| |
| void | setMask (const Core::FMTMask &mtmask) |
| | Set the mask of the transition mask.
|
| |
| void | setProportion (double newproportion) |
| | Set the proportion of the transition mask.
|
| |
| FMTTransitionMask | preSolve (const FMTMaskFilter &filter, const std::vector< FMTTheme > &presolvedthemes) const |
| | Return a presolved copy of the transition mask.
|
| |
| void | preSolveRef (const FMTMaskFilter &filter, const std::vector< FMTTheme > &presolvedthemes) |
| | Presolve the transition mask in place.
|
| |
| | operator std::string () const override |
| | Return the string representation of the transition mask.
|
| |
| | FMTMaskFilter () |
| | Default constructor for FMTMaskFilter.
|
| |
| virtual | ~FMTMaskFilter ()=default |
| | Default virtual destructor for FMTMaskFilter.
|
| |
| | FMTMaskFilter (const FMTMaskFilter &rhs) |
| | Copy constructor for FMTMaskFilter.
|
| |
| FMTMaskFilter & | operator= (const FMTMaskFilter &rhs) |
| | Copy assignment operator for FMTMaskFilter.
|
| |
| | FMTMaskFilter (const FMTMask &presolveselection, const FMTMask &buffermask) |
| | Construct a filter from a preSolve selection mask and a buffer mask.
|
| |
| | FMTMaskFilter (const FMTMask &presolveselection) |
| | Construct a filter from a preSolve selection mask.
|
| |
| | FMTMaskFilter (std::vector< FMTMask > &masks) |
| | Construct a filter from a vector of masks.
|
| |
| | FMTMaskFilter (std::vector< FMTMask > &masks, const std::vector< FMTTheme > &themes) |
| | Construct a filter from a vector of masks and the themes.
|
| |
| FMTMask | filter (const FMTMask &devmask) const |
| | Filter a development mask.
|
| |
| void | swap (FMTMaskFilter &rhs) |
| | Swap this filter with another.
|
| |
| FMTMaskFilter | preSolve (const std::vector< FMTTheme > &themes) const |
| | Return a presolved copy of the filter.
|
| |
| bool | canPreSolve (const FMTMask &mask, const std::vector< const Core::FMTTheme * > &themes) const |
| | Return true if the mask can be presolved with the filter.
|
| |
| std::vector< const Core::FMTTheme * > | getSelectedThemes (const std::vector< Core::FMTTheme > &themes) const |
| | Return the themes selected by the filter.
|
| |
| bool | emptyFlipped () const |
| | Return true if the flipped selection is empty.
|
| |
| bool | empty () const |
| | Return true if the selection is empty.
|
| |
| size_t | hash () const |
| | Return the hash of the filter.
|
| |
Transition mask holding a target mask and a proportion, used to disturb a development in a transition.