8 #ifndef IMPNPCTRANSPORT_PROTOBUF_H
9 #define IMPNPCTRANSPORT_PROTOBUF_H
11 #include "npctransport_config.h"
14 #include <boost/cstdint.hpp>
20 namespace npctransport_proto {
26 IMPNPCTRANSPORT_BEGIN_NAMESPACE
29 IMPNPCTRANSPORTEXPORT
void show_ranges(std::string fname);
64 std::string input_config_fname, std::string output_assignment_fname,
unsigned int work_unit,
66 boost::uint64_t random_seed
69 IMPNPCTRANSPORTEXPORT
int get_number_of_work_units(
70 std::string configuration_file);
89 ( const ::npctransport_proto::Conformation &conformation,
91 boost::unordered_map<core::ParticleType, algebra::Sphere3Ds> &sites);
105 const boost::unordered_map<core::ParticleType, algebra::Sphere3Ds> &sites,
106 ::npctransport_proto::Conformation *conformation );
111 ::npctransport_proto::Output& output);
114 IMPNPCTRANSPORT_END_NAMESPACE
A container for Singletons.
int assign_ranges(std::string input_config_fname, std::string output_assignment_fname, unsigned int work_unit, bool show_steps, boost::uint64_t random_seed)
void load_pb_conformation(const ::npctransport_proto::Conformation &conformation, IMP::SingletonContainerAdaptor beads, boost::unordered_map< core::ParticleType, algebra::Sphere3Ds > &sites)
A particle with a user-defined type.
void save_pb_conformation(IMP::SingletonContainerAdaptor beads, const boost::unordered_map< core::ParticleType, algebra::Sphere3Ds > &sites,::npctransport_proto::Conformation *conformation)
bool load_output_protobuf(std::string output_fname,::npctransport_proto::Output &output)