stk.CrossoverRecord
- class stk.CrossoverRecord(molecule_record, crosser_name)[source]
Bases:
Generic
[T
]Abstract base class for a record of a crossover operation.
Notes
You might notice that the public methods of this abstract base class are implemented. This is just a default implementation, which can be used directly by users and subclasses, but can also be freely replaced during subclass implementation, if need be.
- Parameters:
molecule_record (T) – The molecule produced by the crossover operation.
crosser_name (str) – The name of the crosser which carried out the crossover.
Methods
Get the name of the crosser which carried out the crossover.
Get the molecule record produced by the crossover.