public:
/** The type of the underlying simplicial complex. */
- typedef simplicial_complex<MAXDIM, IT> simplcompltype;
+ typedef simplicial_complex<MAXDIM, IT> scomplex;
/** Type of indices of simplices. */
typedef IT index_type;
/** Type of the simplices of the underlying simplicial complex */
- typedef typename simplcompltype::simplex simplex;
+ typedef typename scomplex::simplex simplex;
/** Type of the order on the underlying simplicial complex */
- typedef typename simplcompltype::simplex_order simplex_order;
+ typedef typename scomplex::simplex_order simplex_order;
/** To every simplex a function value is assigned according to which a
* filtration is considered. This is the value type of the function. */
typedef VT value_type;
/**Create a simplicial function on a given simplicial complex c. Only
* define for the (-1)-dim dummy vertex a value, namely
* get_minusonedim_value().*/
- simplicial_function(simplcompltype &c) :
+ simplicial_function(scomplex &c) :
c(c) {
values.push_back(get_minusonedim_value());
}
}
/** Return the underlying complex. */
- const simplcompltype& get_complex() const {
+ const scomplex& get_complex() const {
return c;
}
values_type values;
/** The complex on which we consider a function. */
- simplcompltype &c;
+ scomplex &c;
};
}