6 #include "blockmodel.h"
35 set<BlockIndexType> * _blocks;
36 vector<BlockIndexType> * _block_indexes;
40 void Fast_AddBlock(
const delphos::BlockIndexType & index);
163 void ClearSelection();
174 bool Contains(
const delphos::BlockIndexType & index)
const;
198 bool Contains(
const double & x,
const double & y,
const double & z)
const;
212 bool AddBlock(
const delphos::BlockIndexType & index);
236 bool AddBlock(
const double & x,
const double & y,
const double & z);
251 delphos::BlockIndexType GetIndex(
const delphos::BlockIndexType & index)
const;
266 delphos::BlockIndexType GetIndexInBS(
const delphos::BlockIndexType & index)
const;
292 delphos::BlockIndexType Size()
const;
299 delphos::BlockIndexType GetSize()
const;
309 void StoreAsAttribute(
const string & new_attr);
343 bool RemoveBlock(
const delphos::BlockIndexType& index );
372 const string _column;
383 virtual const string& ColumnToAdd()
const;
401 const string* _weight;
419 SelectionAvg(
const string & column_to_add,
const string& weight);
428 const string& WeightColumn()
const;
447 const string _column;
460 const string ColumnToMinimize()
const;
478 const string _column;
491 const string ColumnToMaximize()
const;
507 const string _column;
518 const string ColumnToMajorize()
const;
Abstracts a sum function to be evaluated over a set of blocks.
Definition: blocksel.h:370
Abstracts a set of blocks (subset of a blockmodel).
Definition: blocksel.h:33
Abstracts a function to perform statistical mode.
Definition: blocksel.h:505
An utility class to abstract coordinates so they can be used as map and set keys by means of string c...
Definition: coords.h:20
Abstract class that defines the basis for classes that abstracts functions to perform selections...
Definition: blocksel.h:350
A utility class to access blocks individually.
Definition: blockmodel.h:1390
Abstracts the maximum function to be evaluated over a set of blocks.
Definition: blocksel.h:476
Abstracts a container of blocks as a table with arbitrary number of attributes that can be accessed b...
Definition: blockmodel.h:62
static string NO_WEIGHT_COLUMN
"No Weight" column name. This name is used in case no weight is wanted for averaging.
Definition: blocksel.h:406
virtual ~SelectionFunctor()
Destroys the selection functor.
Definition: blocksel.h:363
A base class for object associated to a given block model.
Definition: blockmodel.h:1356
Abstracts average-type functions to be evaluated over a set of blocks.
Definition: blocksel.h:399
Abstracts the minimum function to be evaluated over a set of blocks.
Definition: blocksel.h:445