42 #ifndef ACT_SET_STATS_H
43 #define ACT_SET_STATS_H
45 #include "MoochoPack_Types.hpp"
47 namespace MoochoPack {
58 enum { NOT_KNOWN = -1 };
64 : num_active_(NOT_KNOWN), num_adds_(NOT_KNOWN), num_drops_(NOT_KNOWN)
65 , num_active_indep_(NOT_KNOWN), num_adds_indep_(NOT_KNOWN), num_drops_indep_(NOT_KNOWN)
101 return num_active_indep_;
106 return num_adds_indep_;
111 return num_drops_indep_;
118 int num_active_indep_;
120 int num_drops_indep_;
126 #endif // ACT_SET_STATS_H
int num_active_indep() const
void set_stats(int num_active, int num_adds, int num_drops, int num_active_indep, int num_adds_indep, int num_drops_indep)
Initialize the statistics.
int num_drops_indep() const
ActSetStats()
Construct all unknowns.
Class for storing statistics about the changes in the active set of an SQP algorithm.
int num_adds_indep() const