16 #ifndef INCLUDED_core_pack_interaction_graph_DoubleDensePDInteractionGraph_hh
17 #define INCLUDED_core_pack_interaction_graph_DoubleDensePDInteractionGraph_hh
32 #include <ObjexxFCL/FArray1D.hh>
33 #include <ObjexxFCL/FArray2D.hh>
35 #include <ObjexxFCL/FArray2.hh>
40 namespace interaction_graph {
42 class DoubleDensePDNode;
43 class DoubleDensePDEdge;
44 class DoubleDensePDInteractionGraph;
51 virtual void print()
const;
91 int edge_to_altered_neighbor,
93 int other_node_new_state);
211 int first_node_state,
212 int second_node_state,
213 ObjexxFCL::FArray2< core::PackerEnergy > & edge_energy_table
217 int substituted_node_index,
394 int edge_to_altered_neighbor,
396 int other_node_new_state
402 curr_state_two_body_energies_[edge_to_altered_neighbor] = new_edge_energy;
418 int first_node_state,
419 int second_node_state,
420 ObjexxFCL::FArray2< core::PackerEnergy > & edge_energy_table
423 if (first_node_state == 0 || second_node_state == 0) {
426 return edge_energy_table( second_node_state, first_node_state );
441 int substituted_node_index,
446 int node_substituted = substituted_node_index ==
get_node_index(0) ? 0 : 1;
447 int node_not_substituted = ! node_substituted;
452 acknowledge_neighbors_state_substitution