ReadFramework
GCoptimization::DataCostFnSparse Class Reference

#include <GCoptimization.h>

Classes

class  iterator
 

Public Member Functions

 DataCostFnSparse (SiteID num_sites, LabelID num_labels)
 
 DataCostFnSparse (const DataCostFnSparse &src)
 
 ~DataCostFnSparse ()
 
void set (LabelID l, const SparseDataCost *costs, SiteID count)
 
EnergyTermType compute (SiteID s, LabelID l)
 
SiteID queryActiveSitesExpansion (LabelID alpha_label, const LabelID *labeling, SiteID *activeSites)
 
OLGA_INLINE iterator begin (LabelID label) const
 
OLGA_INLINE iterator end (LabelID label) const
 

Constructor & Destructor Documentation

GCoptimization::DataCostFnSparse::DataCostFnSparse ( SiteID  num_sites,
LabelID  num_labels 
)

Here is the caller graph for this function:

GCoptimization::DataCostFnSparse::DataCostFnSparse ( const DataCostFnSparse src)
GCoptimization::DataCostFnSparse::~DataCostFnSparse ( )

Member Function Documentation

OLGA_INLINE iterator GCoptimization::DataCostFnSparse::begin ( LabelID  label) const
inline

Here is the caller graph for this function:

OLGA_INLINE GCoptimization::EnergyTermType GCoptimization::DataCostFnSparse::compute ( SiteID  s,
LabelID  l 
)
OLGA_INLINE iterator GCoptimization::DataCostFnSparse::end ( LabelID  label) const
inline

Here is the caller graph for this function:

GCoptimization::SiteID GCoptimization::DataCostFnSparse::queryActiveSitesExpansion ( LabelID  alpha_label,
const LabelID labeling,
SiteID activeSites 
)
void GCoptimization::DataCostFnSparse::set ( LabelID  l,
const SparseDataCost costs,
SiteID  count 
)

Here is the caller graph for this function:


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