bagel.mutation.GrandCanonical.
In that type of simulation when adding a new residues, the “inheritable” attribute decides whether or not
the new residue will be added to the residues for which this term is calculated. In general, a new residue
inherits all energy terms of one of its neighbours (chosen randomly to be the left or right neighbour),
if these terms are inheritable.
Definition
The total energy of a state is the weighted sum of all its energy terms:- is the energy of state
- is the weight of energy term in state
- is the unweighted energy of term
- is the set of chains in state
Parameters
The name of the energy term.
The oracle to use for the energy term.
Whether the energy term is inheritable.
The weight of the energy term.
Methods
compute
Calculates the EnergyTerm’s energy given information about the folded structure. The result is returned and stored as an internal attribute (.value). ParametersDictionary mapping oracles to their results. This is used to get the relevant information for the energy term.
How well the structure satisfies the given criteria. Where possible, this number should be between 0 and 1.
The unweighted energy multiplied by the energy term’s weight.
