X-Git-Url: https://git.sthu.org/?p=libstick.git;a=blobdiff_plain;f=include%2Flibstick%2Fsimplicialfunction.h;h=d09bfe7ce89eb7b8ea34bd13fcfd0e66dcd9793b;hp=6371d66e0fd72cb88d852477f659b0573cb53b8e;hb=refs%2Fheads%2Fmaster;hpb=7857e2e4890104e2f7e5a91f1ace889a3f072f08 diff --git a/include/libstick/simplicialfunction.h b/include/libstick/simplicialfunction.h index 6371d66..d09bfe7 100644 --- a/include/libstick/simplicialfunction.h +++ b/include/libstick/simplicialfunction.h @@ -19,13 +19,13 @@ class simplicial_function { public: /** The type of the underlying simplicial complex. */ - typedef simplicial_complex simplcompltype; + typedef simplicial_complex 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; @@ -51,7 +51,7 @@ class simplicial_function { /**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()); } @@ -84,7 +84,7 @@ class simplicial_function { } /** Return the underlying complex. */ - const simplcompltype& get_complex() const { + const scomplex& get_complex() const { return c; } @@ -224,7 +224,7 @@ class simplicial_function { values_type values; /** The complex on which we consider a function. */ - simplcompltype &c; + scomplex &c; }; }