dag_node_managers

Bindings for protocols::jd3::dag_node_managers namespace

class pyrosetta.rosetta.protocols.jd3.dag_node_managers.EvenlyPartitionedNodeManager

Bases: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager

all_results_are_in(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::all_results_are_in() const –> bool

all_waste_is_discarded(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::all_waste_is_discarded() const –> bool

append_job_results_that_should_be_discarded(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, list: pyrosetta.rosetta.std.list_std_pair_unsigned_long_unsigned_long_t) None

This does not erase the list! We just add job result ids that have been eliminated from the results to keep

C++: protocols::jd3::dag_node_managers::NodeManager::append_job_results_that_should_be_discarded(class std::list<struct std::pair<unsigned long, unsigned long>, class std::allocator<struct std::pair<unsigned long, unsigned long> > > &) –> void

assign(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.EvenlyPartitionedNodeManager, : pyrosetta.rosetta.protocols.jd3.dag_node_managers.EvenlyPartitionedNodeManager) pyrosetta.rosetta.protocols.jd3.dag_node_managers.EvenlyPartitionedNodeManager

C++: protocols::jd3::dag_node_managers::EvenlyPartitionedNodeManager::operator=(const class protocols::jd3::dag_node_managers::EvenlyPartitionedNodeManager &) –> class protocols::jd3::dag_node_managers::EvenlyPartitionedNodeManager &

clear(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) None

C++: protocols::jd3::dag_node_managers::NodeManager::clear() –> void

done_submitting(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::done_submitting() const –> bool

get_next_local_jobid(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int
This class can be used to determine which job should be submitted next.

A value of 0 means that we are done submitting for this dag node

C++: protocols::jd3::dag_node_managers::NodeManager::get_next_local_jobid() –> unsigned long

get_nth_job_result_id(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, n: int) Tuple[int, int]

this has better future-proofing over results_to_keep()[ int ]. Returns {0,0} if no result

C++: protocols::jd3::dag_node_managers::NodeManager::get_nth_job_result_id(unsigned long) –> struct std::pair<unsigned long, unsigned long>

job_offset(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::job_offset() const –> unsigned long

jobs_are_still_running(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::jobs_are_still_running() –> bool

note_job_completed(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, nresults: int) None

please call this from your job queen’s note_job_completed() function

C++: protocols::jd3::dag_node_managers::NodeManager::note_job_completed(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long) –> void

num_jobs(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs() const –> unsigned long

num_jobs_completed(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs_completed() const –> unsigned long

num_jobs_submitted(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs_submitted() const –> unsigned long

num_results_to_keep(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_results_to_keep() const –> unsigned long

num_results_total(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_results_total() const –> unsigned long

register_result(*args, **kwargs)

Overloaded function.

  1. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, result_id: int, score: float) -> None

  2. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, result_id: int, score: float, partition: int) -> None

  3. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, result_id: int, score: float, partition: int, token: int) -> None

insert this result into the sorted container. Please specify which partition you want to put it in if you are not using the SimpleNodeManager

C++: protocols::jd3::dag_node_managers::NodeManager::register_result(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long, double, unsigned long, unsigned long) –> void

results_to_keep(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) pyrosetta.rosetta.utility.vector1_protocols_jd3_dag_node_managers_ResultElements

old way to access the results. get_nth_job_result_id() is prefered.

C++: protocols::jd3::dag_node_managers::NodeManager::results_to_keep() –> class utility::vector1<struct protocols::jd3::dag_node_managers::ResultElements, class std::allocator<struct protocols::jd3::dag_node_managers::ResultElements> >

set_max_num_results_with_same_token_per_partition(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, setting: int) None
Perhaps you have a diversity requirement and do not want too many results with the same token

(token can represent anything you want - as long as it can be stored as a core::Size), this setting is for you.

C++: protocols::jd3::dag_node_managers::NodeManager::set_max_num_results_with_same_token_per_partition(unsigned long) –> void

set_num_jobs(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, new_num_jobs: int) None

C++: protocols::jd3::dag_node_managers::NodeManager::set_num_jobs(unsigned long) –> void

set_return_results_depth_first(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, setting: bool) None

please refer to protocols/jd3/dag_node_managers/NodeManagerStorageMatrix.hh for more details about this option

C++: protocols::jd3::dag_node_managers::NodeManager::set_return_results_depth_first(bool) –> void

stop_early(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) None

C++: protocols::jd3::dag_node_managers::NodeManager::stop_early() –> void

stopped_early(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::stopped_early() const –> bool

class pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager

Bases: pybind11_builtins.pybind11_object

all_results_are_in(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::all_results_are_in() const –> bool

all_waste_is_discarded(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::all_waste_is_discarded() const –> bool

append_job_results_that_should_be_discarded(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, list: pyrosetta.rosetta.std.list_std_pair_unsigned_long_unsigned_long_t) None

This does not erase the list! We just add job result ids that have been eliminated from the results to keep

C++: protocols::jd3::dag_node_managers::NodeManager::append_job_results_that_should_be_discarded(class std::list<struct std::pair<unsigned long, unsigned long>, class std::allocator<struct std::pair<unsigned long, unsigned long> > > &) –> void

assign(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, : pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager

C++: protocols::jd3::dag_node_managers::NodeManager::operator=(const class protocols::jd3::dag_node_managers::NodeManager &) –> class protocols::jd3::dag_node_managers::NodeManager &

clear(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) None

C++: protocols::jd3::dag_node_managers::NodeManager::clear() –> void

done_submitting(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::done_submitting() const –> bool

get_next_local_jobid(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int
This class can be used to determine which job should be submitted next.

A value of 0 means that we are done submitting for this dag node

C++: protocols::jd3::dag_node_managers::NodeManager::get_next_local_jobid() –> unsigned long

get_nth_job_result_id(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, n: int) Tuple[int, int]

this has better future-proofing over results_to_keep()[ int ]. Returns {0,0} if no result

C++: protocols::jd3::dag_node_managers::NodeManager::get_nth_job_result_id(unsigned long) –> struct std::pair<unsigned long, unsigned long>

job_offset(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::job_offset() const –> unsigned long

jobs_are_still_running(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::jobs_are_still_running() –> bool

note_job_completed(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, nresults: int) None

please call this from your job queen’s note_job_completed() function

C++: protocols::jd3::dag_node_managers::NodeManager::note_job_completed(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long) –> void

num_jobs(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs() const –> unsigned long

num_jobs_completed(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs_completed() const –> unsigned long

num_jobs_submitted(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs_submitted() const –> unsigned long

num_results_to_keep(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_results_to_keep() const –> unsigned long

num_results_total(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_results_total() const –> unsigned long

register_result(*args, **kwargs)

Overloaded function.

  1. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, result_id: int, score: float) -> None

  2. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, result_id: int, score: float, partition: int) -> None

  3. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, result_id: int, score: float, partition: int, token: int) -> None

insert this result into the sorted container. Please specify which partition you want to put it in if you are not using the SimpleNodeManager

C++: protocols::jd3::dag_node_managers::NodeManager::register_result(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long, double, unsigned long, unsigned long) –> void

results_to_keep(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) pyrosetta.rosetta.utility.vector1_protocols_jd3_dag_node_managers_ResultElements

old way to access the results. get_nth_job_result_id() is prefered.

C++: protocols::jd3::dag_node_managers::NodeManager::results_to_keep() –> class utility::vector1<struct protocols::jd3::dag_node_managers::ResultElements, class std::allocator<struct protocols::jd3::dag_node_managers::ResultElements> >

set_max_num_results_with_same_token_per_partition(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, setting: int) None
Perhaps you have a diversity requirement and do not want too many results with the same token

(token can represent anything you want - as long as it can be stored as a core::Size), this setting is for you.

C++: protocols::jd3::dag_node_managers::NodeManager::set_max_num_results_with_same_token_per_partition(unsigned long) –> void

set_num_jobs(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, new_num_jobs: int) None

C++: protocols::jd3::dag_node_managers::NodeManager::set_num_jobs(unsigned long) –> void

set_return_results_depth_first(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, setting: bool) None

please refer to protocols/jd3/dag_node_managers/NodeManagerStorageMatrix.hh for more details about this option

C++: protocols::jd3::dag_node_managers::NodeManager::set_return_results_depth_first(bool) –> void

stop_early(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) None

C++: protocols::jd3::dag_node_managers::NodeManager::stop_early() –> void

stopped_early(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::stopped_early() const –> bool

class pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix

Bases: pybind11_builtins.pybind11_object

assign(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix, : pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix) pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::operator=(const class protocols::jd3::dag_node_managers::NodeManagerStorageMatrix &) –> class protocols::jd3::dag_node_managers::NodeManagerStorageMatrix &

clear(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix) None

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::clear() –> void

get_nth_element(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix, n: int) pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::get_nth_element(unsigned long) –> const struct protocols::jd3::dag_node_managers::ResultElements &

get_specific_element(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix, partition: int, index_within_partition: int) pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::get_specific_element(unsigned long, unsigned long) –> const struct protocols::jd3::dag_node_managers::ResultElements &

insert(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix, partition: int, new_guy: pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements) pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::insert(unsigned long, const struct protocols::jd3::dag_node_managers::ResultElements &) –> struct protocols::jd3::dag_node_managers::ResultElements

linear_vector_of_results(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix) pyrosetta.rosetta.utility.vector1_protocols_jd3_dag_node_managers_ResultElements

Freezes the dynamic arrays and appends them onto each other (using the depth-first pattern)

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::linear_vector_of_results() –> class utility::vector1<struct protocols::jd3::dag_node_managers::ResultElements, class std::allocator<struct protocols::jd3::dag_node_managers::ResultElements> >

num_partitions(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix) int

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::num_partitions() const –> unsigned long

return_results_breadth_first(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix) None

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::return_results_breadth_first() –> void

return_results_depth_first(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix) None

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::return_results_depth_first() –> void

set_max_num_results_with_same_token_per_partition(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix, setting: int) None
Perhaps you have a diversity requirement and do not want too many results with the same token

(token can represent anything you want - as long as it can be stored as a uint64_t), this setting is for you.

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::set_max_num_results_with_same_token_per_partition(unsigned long) –> void

set_return_results_depth_first(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManagerStorageMatrix, setting: bool) None

Consider example at the top of this file to learn more about this option

C++: protocols::jd3::dag_node_managers::NodeManagerStorageMatrix::set_return_results_depth_first(bool) –> void

class pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements

Bases: pybind11_builtins.pybind11_object

assign(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements, : pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements) pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements

Assignment operator.

C++: protocols::jd3::dag_node_managers::ResultElements::operator=(const struct protocols::jd3::dag_node_managers::ResultElements &) –> struct protocols::jd3::dag_node_managers::ResultElements &

property global_job_id
job_result_id(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.ResultElements) Tuple[int, int]

C++: protocols::jd3::dag_node_managers::ResultElements::job_result_id() const –> struct std::pair<unsigned long, unsigned long>

property local_result_id
property score
property token
class pyrosetta.rosetta.protocols.jd3.dag_node_managers.SimpleNodeManager

Bases: pyrosetta.rosetta.protocols.jd3.dag_node_managers.EvenlyPartitionedNodeManager

all_results_are_in(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::all_results_are_in() const –> bool

all_waste_is_discarded(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::all_waste_is_discarded() const –> bool

append_job_results_that_should_be_discarded(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, list: pyrosetta.rosetta.std.list_std_pair_unsigned_long_unsigned_long_t) None

This does not erase the list! We just add job result ids that have been eliminated from the results to keep

C++: protocols::jd3::dag_node_managers::NodeManager::append_job_results_that_should_be_discarded(class std::list<struct std::pair<unsigned long, unsigned long>, class std::allocator<struct std::pair<unsigned long, unsigned long> > > &) –> void

assign(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.SimpleNodeManager, : pyrosetta.rosetta.protocols.jd3.dag_node_managers.SimpleNodeManager) pyrosetta.rosetta.protocols.jd3.dag_node_managers.SimpleNodeManager

C++: protocols::jd3::dag_node_managers::SimpleNodeManager::operator=(const class protocols::jd3::dag_node_managers::SimpleNodeManager &) –> class protocols::jd3::dag_node_managers::SimpleNodeManager &

clear(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) None

C++: protocols::jd3::dag_node_managers::NodeManager::clear() –> void

done_submitting(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::done_submitting() const –> bool

get_next_local_jobid(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int
This class can be used to determine which job should be submitted next.

A value of 0 means that we are done submitting for this dag node

C++: protocols::jd3::dag_node_managers::NodeManager::get_next_local_jobid() –> unsigned long

get_nth_job_result_id(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, n: int) Tuple[int, int]

this has better future-proofing over results_to_keep()[ int ]. Returns {0,0} if no result

C++: protocols::jd3::dag_node_managers::NodeManager::get_nth_job_result_id(unsigned long) –> struct std::pair<unsigned long, unsigned long>

job_offset(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::job_offset() const –> unsigned long

jobs_are_still_running(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::jobs_are_still_running() –> bool

note_job_completed(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, nresults: int) None

please call this from your job queen’s note_job_completed() function

C++: protocols::jd3::dag_node_managers::NodeManager::note_job_completed(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long) –> void

num_jobs(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs() const –> unsigned long

num_jobs_completed(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs_completed() const –> unsigned long

num_jobs_submitted(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_jobs_submitted() const –> unsigned long

num_results_to_keep(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_results_to_keep() const –> unsigned long

num_results_total(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) int

C++: protocols::jd3::dag_node_managers::NodeManager::num_results_total() const –> unsigned long

register_result(*args, **kwargs)

Overloaded function.

  1. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.SimpleNodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, local_result_id: int, score: float, : int, token: int) -> None

override of NodeManager::register_result() so that the partition argument will always be 1.

C++: protocols::jd3::dag_node_managers::SimpleNodeManager::register_result(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long, double, unsigned long, unsigned long) –> void

  1. register_result(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.SimpleNodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, local_result_id: int, score: float) -> None

C++: protocols::jd3::dag_node_managers::SimpleNodeManager::register_result(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long, double) –> void

register_result_with_token(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.SimpleNodeManager, global_job_id: pyrosetta.rosetta.utility.StrongT_unsigned_long_protocols_jd3_GlobalJobID__t, local_result_id: int, score: float, token: int) None

C++: protocols::jd3::dag_node_managers::SimpleNodeManager::register_result_with_token(struct utility::StrongT<unsigned long, struct protocols::jd3::GlobalJobID_>, unsigned long, double, unsigned long) –> void

results_to_keep(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) pyrosetta.rosetta.utility.vector1_protocols_jd3_dag_node_managers_ResultElements

old way to access the results. get_nth_job_result_id() is prefered.

C++: protocols::jd3::dag_node_managers::NodeManager::results_to_keep() –> class utility::vector1<struct protocols::jd3::dag_node_managers::ResultElements, class std::allocator<struct protocols::jd3::dag_node_managers::ResultElements> >

set_max_num_results_with_same_token_per_partition(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, setting: int) None
Perhaps you have a diversity requirement and do not want too many results with the same token

(token can represent anything you want - as long as it can be stored as a core::Size), this setting is for you.

C++: protocols::jd3::dag_node_managers::NodeManager::set_max_num_results_with_same_token_per_partition(unsigned long) –> void

set_num_jobs(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, new_num_jobs: int) None

C++: protocols::jd3::dag_node_managers::NodeManager::set_num_jobs(unsigned long) –> void

set_return_results_depth_first(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager, setting: bool) None

please refer to protocols/jd3/dag_node_managers/NodeManagerStorageMatrix.hh for more details about this option

C++: protocols::jd3::dag_node_managers::NodeManager::set_return_results_depth_first(bool) –> void

stop_early(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) None

C++: protocols::jd3::dag_node_managers::NodeManager::stop_early() –> void

stopped_early(self: pyrosetta.rosetta.protocols.jd3.dag_node_managers.NodeManager) bool

C++: protocols::jd3::dag_node_managers::NodeManager::stopped_early() const –> bool

pyrosetta.rosetta.protocols.jd3.dag_node_managers.determine_num_for_partition(num_partitions: int, num_results_to_keep: int, return_empty_array_if_0: bool) pyrosetta.rosetta.utility.vector1_unsigned_long

///

C++: protocols::jd3::dag_node_managers::determine_num_for_partition(const unsigned long, const unsigned long, bool) –> class utility::vector1<unsigned long, class std::allocator<unsigned long> >