openpathsampling.high_level.network.TPSNetwork
- class openpathsampling.high_level.network.TPSNetwork(initial_states, final_states, allow_self_transitions=False)[source]
Class for flexible pathlength TPS networks (2-state or multiple state).
Methods
__init__
(initial_states, final_states[, ...])args
()Return a list of args of the __init__ function of a class
base
()Return the most parent class actually derived from StorableObject
count_weaks
()Return number of objects subclassed from StorableObject still in memory
descendants
()Return a list of all subclassed objects
fix_name
()Set the objects name to be immutable.
from_dict
(dct)Reconstruct an object from a dictionary representaiton
from_state_pairs
(state_pairs[, ...])from_states_all_to_all
(states[, ...])get_uuid
()idx
(store)Return the index which is used for the object in the given store.
named
(name)Name an unnamed object.
objects
()Returns a dictionary of all storable objects
reverse_uuid
()ruuid
(uid)set_observer
(active)(De-)Activate observing creation of storable objects
to_dict
()Convert object into a dictionary representation
Attributes
ACTIVE_LONG
CREATION_COUNT
INSTANCE_UUID
all_ensembles
All ensembles in the sampling transitions, including special ensembles.
all_states
list of all initial and final states
analysis_ensembles
Ensembles from the analysis transitions, excluding special ensembles.
base_cls
Return the base class
base_cls_name
Return the name of the base class
cls
Return the class name as a string
default_name
Return the default name.
is_named
True if this object has a custom name.
name
Return the current name of the object.
observe_objects
sampling_ensembles
Ensembles from the sampling transitions, excluding special ensembles.
sampling_transitions
The transitions used in sampling