weight_space_vertex.cpp
Go to the documentation of this file.
60 if (sort_facets) // sort facets in order to be able to use std::set_intersection in other constructor
114 weighted_obj_val_ = obs_coeff*obs->weighted_obj_val_ - non_obs_coeff*non_obs->weighted_obj_val_; // return m_coeff * ray_minus - p_coeff * ray_plus
WeightSpaceVertex(WeightSpacePolyhedron::FacetContainer incident_facets, WeightType weight, ValueType weighted_obj_val, bool sort_facets=true)
Definition: weight_space_vertex.cpp:52
ValueType getCurrentWOV() const
Definition: weight_space_vertex.cpp:68
General types used for PolySCIP.
std::vector< ValueType > OutcomeType
Type for points, rays in objective space.
Definition: polyscip_types.h:35
bool hasZeroWeight() const
Definition: weight_space_vertex.cpp:198
void print(std::ostream &os, bool printFacets=false) const
Definition: weight_space_vertex.cpp:211
Definition: pqueue.h:28
void print(const Container &container, const std::string &prefix="", const std::string &suffix="", std::ostream &os=std::cout, bool negate=false, int prec=6)
Definition: global_functions.h:95
Class representing the 1-skeleton of the weight space polyhedron.
Class representing a vertex of the (partial) weight space polyhedron.
double computeSlack(const OutcomeType &outcome, bool outcome_is_ray) const
Definition: weight_space_vertex.cpp:146
Global helper functions.
Definition: cmd_line_args.cpp:37
std::vector< std::shared_ptr< const WeightSpaceFacet > > FacetContainer
Container for facets.
Definition: weight_space_polyhedron.h:62
bool hasSameWeight(const WeightType &weight) const
Definition: weight_space_vertex.cpp:176
double getWeightedOutcome(const OutcomeType &outcome) const
Definition: weight_space_vertex.cpp:131
Class representing a facet of the weight space polyhedron.
WeightType getWeight() const
Definition: weight_space_vertex.cpp:122
Class representing a vertex of the (partial) weight space polyhedron.
Definition: weight_space_vertex.h:47
bool hasUnitWeight() const
Definition: weight_space_vertex.cpp:184