21 #ifndef SEEN_LIBCOLA_EXCEPTIONS_H 22 #define SEEN_LIBCOLA_EXCEPTIONS_H 27 class CompoundConstraint;
29 struct InvalidConstraint {
30 InvalidConstraint(CompoundConstraint *c):constraint(c) {}
31 CompoundConstraint *constraint;
35 class InvalidVariableIndexException
38 InvalidVariableIndexException(CompoundConstraint *c,
unsigned i)
42 std::string what()
const throw()
45 s <<
"Invalid variable index: " << index;
48 CompoundConstraint *constraint;
54 #endif //SEEN_LIBCOLA_EXCEPTIONS_H libcola: Force-directed network layout subject to separation constraints library. ...
Definition: box.cpp:25