CAPD DynSys Library
5.2.0
|
#include <capd/invset/CubicalMap.h>
Public Types | |
typedef MapT | MapType |
typedef MapType::VectorType | VectorType |
typedef MapType::MatrixType | MatrixType |
typedef VectorType::ScalarType | ScalarType |
typedef ScalarType::BoundType | BoundType |
typedef GraphT | GraphType |
typedef GraphType::OrderType | OrderType |
typedef GraphType::VertexSet | VertexSet |
typedef GraphType::VertexType | VertexType |
typedef ResolutionT | ResolutionType |
typedef GraphType::iterator | iterator |
typedef GraphType::const_iterator | const_iterator |
typedef GraphType::VertexSet | SetVertex |
deprecated More... | |
Public Member Functions | |
CubicalMap (MapType &map, const ResolutionType &resolution) | |
const ResolutionType & | getResolution () const |
MapType & | getMap () |
VectorType | vertexToCube (const VertexType &vertex) const |
converts VertexType to Cube using current resolution More... | |
template<class PointVector > | |
void | getCubeCenter (const VertexType &vertex, PointVector &result) |
void | setDomain (const VectorType &domain) |
it grids domain with given resolution and for each box adds corresponding vertex to graph More... | |
void | setDomain (const std::list< VectorType > &domainList) |
it grids domain with given resolution and for each box adds corresponding vertex to graph G More... | |
void | constructCubicalMap () |
template<typename ConstraintsT > | |
void | computeImageOfCubeWithConstraints (const VertexType &vertex, const ConstraintsT &constraints, VertexSet &cubicalImage) |
checks whenever set x is contained (at least partly) in the domain. More... | |
template<typename ConstraintsT > | |
void | constructCubicalMapWithConstraints (const ConstraintsT &constraints) |
constructs cubical map with range restricted by constraints. More... | |
void | constructCubicalMapRestrictedTo (const std::list< VectorType > &range) |
constructs cubical map with range restricted to given list of interval vectors More... | |
void | bisectGraph (int indexOfCoeff) |
template<typename ConstraintsT > | |
void | removeIncorrectVertices (VertexSet &vertices, const ConstraintsT &constraints) const |
Removes vertices that do not belong to the domain. More... | |
template<typename ConstraintsT > | |
void | removeIncorrectNodes (const ConstraintsT &constraints) |
template<typename VertexContainer > | |
void | computeExitSet (VertexContainer &exitSet) |
For given CubicalMap it computes exit set. More... | |
void | save (const char *fileName) const |
void | load (const char *fileName) |
Static Public Member Functions | |
static VertexType | resolutionToDenominator (const ResolutionType &resolution) |
static VectorType | vertexToVector (const VertexType &vertex, const VertexType &denominator) |
static VectorType | vertexToCube (const VertexType &vertex, const ResolutionType &resolution) |
converts VertexType to Cube using given resolution More... | |
template<class PointVector > | |
static void | getCubeCenter (const VertexType &vertex, const ResolutionType &resolution, PointVector &result) |
template<class PointVector > | |
static void | centreOfCube (const VertexType &vertex, const VertexType &denominator, PointVector &result) |
static void | insertVertexIfNotExists (GraphType &G, const VertexType &v) |
static void | insertVertexIfNotExists (VertexSet &G, const VertexType &v) |
template<typename SetType > | |
static void | createGrid (SetType &G, const ResolutionType &resolution, const VectorType &domain) |
it grids domain with given resolution and for each box adds corresponding vertex to set G G can be either graph (GraphType) or only set of vertices (VertexSet) More... | |
template<typename SetType > | |
static void | createGrid (SetType &G, const ResolutionType &resolution, const std::list< VectorType > &domain) |
static void | constructCubicalMap (MapType &m_f, GraphType &graph, ResolutionType &resolution) |
Creates graph that is a cubical representation of the map f with given resolution It also creates transposed graph. More... | |
template<typename ConstraintsT > | |
static void | constructCubicalMapWithConstraints (CubicalMap &graph, const ConstraintsT &constraints) |
/////////////////////////////////////////////////////////////////////////////////////////////// / / Creates graph that is a cubical representation of the map f with given resolution / Vertices that do not satisfy constraints are not created. More... | |
typedef ScalarType::BoundType capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::BoundType |
typedef GraphType::const_iterator capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::const_iterator |
typedef GraphT capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::GraphType |
typedef GraphType::iterator capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::iterator |
typedef MapT capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::MapType |
typedef MapType::MatrixType capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::MatrixType |
typedef GraphType::OrderType capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::OrderType |
typedef ResolutionT capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::ResolutionType |
typedef VectorType::ScalarType capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::ScalarType |
typedef GraphType::VertexSet capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::SetVertex |
deprecated
typedef MapType::VectorType capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::VectorType |
typedef GraphType::VertexSet capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::VertexSet |
typedef GraphType::VertexType capd::invset::CubicalMap< MapT, GraphT, ResolutionT >::VertexType |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
For given CubicalMap it computes exit set.
In exitSet we return all cubes that possibly escape map domain
[out] | exitSet | it can be either VertexSet or Graph |
|
inline |
checks whenever set x is contained (at least partly) in the domain.
Creates graph that is a cubical representation of the map f with given resolution / Edges pointing out of range are not created. / It also creates inverted graph / / we assume that: / - domain is already set / - all edges in a graph are removed /
|
inline |
|
inlinestatic |
Creates graph that is a cubical representation of the map f with given resolution It also creates transposed graph.
we assume that:
|
inline |
constructs cubical map with range restricted to given list of interval vectors
|
inline |
constructs cubical map with range restricted by constraints.
|
inlinestatic |
/////////////////////////////////////////////////////////////////////////////////////////////// / / Creates graph that is a cubical representation of the map f with given resolution / Vertices that do not satisfy constraints are not created.
/ It also creates inverted graph / / we assume that: / - domain is already set / - all edges in a graph are removed / //////////////////////////////////////////////////////////////////////////////////////////////
|
inlinestatic |
|
inlinestatic |
it grids domain with given resolution and for each box adds corresponding vertex to set G G can be either graph (GraphType) or only set of vertices (VertexSet)
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
Removes vertices that do not belong to the domain.
Removes vertices that do not satisfy constraints
|
inlinestatic |
|
inline |
|
inline |
it grids domain with given resolution and for each box adds corresponding vertex to graph G
|
inline |
it grids domain with given resolution and for each box adds corresponding vertex to graph
|
inline |
converts VertexType to Cube using current resolution
|
inlinestatic |
converts VertexType to Cube using given resolution
|
inlinestatic |