12#ifndef __CODAC_CONNECTEDSUBSET_H__
13#define __CODAC_CONNECTEDSUBSET_H__
80 const std::vector<const Paving*>&
get_items()
const;
107 static const std::vector<IntervalVector>
get_boxed_hulls(
const std::vector<ConnectedSubset> v_subsets);
130 bool zero_proven(
const std::function<IntervalVector(
const IntervalVector&)>& f);
153 int zeros_number(
const std::function<IntervalVector(
const IntervalVector&)>& f,
const std::function<IntervalMatrix(
const IntervalVector&)>& Jf,
float precision);
196 int compute_local_degree(
const std::function<IntervalVector(
const IntervalVector&)>& f,
const IntervalVector& b,
const IntervalVector& common_cocoface)
const;
206 std::vector<int>
sign_vector(
const std::function<IntervalVector(
const IntervalVector&)>& f,
const IntervalVector& b,
const IntervalVector& common_cocoface)
const;
214 std::vector<IntervalVector>
get_cofaces(
const IntervalVector& b)
const;
223 std::vector<IntervalVector>
get_cofaces(
const IntervalVector& b,
const IntervalVector& common_cocoface)
const;
Multi-dimensional paving representation of a connected subset.
Definition codac_ConnectedSubset.h:35
int box_dimension(const IntervalVector &b) const
Returns the dimension of the box .
std::vector< int > sign_vector(const std::function< IntervalVector(const IntervalVector &)> &f, const IntervalVector &b, const IntervalVector &common_cocoface) const
Returns a vector of signs represented as integers.
std::vector< IntervalVector > get_boxes() const
Returns the set of Paving boxes this subset is made of.
ConnectedSubset(const std::vector< const Paving * > &v_subset_items)
Creates a connected subset.
std::vector< const Paving * > m_v_subset_items
set of leaves items
Definition codac_ConnectedSubset.h:246
int zeros_number(const std::function< IntervalVector(const IntervalVector &)> &f, const std::function< IntervalMatrix(const IntervalVector &)> &Jf, float precision)
Counts the number of zeros of an uncertain function enclosed by on this subset.
bool zero_proven(const std::function< IntervalVector(const IntervalVector &)> &f)
Tests if an unknown function enclosed by vanishes at least once on this subset.
bool non_singular_jacobian(const std::function< IntervalMatrix(const IntervalVector &)> &Jf, float precision)
Tests whether the Jacobian is non-singular or not.
std::vector< IntervalVector > get_cofaces(const IntervalVector &b) const
Returns a vector of cofaces related to .
static const std::vector< IntervalVector > get_boxed_hulls(const std::vector< ConnectedSubset > v_subsets)
Returns the boxed hull of each connected subset into a vector of boxes.
~ConnectedSubset()
ConnectedSubset destructor.
std::vector< IntervalVector > get_boundary(SetValue value_boundary=SetValue::UNKNOWN, SetValue value_out=SetValue::OUT) const
Returns the boundary boxes of this subset.
bool contains(const Vector &p) const
Tests if p is contained in the connected subset.
int orientation(const IntervalVector &b, const IntervalVector &parent_coface, int orientation) const
Returns orientation of vector b.
const std::vector< const Paving * > & get_items() const
Returns the set of Paving leaves this subset is made of.
int topological_degree(const std::function< IntervalVector(const IntervalVector &)> &f)
Computes the topological degree related to .
bool is_strictly_included_in_paving() const
Tests if this subset is strictly included in its paving structure.
std::vector< IntervalVector > get_cofaces(const IntervalVector &b, const IntervalVector &common_cocoface) const
Returns a vector of cofaces related to , common_cocoface.
bool all_positive_signs(const std::vector< int > &v_s) const
Returns true if all items in v_s are positive.
int compute_local_degree(const std::function< IntervalVector(const IntervalVector &)> &f, const IntervalVector &b, const IntervalVector &common_cocoface) const
Computes local degree related to .
const Paving * get_paving() const
Returns a const pointer to the paving structure.
Multi-dimensional paving as representation of a set.
Definition codac_Paving.h:30
Multi-dimensional interval-based representation of a set.
Definition codac_Set.h:67
FixPoint of a separator The fixpoint of a separator is computed by calling the "::"separate function ...
Definition codac_capd_helpers.h:9
SetValue
Defines a set of feasible values of a set.
Definition codac_Set.h:27
@ UNKNOWN
unable to conclude
@ OUT
outside the solution set