class AnalyzeFactory : public feasst::Analyze

Contains multiple Analyze objects.

Subclassed by feasst::LogAndMovie

Public Functions

void initialize(Criteria *criteria, System *system, TrialFactory *trial_factory)

Initialize and precompute before trials.

void add(std::shared_ptr<Analyze> analyze)

Add an Analyze object.

void remove(const int index)

Remove an Analyze object.

int num() const

Return the number.

const std::vector<std::shared_ptr<Analyze>> &analyzers() const

Return the Analyze objects.

const Analyze &analyze(const int index) const

Return an Analyze object by index.

void write_to_file(const Criteria &criteria, const System &system, const TrialFactory &trial_factory)

Write all Analyze immediately.

void adjust_bounds(const bool adjusted_up, const std::vector<int> &states, AnalyzeFactory *analyze_factory)

For use with CollectionMatrixSplice, transfer multistate between threads.

void trial(const Criteria &criteria, const System &system, const TrialFactory &trial_factory)

Check every trial if action is to be performed.