class CalculateCluster : public feasst::Modify

Compute cluster sizes. This class is in development and may not function properly.

Public Functions

std::string header(const Criteria &criteria, const System &system, const TrialFactory &trials) const

Return the header for writing.

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

Initialize and precompute before trials.

void update(Criteria *criteria, System *system, Random *random, TrialFactory *trial_factory)

Perform update.

std::string write(Criteria *criteria, System *system, TrialFactory *trial_factory)

Perform write.

const Accumulator &cluster_size() const

Return the cluster size.