【发布时间】:2015-07-13 04:01:54
【问题描述】:
我正在尝试使用 Parma Polyhedra Library [1] 来枚举(凸)多面体的顶点,例如,我有一个由四个约束指定的矩形:
Constraint_System cs;
cs.insert(x >= 0);
cs.insert(x <= 3);
cs.insert(y >= 0);
cs.insert(y <= 3);
C_Polyhedron ph(cs);
如何生成顶点?
【问题讨论】:
标签: c++ discrete-mathematics polyhedra