class hplattice.LatticeFactory(chain_cls=<class 'hplattice.Chain.Chain'>, replica_cls=<class 'hplattice.Replica.Replica'>, monty_cls=<class 'hplattice.Monty.Monty'>, trajectory_cls=<class 'hplattice.Trajectory.Trajectory'>, conf_cls=<class 'hplattice.Config.Config'>)[source]

LatticeFactory objects orchestrate the creation of other objects in the HP model, namely chains, replicas, monte carlo samplers, trajectories, and configurations.

  • chain_cls (callable) – optional, chain class
  • replica_cls (callable) – optional, replica class
  • monty_cls (callable) – optional, monte carlo sampler class
  • trajectory_cls (callable) – optional, trajectory class
  • conf_cls (callable) – optional, HP configuration class
make_chain(*args, **kwargs)[source]

Make a chain object.

make_configuration(*args, **kwargs)[source]

Make a configuration object.

make_monty(*args, **kwargs)[source]

Make a monte carlo sampler object.

make_replica(*args, **kwargs)[source]

Make a replica object.

make_trajectory(*args, **kwargs)[source]

Make a trajectory object.