Classes | Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
GCoptimization::DataCostFnSparse Class Reference

#include <GCoptimization.h>

List of all members.

Classes

struct  DataCostBucket
class  iterator

Public Member Functions

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

Private Member Functions

EnergyTermType search (DataCostBucket &b, SiteID s)

Private Attributes

DataCostBucketm_buckets
const int m_buckets_per_label
const LabelID m_num_labels
const SiteID m_num_sites

Static Private Attributes

static const size_t cDataCostPtrMask = ~(sizeof(SparseDataCost)-1)
static const ptrdiff_t cLinearSearchSize = 64/sizeof(SparseDataCost)
static const int cLogSitesPerBucket = 9
static const int cSitesPerBucket = (1 << cLogSitesPerBucket)

Detailed Description

Definition at line 380 of file GCoptimization.h.


Constructor & Destructor Documentation

Definition at line 1742 of file GCoptimization.cpp.

Definition at line 1750 of file GCoptimization.cpp.

Definition at line 1759 of file GCoptimization.cpp.


Member Function Documentation

Definition at line 421 of file GCoptimization.h.

Definition at line 1841 of file GCoptimization.cpp.

Definition at line 422 of file GCoptimization.h.

Definition at line 1862 of file GCoptimization.cpp.

Definition at line 1805 of file GCoptimization.cpp.

void GCoptimization::DataCostFnSparse::set ( LabelID  l,
const SparseDataCost costs,
SiteID  count 
)

Definition at line 1769 of file GCoptimization.cpp.


Member Data Documentation

const size_t GCoptimization::DataCostFnSparse::cDataCostPtrMask = ~(sizeof(SparseDataCost)-1) [static, private]

Definition at line 388 of file GCoptimization.h.

const ptrdiff_t GCoptimization::DataCostFnSparse::cLinearSearchSize = 64/sizeof(SparseDataCost) [static, private]

Definition at line 389 of file GCoptimization.h.

Definition at line 386 of file GCoptimization.h.

Definition at line 387 of file GCoptimization.h.

Definition at line 429 of file GCoptimization.h.

Definition at line 428 of file GCoptimization.h.

Definition at line 427 of file GCoptimization.h.

Definition at line 426 of file GCoptimization.h.


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


tabletop_pushing
Author(s): Tucker Hermans
autogenerated on Wed Nov 27 2013 11:59:45