Skip to content

Commit

Permalink
Fully removed recursion, updated graphs, implemented depth test
Browse files Browse the repository at this point in the history
  • Loading branch information
jah12014 committed Mar 6, 2018
1 parent 3d4bc06 commit 0db4ee8
Show file tree
Hide file tree
Showing 13 changed files with 3,300 additions and 3,164 deletions.
Binary file modified IncrementalMinimization/results/budget_graph.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,372 changes: 684 additions & 688 deletions IncrementalMinimization/results/budget_test.txt

Large diffs are not rendered by default.

Binary file modified IncrementalMinimization/results/compare_graph_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified IncrementalMinimization/results/compare_graph_2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4,285 changes: 2,147 additions & 2,138 deletions IncrementalMinimization/results/compare_test.txt

Large diffs are not rendered by default.

Binary file modified IncrementalMinimization/results/heatmap.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
165 changes: 0 additions & 165 deletions IncrementalMinimization/results/record_test.txt

This file was deleted.

164 changes: 164 additions & 0 deletions IncrementalMinimization/results/second_record_test.txt

Large diffs are not rendered by default.

11 changes: 5 additions & 6 deletions IncrementalMinimization/scripts/record_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ def toNum(s):
for row in fStrings[1:]:
if row:
row = row.split(",")
print(row)
states = toNum(row[0])
for percent in row[1:-1]:
z.append(toNum(percent))
maxTime = toNum(row[-2])
for time in row[1:-1]:
percent = toNum(time)/maxTime*100
z.append(percent)
y.append(states)


Expand All @@ -41,9 +42,7 @@ def toNum(s):
X,Y = numpy.meshgrid(x,y)
z = abs(numpy.array(z))
Z = z.reshape(len(y),len(x))
print(y)
print(x)
print(Z.min())
print(Z)
pyplot.pcolormesh(X,Y,Z)
bar = pyplot.colorbar()
bar.set_label("Percentage of Time Passed")
Expand Down
21 changes: 21 additions & 0 deletions IncrementalMinimization/src/DebugException.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

class DebugException extends Exception
{
private final Integer maxDepth;

public DebugException (String message, Integer maxDepth)
{
super(message);
this.maxDepth = maxDepth;
}

public DebugException (String message)
{
this(message, null);
}

public int getDepth()
{
return maxDepth;
}
}
Loading

0 comments on commit 0db4ee8

Please sign in to comment.