VinaLC: Parallel Molecular Docking Program

Biochemical and Biophysical Systems Group
VinaLC version: 1.1.2

cache Struct Reference

#include <cache.h>

Inheritance diagram for cache:
Collaboration diagram for cache:

Public Member Functions

 cache (const std::string &scoring_function_version_, const grid_dims &gd_, fl slope_, atom_type::t atom_typing_used_)
 
fl eval (const model &m, fl v) const
 
fl eval_deriv (model &m, fl v) const
 
void populate (const model &m, const precalculate &p, const szv &atom_types_needed, bool display_progress=true)
 

Private Member Functions

template<class Archive >
void save (Archive &ar, const unsigned version) const
 
template<class Archive >
void load (Archive &ar, const unsigned version)
 

Private Attributes

std::string scoring_function_version
 
atomv atoms
 
grid_dims gd
 
fl slope
 
atom_type::t atu
 
std::vector< gridgrids
 

Friends

class boost::serialization::access
 

Constructor & Destructor Documentation

cache::cache ( const std::string &  scoring_function_version_,
const grid_dims gd_,
fl  slope_,
atom_type::t  atom_typing_used_ 
)

Member Function Documentation

fl cache::eval ( const model m,
fl  v 
) const
virtual
fl cache::eval_deriv ( model m,
fl  v 
) const
virtual
void cache::populate ( const model m,
const precalculate p,
const szv atom_types_needed,
bool  display_progress = true 
)
template<class Archive >
void cache::save ( Archive &  ar,
const unsigned  version 
) const
private

References atu, gd, grids, and scoring_function_version.

template<class Archive >
void cache::load ( Archive &  ar,
const unsigned  version 
)
private

References atu, eq(), gd, grids, and scoring_function_version.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class boost::serialization::access
friend

Member Data Documentation

std::string cache::scoring_function_version
private

Referenced by load(), and save().

atomv cache::atoms
private
grid_dims cache::gd
private

Referenced by load(), populate(), and save().

fl cache::slope
private

Referenced by eval(), and eval_deriv().

atom_type::t cache::atu
private

Referenced by eval(), eval_deriv(), load(), populate(), and save().

std::vector<grid> cache::grids
private

Referenced by eval(), eval_deriv(), load(), populate(), and save().


The documentation for this struct was generated from the following files: