|
| const double | get () |
| | return the weighting of the current frame
|
| |
| const double | get (const uint index) |
| | return the weight of the index
|
| |
| void | normalize () |
| | Normalize weights using length of traj.
|
| |
| void | accumulate () |
| | Accumulate the 'weight' used so far.
|
| |
| void | accumulate (const uint index) |
| |
| const double | operator() () |
| | calling nomenclature wraps get
|
| |
| const double | operator() (const uint index) |
| | ignore the index, frame weights are constant.
|
| |
| std::vector< double > | weights () |
| | return a vector with the number of weights in it
|
| |
|
| UniformWeight (pTraj &traj) |
| |
| virtual void | addTraj (pTraj &traj) |
| | bind the provided pTraj to this instance of Weights
|
| |
|
virtual void | set (double newWeight) |
| | Bind a new weight to the current frame.
|
| |
|
virtual void | set (double newWeight, const uint index) |
| | Bind a new weight to a particular frame.
|
| |
|
virtual uint | size () |
| | Return the number of weights.
|
| |
|
virtual const double | totalWeight () |
| | Return the totalWeight, as tracked using accumulate.
|
| |
|
virtual const double | trajWeight () |
| | Return the weight of the current trajectory.
|
| |
|
virtual void | operator() (double newWeight) |
| | binding nomenclature wraps set
|
| |
|
virtual void | operator() (double newWeight, const uint index) |
| |
|
virtual void | operator() (std::vector< double > &newWeights) |
| | set all weights from passed vector
|
| |
|
| Weights (const std::vector< double > &weightsvec, pTraj &traj) |
| |
|
| Weights (const std::vector< double > &weightsvec) |
| |
| | Weights (pTraj &traj) |
| |
|
|
uint | current_frame |
| |
|
uint | current_frame |
| |
|
|
std::vector< double > | _weights |
| |
|
pTraj | _traj |
| |
|
uint | _num_weights |
| |
|
double | _total |
| |
|
double | _totalTraj |
| |
◆ accumulate() [1/2]
| void loos::UniformWeight::accumulate |
( |
| ) |
|
|
virtual |
Accumulate the 'weight' used so far.
Reimplemented from loos::Weights.
◆ accumulate() [2/2]
| void loos::UniformWeight::accumulate |
( |
const uint | index | ) |
|
|
virtual |
accumulate the 'weight' used so far. Do nothing with index, because weights are constant.
Reimplemented from loos::Weights.
◆ get() [1/2]
| const double loos::UniformWeight::get |
( |
| ) |
|
|
virtual |
return the weighting of the current frame
Reimplemented from loos::Weights.
◆ get() [2/2]
| const double loos::UniformWeight::get |
( |
const uint | index | ) |
|
|
virtual |
◆ normalize()
| void loos::UniformWeight::normalize |
( |
| ) |
|
|
virtual |
Normalize weights using length of traj.
Reimplemented from loos::Weights.
◆ operator()() [1/2]
| const double loos::UniformWeight::operator() |
( |
| ) |
|
|
virtual |
◆ operator()() [2/2]
| const double loos::UniformWeight::operator() |
( |
const uint | index | ) |
|
|
virtual |
ignore the index, frame weights are constant.
Reimplemented from loos::Weights.
◆ weights()
| std::vector< double > loos::UniformWeight::weights |
( |
| ) |
|
|
virtual |
return a vector with the number of weights in it
Reimplemented from loos::Weights.
The documentation for this class was generated from the following files: