20 #ifndef INCLUDED_core_pack_interaction_graph_DensePDInteractionGraph_hh
21 #define INCLUDED_core_pack_interaction_graph_DensePDInteractionGraph_hh
36 #include <ObjexxFCL/FArray1D.hh>
37 #include <ObjexxFCL/FArray2D.hh>
39 #include <ObjexxFCL/FArray2A.hh>
44 namespace interaction_graph {
49 class DensePDInteractionGraph;
56 virtual void print()
const;
96 int edge_to_altered_neighbor,
98 int other_node_new_state);
214 int first_node_state,
215 int second_node_state,
216 ObjexxFCL::FArray2< core::PackerEnergy > & edge_energy_table
220 int substituted_node_index,
234 ObjexxFCL::FArray2D< core::PackerEnergy >
240 ObjexxFCL::FArray2D< core::PackerEnergy > & new_edge_table
317 ObjexxFCL::FArray2D< core::PackerEnergy >
328 swap_edge_energies(
int node1,
int node2, ObjexxFCL::FArray2D< core::PackerEnergy > & new_edge_table );
434 int edge_to_altered_neighbor,
436 int other_node_new_state
442 curr_state_two_body_energies_[edge_to_altered_neighbor] = new_edge_energy;
457 int first_node_state,
458 int second_node_state,
459 ObjexxFCL::FArray2< core::PackerEnergy > & edge_energy_table
462 if (first_node_state == 0 || second_node_state == 0) {
465 return edge_energy_table( second_node_state, first_node_state );
480 int substituted_node_index,
485 int node_substituted = substituted_node_index ==
get_node_index(0) ? 0 : 1;
486 int node_not_substituted = ! node_substituted;
491 acknowledge_neighbors_state_substitution