8#ifndef IMPNPCTRANSPORT_PROTOBUF_H
9#define IMPNPCTRANSPORT_PROTOBUF_H
11#include "npctransport_config.h"
14#include <boost/cstdint.hpp>
20namespace npctransport_proto {
26IMPNPCTRANSPORT_BEGIN_NAMESPACE
29IMPNPCTRANSPORTEXPORT
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
69IMPNPCTRANSPORTEXPORT
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);
114IMPNPCTRANSPORT_END_NAMESPACE
A container for Singletons.
A particle with a user-defined type.
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)
bool load_output_protobuf(std::string output_fname, ::npctransport_proto::Output &output)
void load_pb_conformation(const ::npctransport_proto::Conformation &conformation, IMP::SingletonContainerAdaptor beads, boost::unordered_map< core::ParticleType, algebra::Sphere3Ds > &sites)
void save_pb_conformation(IMP::SingletonContainerAdaptor beads, const boost::unordered_map< core::ParticleType, algebra::Sphere3Ds > &sites, ::npctransport_proto::Conformation *conformation)