IMP  2.0.0
The Integrative Modeling Platform
interactive.h
Go to the documentation of this file.
1 /**
2  * \file IMP/domino/interactive.h
3  * \brief Functions to get report statistics about the used attributes.
4  *
5  * Copyright 2007-2013 IMP Inventors. All rights reserved.
6  */
7 
8 #ifndef IMPDOMINO_INTERACTIVE_H
9 #define IMPDOMINO_INTERACTIVE_H
10 
11 #include <IMP/domino/domino_config.h>
12 #include "Assignment.h"
13 #include "Subset.h"
14 #include "subset_filters.h"
15 #include "assignment_containers.h"
16 #include <IMP/Particle.h>
17 #include <IMP/SingletonContainer.h>
18 #include <IMP/RestraintSet.h>
19 #include <IMP/Model.h>
20 #include <IMP/core/internal/CoreClosePairContainer.h>
21 #include <IMP/display/Writer.h>
22 #include <IMP/dependency_graph.h>
24 
25 #ifdef IMP_DOMINO_USE_IMP_RMF
26 #include <RMF/HDF5/Group.h>
27 #endif
28 
29 
30 IMPDOMINO_BEGIN_NAMESPACE
31 
32 
33  //! Fill in assignments for a leaf
34 IMPDOMINOEXPORT void load_leaf_assignments(const Subset& subset,
35  AssignmentsTable *at,
36  AssignmentContainer *ac);
37 
38  //! Fill in assignments for an internal node
39  /** The passed assignments, the ordering for the children is that of
40  the node indexes for the children.
41  */
42 IMPDOMINOEXPORT void load_merged_assignments(const Subset &first_subset,
43  AssignmentContainer* first,
44  const Subset &second_subset,
45  AssignmentContainer* second,
47  &filters,
48  AssignmentContainer* ret);
49 
50  //! Sample from the merged assignments.
51  /** The passed assignments, the ordering for the children is that of
52  the node indexes for the children.
53 
54  It will try maximum_tries times to merge an assignment from the first
55  set with a randomly chosen assignment from the second. Note that duplicate
56  solutions may be present in the output and the output will never be
57  guaranteed to be complete.
58 
59  \unstable{load_sampled_merged_assignments}
60  */
61 IMPDOMINOEXPORT void
62 load_merged_assignments_random_order(const Subset &first_subset,
63  AssignmentContainer* first,
64  const Subset &second_subset,
65  AssignmentContainer* second,
67  &filters,
68  unsigned int maximum_tries,
69  AssignmentContainer* ret);
70 
71 
72 IMPDOMINO_END_NAMESPACE
73 
74 #endif /* IMPDOMINO_INTERACTIVE_H */