cgexplore.systems_optimisation.Chromosome

class cgexplore.systems_optimisation.Chromosome(name, present_beads, vdw_bond_cutoff, prefix, gene_dict, definer_dict, chromosomed_terms)[source]

Bases: object

Define the genes and properties of a chromosome.

Methods

get_building_block_configurations

Get the chromosomes building block configuration.

get_building_blocks

Get the chromosomes building blocks.

get_forcefield

Get chromosome forcefield.

get_precursors

Get the chromosomes precursors.

get_separated_string

Get chromosome name separated by - as string.

get_string

Get chromosome name as string.

get_topology_information

Get the chromosomes topology information.

get_vertex_alignments

Get the chromosomes vertex alignments.

Attributes

Parameters:
get_building_block_configurations()[source]

Get the chromosomes building block configuration.

Return type:

tuple

get_building_blocks()[source]

Get the chromosomes building blocks.

Return type:

tuple

get_forcefield()[source]

Get chromosome forcefield.

Return type:

ForceField

get_precursors()[source]

Get the chromosomes precursors.

Return type:

tuple

get_separated_string()[source]

Get chromosome name separated by - as string.

Return type:

str

get_string()[source]

Get chromosome name as string.

Return type:

str

get_topology_information()[source]

Get the chromosomes topology information.

Return type:

tuple

get_vertex_alignments()[source]

Get the chromosomes vertex alignments.

Return type:

tuple

chromosomed_terms: dict[str, list[int]]
definer_dict: dict[str, tuple]
gene_dict: dict[int, tuple]
name: Sequence[int]
prefix: str
present_beads: Sequence[CgBead]
vdw_bond_cutoff: int