10 #ifndef MMPARAMETRIZATION_FRAGMENTDATADISTRIBUTOR_H
11 # define MMPARAMETRIZATION_FRAGMENTDATADISTRIBUTOR_H
14 namespace MMParametrization {
15 struct ParametrizationData;
67 bool fragmentIsCoveredByData(
const std::vector<int>& candidates,
bool refineConnectivity,
68 const std::vector<int>& failedCalculations)
const;
73 bool fragmentIsHopeless(
const std::vector<int>& candidates,
const std::vector<int>& failedCalculations)
const;
81 #endif // MMPARAMETRIZATION_FRAGMENTDATADISTRIBUTOR_H
bool referenceDataIsSufficient(bool refineConnectivity, std::vector< int > failedCalculations={}) const
Checks whether the reference data that has already been collected is sufficient to perform the parame...
Definition: FragmentDataDistributor.cpp:17
This class handles the distribution of the available data for the parameter optimization. This mainly includes the task of providing a list of candidate fragments from which to take reference data for the parameters associated with a given atom.
Definition: FragmentDataDistributor.h:23
std::vector< int > getCandidateFragments(int fragmentIndex) const
Returns the indices of candidate fragments to get the data from for the given fragment index 'fragmen...
Definition: FragmentDataDistributor.cpp:84
FragmentDataDistributor(ParametrizationData &data)
Constructor.
Definition: FragmentDataDistributor.cpp:14
void updateCandidateFragmentsWithThirdShellNeighbors(int fragmentIndex, std::vector< int > &listOfCandidates) const
Updates a given list of candidate fragments with third shell neighboring atoms (neighbors of neighbor...
Definition: FragmentDataDistributor.cpp:105
This struct holds all objects used inside the MM parametrization algorithm.
Definition: ParametrizationData.h:28
void updateCandidateFragments(int fragmentIndex, std::vector< int > &listOfCandidates) const
Updates a given list of candidate fragments to get the data from for the given fragment index 'fragme...
Definition: FragmentDataDistributor.cpp:90