Commit 6cfdd49 1 parent ef62a69 commit 6cfdd49 Copy full SHA for 6cfdd49
File tree 3 files changed +641
-283
lines changed
include/packingsolver/rectangleguillotine
3 files changed +641
-283
lines changed Original file line number Diff line number Diff line change @@ -444,6 +444,9 @@ class Instance
444
444
/* * Return true iff all items have infinite copies. */
445
445
inline bool unbounded_knapsack () const { return all_item_types_infinite_copies_; }
446
446
447
+ /* * Return true iff all items types are oriented. */
448
+ inline bool all_item_types_oriented () const { return all_item_types_oriented_; }
449
+
447
450
/* * Get the item types. */
448
451
inline const std::vector<ItemType>& item_types () const { return item_types_; }
449
452
@@ -616,6 +619,9 @@ class Instance
616
619
/* * True iff all item types have an infinite number of copies. */
617
620
bool all_item_types_infinite_copies_ = false ;
618
621
622
+ /* * True iff all item types are oriented. */
623
+ bool all_item_types_oriented_ = true ;
624
+
619
625
friend class InstanceBuilder ;
620
626
621
627
};
You can’t perform that action at this time.
0 commit comments