Rosetta 3.4
Public Member Functions | Static Public Attributes | Protected Member Functions
core::pack::interaction_graph::LinearMemEdge Class Reference

#include <LinearMemoryInteractionGraph.hh>

Inheritance diagram for core::pack::interaction_graph::LinearMemEdge:
Inheritance graph
[legend]
Collaboration diagram for core::pack::interaction_graph::LinearMemEdge:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 LinearMemEdge (InteractionGraphBase *owner, int first_node_ind, int second_node_ind)
virtual ~LinearMemEdge ()
virtual void set_sparse_aa_info (ObjexxFCL::FArray2_bool const &)
virtual void force_aa_neighbors (int node1aa, int node2aa)
virtual void force_all_aa_neighbors ()
virtual bool get_sparse_aa_info (int node1aa, int node2aa) const
virtual core::PackerEnergy get_two_body_energy (int const node1state, int const node2state) const
virtual void prepare_for_simulated_annealing ()
core::PackerEnergy get_current_two_body_energy () const
void acknowledge_state_change (int node_ind, int new_state, SparseMatrixIndex const &new_state_sparse_info, int bumped_recent_history_index, int new_state_recent_history_index, core::PackerEnergy &new_energy)
void acknowledge_state_zeroed (int node_ind)
void acknowledge_partial_state_change (int node_ind, int new_state, SparseMatrixIndex const &new_state_sparse_info, int bumped_recent_history_index, int new_state_recent_history_index)
core::PackerEnergy get_energy_following_partial_state_assignment ()
void reset_state_energies (int node_index, int state, int recent_history_id)
core::PackerEnergy get_energy_for_alt_state (bool store_rpes, int changing_node_index, int alternate_state, int alternate_state_recent_history_index, int other_node_curr_state, int other_node_state_recent_history_index)
void acknowledge_substitution (int substituted_node_index, core::PackerEnergy const curr_state_energy, int nodes_new_state, SparseMatrixIndex const &nodes_new_state_sparse_info, int bumped_recent_history_index, int new_state_recent_history_index, int neighbors_curr_state)
int get_two_body_table_size () const
virtual void declare_energies_final ()
void print_current_energy () const
ObjexxFCL::FArray2D< unsigned
char > const & 
get_sparse_aa_neighbor_info ()
virtual unsigned int count_static_memory () const
virtual unsigned int count_dynamic_memory () const
virtual void set_edge_weight (Real weight)

Static Public Attributes

static core::PackerEnergy const NOT_YET_COMPUTED_ENERGY = -1234

Protected Member Functions

void declare_energies_final_no_deletion ()
void prepare_for_simulated_annealing_no_deletion ()
bool pd_edge_table_all_zeros () const

Constructor & Destructor Documentation

core::pack::interaction_graph::LinearMemEdge::LinearMemEdge ( InteractionGraphBase owner,
int  first_node_ind,
int  second_node_ind 
)
core::pack::interaction_graph::LinearMemEdge::~LinearMemEdge ( ) [virtual]

Member Function Documentation

void core::pack::interaction_graph::LinearMemEdge::acknowledge_partial_state_change ( int  node_ind,
int  new_state,
SparseMatrixIndex const &  new_state_sparse_info,
int  bumped_recent_history_index,
int  new_state_recent_history_index 
)
void core::pack::interaction_graph::LinearMemEdge::acknowledge_state_change ( int  node_ind,
int  new_state,
SparseMatrixIndex const &  new_state_sparse_info,
int  bumped_recent_history_index,
int  new_state_recent_history_index,
core::PackerEnergy new_energy 
)
void core::pack::interaction_graph::LinearMemEdge::acknowledge_state_zeroed ( int  node_ind)
void core::pack::interaction_graph::LinearMemEdge::acknowledge_substitution ( int  substituted_node_index,
core::PackerEnergy const  curr_state_energy,
int  nodes_new_state,
SparseMatrixIndex const &  nodes_new_state_sparse_info,
int  bumped_recent_history_index,
int  new_state_recent_history_index,
int  neighbors_curr_state 
) [inline]
unsigned int core::pack::interaction_graph::LinearMemEdge::count_dynamic_memory ( ) const [virtual]
unsigned int core::pack::interaction_graph::LinearMemEdge::count_static_memory ( ) const [virtual]
void core::pack::interaction_graph::LinearMemEdge::declare_energies_final ( ) [virtual]
void core::pack::interaction_graph::LinearMemEdge::declare_energies_final_no_deletion ( ) [inline, protected]
void core::pack::interaction_graph::LinearMemEdge::force_aa_neighbors ( int  node1aa,
int  node2aa 
) [virtual]
void core::pack::interaction_graph::LinearMemEdge::force_all_aa_neighbors ( ) [virtual]
core::PackerEnergy core::pack::interaction_graph::LinearMemEdge::get_current_two_body_energy ( ) const
core::PackerEnergy core::pack::interaction_graph::LinearMemEdge::get_energy_following_partial_state_assignment ( )
core::PackerEnergy core::pack::interaction_graph::LinearMemEdge::get_energy_for_alt_state ( bool  store_rpes,
int  changing_node_index,
int  alternate_state,
int  alternate_state_recent_history_index,
int  other_node_curr_state,
int  other_node_state_recent_history_index 
)
bool core::pack::interaction_graph::LinearMemEdge::get_sparse_aa_info ( int  node1aa,
int  node2aa 
) const [virtual]
ObjexxFCL::FArray2D< unsigned char > const & core::pack::interaction_graph::LinearMemEdge::get_sparse_aa_neighbor_info ( )
core::PackerEnergy core::pack::interaction_graph::LinearMemEdge::get_two_body_energy ( int const  node1state,
int const  node2state 
) const [virtual]
int core::pack::interaction_graph::LinearMemEdge::get_two_body_table_size ( ) const
bool core::pack::interaction_graph::LinearMemEdge::pd_edge_table_all_zeros ( ) const [inline, protected]
void core::pack::interaction_graph::LinearMemEdge::prepare_for_simulated_annealing ( ) [virtual]
void core::pack::interaction_graph::LinearMemEdge::prepare_for_simulated_annealing_no_deletion ( ) [inline, protected]
void core::pack::interaction_graph::LinearMemEdge::print_current_energy ( ) const
void core::pack::interaction_graph::LinearMemEdge::reset_state_energies ( int  node_index,
int  state,
int  recent_history_id 
)
void core::pack::interaction_graph::LinearMemEdge::set_edge_weight ( Real  weight) [virtual]

DANGER: this will not update the cached energies on the nodes this edge is incident upon.

Implements core::pack::interaction_graph::EdgeBase.

References core::pack::interaction_graph::EdgeBase::edge_weight(), and NOT_YET_COMPUTED_ENERGY.

void core::pack::interaction_graph::LinearMemEdge::set_sparse_aa_info ( ObjexxFCL::FArray2_bool const &  aa_neighbors) [virtual]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines