14 #ifndef INCLUDED_core_pack_interaction_graph_SymmLinMemInteractionGraph_hh
15 #define INCLUDED_core_pack_interaction_graph_SymmLinMemInteractionGraph_hh
23 #include <ObjexxFCL/FArray3D.hh>
25 #include <utility/vector1.hh>
26 #include <utility/recent_history_queue.hh>
31 namespace interaction_graph {
50 virtual void print()
const;
75 {
return rhq_.head_of_queue(); }
109 int edge_to_altered_neighbor,
111 int other_node_new_state,
112 int other_node_recent_history_index
117 int edge_to_altered_neighbor,
118 int other_node_new_state,
119 int other_state_recent_history_index
163 utility::recent_history_queue
rhq_;
214 int bumped_recent_history_index,
215 int new_state_recent_history_index,
223 int bumped_recent_history_index,
224 int new_state_recent_history_index
232 int recent_history_id
238 int changing_node_index,
240 int alternate_state_recent_history_index,
241 int other_node_curr_state,
242 int other_node_state_recent_history_index
247 int substituted_node_index,
250 int bumped_recent_history_index,
251 int new_state_recent_history_index,
252 int neighbors_curr_state
278 int node_substituted,
279 int node_not_substituted,
280 int bumped_recent_history_index
285 void wipe(
int node );
448 int substituted_node_index,
451 int bumped_recent_history_index,
452 int new_state_recent_history_index,
453 int neighbors_curr_state
456 int node_substituted = substituted_node_index ==
get_node_index(0) ? 0 : 1;
457 int node_not_substituted = ! node_substituted;
461 node_not_substituted,
462 bumped_recent_history_index );
465 if ( neighbors_curr_state != 0 ) {
467 ( neighbors_curr_state, new_state_recent_history_index ) =
472 acknowledge_neighbors_state_substitution
477 new_state_recent_history_index
486 int edge_to_altered_neighbor,
488 int other_node_new_state,
489 int other_node_recent_history_index
494 curr_state_two_body_energies_[ edge_to_altered_neighbor ] = new_edge_energy;
497 other_node_recent_history_index;