Public Member Functions | Public Attributes
Clasp::SharedMinimizeData::LevelWeight Struct Reference

A type to represent a weight at a certain level. More...

#include <minimize_constraint.h>

List of all members.

Public Member Functions

 LevelWeight (uint32 l, weight_t w)

Public Attributes

uint32 level: 31
uint32 next: 1
weight_t weight

Detailed Description

A type to represent a weight at a certain level.

Objects of this type are used to create sparse vectors of weights. E.g. a weight vector (w1, w2, w3) is represented as [<L1,1,w1><L3,1,w2><L5,0,w3>], where each <level, next, weight>-tuple is an object of type LevelWeight.

Definition at line 67 of file minimize_constraint.h.


Constructor & Destructor Documentation

Definition at line 68 of file minimize_constraint.h.


Member Data Documentation

The level of this weight.

Definition at line 69 of file minimize_constraint.h.

Does this weight belong to a sparse vector of weights?

Definition at line 70 of file minimize_constraint.h.

The weight at this level.

Definition at line 71 of file minimize_constraint.h.


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


clasp
Author(s): Benjamin Kaufmann
autogenerated on Thu Aug 27 2015 12:41:41