Skip to content

Commit 56718ec

Browse files
committed
updated readme for this being the new master branch, CAD paper
1 parent 67f57ca commit 56718ec

13 files changed

+2139405
-13
lines changed

IntervalAssignment-xcode/IntervalAssignment-xcode.xcodeproj/project.pbxproj

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
D243C81923EE47F000F3C7BF /* IAResultImplementation.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D243C81723EE47EF00F3C7BF /* IAResultImplementation.cpp */; };
1414
D243C81B23F5FEB700F3C7BF /* test.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D243C81A23F5FEB600F3C7BF /* test.cpp */; };
1515
D2B6599123FCEA29009EBEAE /* IAQueue.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D2B6599023FCEA29009EBEAE /* IAQueue.cpp */; };
16-
D2E0AD7A2600779E00141301 /* iia-cubit-autotest-alltests.cpp in Sources */ = {isa = PBXBuildFile; fileRef = D2E0AD792600779E00141301 /* iia-cubit-autotest-alltests.cpp */; };
1716
/* End PBXBuildFile section */
1817

1918
/* Begin PBXCopyFilesBuildPhase section */
@@ -44,7 +43,6 @@
4443
D243C81A23F5FEB600F3C7BF /* test.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = test.cpp; path = ../Source/test.cpp; sourceTree = SOURCE_ROOT; };
4544
D2B6598F23FCE916009EBEAE /* IAQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = IAQueue.h; path = ../Source/IAQueue.h; sourceTree = "<group>"; };
4645
D2B6599023FCEA29009EBEAE /* IAQueue.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = IAQueue.cpp; path = /Users/samitch/Documents/repos/IntervalAssignment/Source/IAQueue.cpp; sourceTree = "<absolute>"; };
47-
D2E0AD792600779E00141301 /* iia-cubit-autotest-alltests.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = "iia-cubit-autotest-alltests.cpp"; path = "../../Source/iia-cubit-autotest-alltests.cpp"; sourceTree = "<group>"; };
4846
/* End PBXFileReference section */
4947

5048
/* Begin PBXFrameworksBuildPhase section */
@@ -77,7 +75,6 @@
7775
D243C7FD23EB929800F3C7BF /* IntervalAssignment-xcode */ = {
7876
isa = PBXGroup;
7977
children = (
80-
D2E0AD792600779E00141301 /* iia-cubit-autotest-alltests.cpp */,
8178
D2B6599023FCEA29009EBEAE /* IAQueue.cpp */,
8279
D2B6598F23FCE916009EBEAE /* IAQueue.h */,
8380
D243C81723EE47EF00F3C7BF /* IAResultImplementation.cpp */,
@@ -158,7 +155,6 @@
158155
D243C81923EE47F000F3C7BF /* IAResultImplementation.cpp in Sources */,
159156
D243C81B23F5FEB700F3C7BF /* test.cpp in Sources */,
160157
D2B6599123FCEA29009EBEAE /* IAQueue.cpp in Sources */,
161-
D2E0AD7A2600779E00141301 /* iia-cubit-autotest-alltests.cpp in Sources */,
162158
);
163159
runOnlyForDeploymentPostprocessing = 0;
164160
};

README.md

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,18 @@ IIA is C++11 and has *no* dependencies.
4343
IA.h is the interface.
4444
The driver code test.cpp gives examples of setting up and solving the problem.
4545

46+
== Versions / Branches
47+
48+
master
49+
branch contains the version for the 2022-2023 CAD Journal [IIA-journal]
50+
this is the version with the best output and runtime
51+
52+
imr2021
53+
branch contains the version at the time the 2021 IMR [IIA] paper was written.
54+
55+
The Test directory and Source/test.cpp are not needed for using the code as a library.
56+
57+
To run the tests mentioned in these papers, modify test.cpp to include one or more of the cpp files in the Test directory.
4658

4759
== Acknowledgements
4860

@@ -54,7 +66,7 @@ The predecessors to this code include BBIA, a linear-programming plus branch-and
5466
== Bibliography
5567

