|
HOPS
HOPS class reference
|
Class MHO_MinWeight. More...
#include <MHO_MinWeight.hh>
Public Member Functions | |
| MHO_MinWeight () | |
| virtual | ~MHO_MinWeight () |
| void | SetMinWeight (double min_weight) |
| Setter for min weight. More... | |
Public Member Functions inherited from hops::MHO_UnaryOperator< weight_type > | |
| MHO_UnaryOperator () | |
| virtual | ~MHO_UnaryOperator () |
| virtual bool | Execute () override |
| Executes operation using provided arguments and return type. More... | |
| virtual bool | Execute () override=0 |
| Function Execute. More... | |
| virtual bool | Initialize () override |
| Initializes the system using in-place or out-of-place arguments. More... | |
| virtual bool | Initialize () override=0 |
| Function Initialize. More... | |
| MHO_Operator () | |
| void | SetArgs (const weight_type *in, weight_type *out) |
| Setter for args. More... | |
| void | SetArgs (weight_type *in) |
| Setter for args. More... | |
Public Member Functions inherited from hops::MHO_Operator | |
| MHO_Operator () | |
| virtual | ~MHO_Operator () |
| std::string | GetName () const |
| Getter for operator name. More... | |
| double | Priority () const |
| Get the the priority field value. More... | |
| void | SetName (std::string name) |
| Setter for operator name. More... | |
| void | SetPriority (double priority) |
| Setter for operator priority (determines order of execution within a operator category) More... | |
Protected Member Functions | |
| virtual bool | ExecuteInPlace (weight_type *in) override |
| Zeroes out weights in-place for all values less than a specified minimum. More... | |
Protected Member Functions inherited from hops::MHO_UnaryOperator< weight_type > | |
| virtual bool | ExecuteOutOfPlace (const weight_type *in, weight_type *out) |
| virtual bool | InitializeInPlace (weight_type *) |
| virtual bool | InitializeOutOfPlace (const weight_type *, weight_type *) |
Additional Inherited Members | |
Protected Attributes inherited from hops::MHO_UnaryOperator< weight_type > | |
| bool | fInPlace |
| std::tuple< weight_type * > | fInPlaceArgs |
| std::tuple< const weight_type *, weight_type * > | fOutOfPlaceArgs |
| hops::MHO_MinWeight::MHO_MinWeight | ( | ) |
|
virtual |
|
overrideprotectedvirtual |
Zeroes out weights in-place for all values less than a specified minimum.
| in | Input weight array to be modified in-place. |
Implements hops::MHO_UnaryOperator< weight_type >.
|
inline |
Setter for min weight.
| min_weight | the minimum allowed weight value |