Stochastic Object
bigsmiles.data_structures.bigsmiles.StochasticObject(id_, parent, **kwargs)
¶
this class is represents a stochastic object
PARAMETER | DESCRIPTION |
---|---|
id_ |
id of bond (id is limited to bonds). Range: [1, inf]
TYPE:
|
parent |
the owner of the atom
TYPE:
|
kwargs |
any additional keyword arguments are accepted and set as additional attributes
DEFAULT:
|
aromatic: bool
property
¶
limited accuracy
bond_left: Bond | None
property
writable
¶
bond leaving the left of the stochastic object
bond_right: Bond | None
property
writable
¶
bond leaving the right of the stochastic object
bonds: list[Bond]
property
¶
bonds entering the left and right
details: str
property
¶
long string representation
implicit_endgroups: bool
property
¶
Returns true if one or more are implicit
in_stochastic_object: bool
property
¶
returns True as it is the stochastic object
root: BigSMILES
property
¶
the owner at the top of the parent tree
__eq__(other)
¶
equality is determining all nodes and bonding descriptors are equal