5668
[BBIA]
57-
"High Fidelity Interval Assignment," Scott A. Mitchell, Proc. 6th International Meshing Roundtable `97, 33-44 (1997), and
69+
"High Fidelity Interval Assignment," Scott A. Mitchell, Proc. 6th International Meshing Roundtable, 33-44 (1997), and
5870
International Journal of Computational Geometry and Applications, Vol. 10, No. 4 (2000) 399-415.
5971

6072
[NLIA]
@@ -67,7 +79,14 @@ International Journal of Computational Geometry and Applications, Vol. 10, No. 4
6779
"Incremental Interval Assignment (IIA) for Scalable Mesh Preparation," Scott A. Mitchell, Sandia National Laboratories technical report SAND2019-11163R, LDRD 19-1050, 2019.
6880

6981
[IIA]
70-
"Interval Assignment by Integer Linear Algebra," Scott A. Mitchell, in preparation.
82+
"Incremental Interval Assignment by Integer Linear Algebra,"
83+
Scott A. Mitchell, International Meshing Roundtable,
84+
2021, volume 29, pages 18.
85+
86+
[IIA-journal]
87+
"Interval Assignment by Integer Linear Algebra with Improvements,"
88+
Scott A. Mitchell, Computer Aided Design,
89+
in preparation.
7190

7291

7392
== IIA Design Background

Source/IncrementalIntervalAssignment.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,7 @@ namespace IIA_Internal
22292229
for (auto r : tc_rows)
22302230
{
22312231
const auto r_val = MN.rows[r].get_val(t.c);
2232-
const auto r_sign = (r_val > 0 ? 1 : -1) * t.dx; // sign after row is negated if needed to get sign == dx.
2232+
// const auto r_sign = (r_val > 0 ? 1 : -1) * t.dx; // sign after row is negated if needed to get sign == dx.
22332233

22342234
if (smallest_self_block_coeff <= abs(r_val))
22352235
{
@@ -2257,7 +2257,7 @@ namespace IIA_Internal
22572257
}
22582258

22592259
bool try_row = true;
2260-
bool progress = false;
2260+
// bool progress = false;
22612261
for (auto &blocking_col : blocking_cols)
22622262
{
22632263

@@ -6559,7 +6559,7 @@ namespace IIA_Internal
65596559
result->debug_message("Solving IIA mapping subproblems.\n");
65606560

65616561
bool success = solve_phase(true, do_improve, new_row_min, new_row_max);
6562-
if (0)
6562+
if (/* DISABLES CODE */ (0))
65636563
{
65646564
print_solution_summary("solution after mapping phase");
65656565
}
@@ -7001,7 +7001,7 @@ namespace IIA_Internal
70017001
}
70027002

70037003
// hack for test_problem_augmented_nullspace_demo zzyk
7004-
if (0 && !map_only_phase)
7004+
if (/* DISABLES CODE */ (0) && !map_only_phase)
70057005
{
70067006
col_solution[0]=4;
70077007
col_solution[1]=4;
@@ -8151,7 +8151,7 @@ namespace IIA_Internal
81518151
}
81528152

81538153
// all off
8154-
if (0)
8154+
if (/* DISABLES CODE */ (0))
81558155
{
81568156
use_HNF_always = false; // false then try rref solution first
81578157
use_HNF_goals = false; // false c=1

Source/test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "CpuTimer.h"
66
#include <iostream>
77

8-
#include "iia-cubit-autotest-scale-cren.h"
8+
// #include "iia-cubit-autotest-scale-cren.h"
99
// #include "iia-cubit-autotest-alltests.cpp"
1010
// #include "iia-cubit-autotest-alltests-rebase-19march2020.cpp"
1111
// #include "iia-cubit-autotest-onetest.cpp"
@@ -1504,7 +1504,7 @@ int main(int argc, const char * argv[])
15041504

15051505
// test_problem_augmented_nullspace_demo(); return 0;
15061506

1507-
iia_cubit_autotest(); return 0;
1507+
// iia_cubit_autotest(); return 0;
15081508

15091509
// tests where use_map_nullspace might make a difference
15101510
// test_problem_C();

0 commit comments

Comments
 (0)