ConstraintSolver 0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/ConstraintSolver +24 -0
- data/doc/classes/Array.html +209 -0
- data/doc/classes/ConstraintSolver.html +242 -0
- data/doc/classes/ConstraintSolver/AbstractConstraint.html +317 -0
- data/doc/classes/ConstraintSolver/AllDifferentConstraint.html +451 -0
- data/doc/classes/ConstraintSolver/AllDifferentConstraintTest.html +397 -0
- data/doc/classes/ConstraintSolver/BinaryConstraint.html +483 -0
- data/doc/classes/ConstraintSolver/BinaryConstraintTest.html +367 -0
- data/doc/classes/ConstraintSolver/BinaryRelation.html +276 -0
- data/doc/classes/ConstraintSolver/BinaryRelationTest.html +194 -0
- data/doc/classes/ConstraintSolver/ConstraintList.html +208 -0
- data/doc/classes/ConstraintSolver/ConstraintListTest.html +252 -0
- data/doc/classes/ConstraintSolver/ConstraintSolver.html +353 -0
- data/doc/classes/ConstraintSolver/ConstraintSolverTest.html +403 -0
- data/doc/classes/ConstraintSolver/Domain.html +522 -0
- data/doc/classes/ConstraintSolver/DomainTest.html +356 -0
- data/doc/classes/ConstraintSolver/DomainWipeoutException.html +158 -0
- data/doc/classes/ConstraintSolver/Problem.html +239 -0
- data/doc/classes/ConstraintSolver/ProblemTest.html +227 -0
- data/doc/classes/ConstraintSolver/Solution.html +342 -0
- data/doc/classes/ConstraintSolver/SolutionTest.html +250 -0
- data/doc/classes/ConstraintSolver/UndoStackEmptyException.html +158 -0
- data/doc/classes/ConstraintSolver/Variable.html +418 -0
- data/doc/classes/ConstraintSolver/VariableTest.html +284 -0
- data/doc/classes/ExtensionsTest.html +233 -0
- data/doc/classes/Fixnum.html +153 -0
- data/doc/created.rid +1 -0
- data/doc/dot/f_0.dot +38 -0
- data/doc/dot/f_0.png +0 -0
- data/doc/dot/f_1.dot +392 -0
- data/doc/dot/f_1.png +0 -0
- data/doc/dot/f_10.dot +392 -0
- data/doc/dot/f_10.png +0 -0
- data/doc/dot/f_11.dot +38 -0
- data/doc/dot/f_11.png +0 -0
- data/doc/dot/f_12.dot +392 -0
- data/doc/dot/f_12.png +0 -0
- data/doc/dot/f_13.dot +392 -0
- data/doc/dot/f_13.png +0 -0
- data/doc/dot/f_14.dot +392 -0
- data/doc/dot/f_14.png +0 -0
- data/doc/dot/f_15.dot +392 -0
- data/doc/dot/f_15.png +0 -0
- data/doc/dot/f_16.dot +392 -0
- data/doc/dot/f_16.png +0 -0
- data/doc/dot/f_17.dot +392 -0
- data/doc/dot/f_17.png +0 -0
- data/doc/dot/f_18.dot +392 -0
- data/doc/dot/f_18.png +0 -0
- data/doc/dot/f_19.dot +392 -0
- data/doc/dot/f_19.png +0 -0
- data/doc/dot/f_2.dot +392 -0
- data/doc/dot/f_2.png +0 -0
- data/doc/dot/f_3.dot +392 -0
- data/doc/dot/f_3.png +0 -0
- data/doc/dot/f_4.dot +392 -0
- data/doc/dot/f_4.png +0 -0
- data/doc/dot/f_5.dot +392 -0
- data/doc/dot/f_5.png +0 -0
- data/doc/dot/f_6.dot +14 -0
- data/doc/dot/f_6.png +0 -0
- data/doc/dot/f_7.dot +392 -0
- data/doc/dot/f_7.png +0 -0
- data/doc/dot/f_8.dot +392 -0
- data/doc/dot/f_8.png +0 -0
- data/doc/dot/f_9.dot +392 -0
- data/doc/dot/f_9.png +0 -0
- data/doc/dot/m_10_0.dot +392 -0
- data/doc/dot/m_10_0.png +0 -0
- data/doc/dot/m_12_0.dot +392 -0
- data/doc/dot/m_12_0.png +0 -0
- data/doc/dot/m_13_0.dot +392 -0
- data/doc/dot/m_13_0.png +0 -0
- data/doc/dot/m_14_0.dot +392 -0
- data/doc/dot/m_14_0.png +0 -0
- data/doc/dot/m_15_0.dot +392 -0
- data/doc/dot/m_15_0.png +0 -0
- data/doc/dot/m_16_0.dot +392 -0
- data/doc/dot/m_16_0.png +0 -0
- data/doc/dot/m_17_0.dot +392 -0
- data/doc/dot/m_17_0.png +0 -0
- data/doc/dot/m_18_0.dot +392 -0
- data/doc/dot/m_18_0.png +0 -0
- data/doc/dot/m_19_0.dot +392 -0
- data/doc/dot/m_19_0.png +0 -0
- data/doc/dot/m_1_0.dot +392 -0
- data/doc/dot/m_1_0.png +0 -0
- data/doc/dot/m_2_0.dot +392 -0
- data/doc/dot/m_2_0.png +0 -0
- data/doc/dot/m_3_0.dot +392 -0
- data/doc/dot/m_3_0.png +0 -0
- data/doc/dot/m_4_0.dot +392 -0
- data/doc/dot/m_4_0.png +0 -0
- data/doc/dot/m_5_0.dot +392 -0
- data/doc/dot/m_5_0.png +0 -0
- data/doc/dot/m_7_0.dot +392 -0
- data/doc/dot/m_7_0.png +0 -0
- data/doc/dot/m_8_0.dot +392 -0
- data/doc/dot/m_8_0.png +0 -0
- data/doc/dot/m_9_0.dot +392 -0
- data/doc/dot/m_9_0.png +0 -0
- data/doc/files/lib/AbstractConstraint_rb.html +148 -0
- data/doc/files/lib/AllDifferentConstraint_rb.html +156 -0
- data/doc/files/lib/BinaryConstraint_rb.html +155 -0
- data/doc/files/lib/ConstraintList_rb.html +148 -0
- data/doc/files/lib/ConstraintSolver_rb.html +162 -0
- data/doc/files/lib/Domain_rb.html +155 -0
- data/doc/files/lib/Problem_rb.html +148 -0
- data/doc/files/lib/Solution_rb.html +148 -0
- data/doc/files/lib/Variable_rb.html +148 -0
- data/doc/files/lib/extensions_rb.html +108 -0
- data/doc/files/test/AllDifferentConstraintTest_rb.html +158 -0
- data/doc/files/test/BinaryConstraintTest_rb.html +158 -0
- data/doc/files/test/ConstraintListTest_rb.html +160 -0
- data/doc/files/test/ConstraintSolverTest_rb.html +164 -0
- data/doc/files/test/DomainTest_rb.html +156 -0
- data/doc/files/test/ProblemTest_rb.html +160 -0
- data/doc/files/test/SolutionTest_rb.html +159 -0
- data/doc/files/test/TestSuite_rb.html +113 -0
- data/doc/files/test/VariableTest_rb.html +157 -0
- data/doc/files/test/extensionsTest_rb.html +118 -0
- data/doc/fr_class_index.html +51 -0
- data/doc/fr_file_index.html +46 -0
- data/doc/fr_method_index.html +133 -0
- data/doc/index.html +24 -0
- data/examples/example.rb +7 -0
- data/examples/queens.rb +13 -0
- data/examples/soft.rb +14 -0
- data/lib/AbstractConstraint.rb +45 -0
- data/lib/AllDifferentConstraint.rb +160 -0
- data/lib/BinaryConstraint.rb +187 -0
- data/lib/ConstraintList.rb +31 -0
- data/lib/ConstraintSolver.rb +213 -0
- data/lib/Domain.rb +100 -0
- data/lib/GraphUtils.rb +293 -0
- data/lib/OneOfEqualsConstraint.rb +81 -0
- data/lib/Problem.rb +30 -0
- data/lib/Solution.rb +56 -0
- data/lib/TupleConstraint.rb +111 -0
- data/lib/Variable.rb +74 -0
- data/lib/extensions.rb +55 -0
- data/test/AllDifferentConstraintTest.rb +140 -0
- data/test/BinaryConstraintTest.rb +108 -0
- data/test/ConstraintListTest.rb +41 -0
- data/test/ConstraintSolverTest.rb +274 -0
- data/test/DomainTest.rb +83 -0
- data/test/GraphUtilsTest.rb +83 -0
- data/test/OneOfEqualsConstraintTest.rb +82 -0
- data/test/ProblemTest.rb +35 -0
- data/test/SolutionTest.rb +35 -0
- data/test/TestSuite.rb +10 -0
- data/test/TupleConstraintTest.rb +151 -0
- data/test/VariableTest.rb +47 -0
- data/test/extensionsTest.rb +57 -0
- metadata +212 -0
data/doc/dot/f_18.png
ADDED
|
Binary file
|
data/doc/dot/f_19.dot
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
digraph TopLevel {
|
|
2
|
+
compound = true
|
|
3
|
+
bgcolor = lightcyan1
|
|
4
|
+
fontname = Arial
|
|
5
|
+
fontsize = 8
|
|
6
|
+
label = "TopLevel"
|
|
7
|
+
node [
|
|
8
|
+
fontname = Arial,
|
|
9
|
+
fontsize = 8,
|
|
10
|
+
color = black
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
Test__Unit__TestCase [
|
|
14
|
+
URL = "classes/Test/Unit/TestCase.html",
|
|
15
|
+
label = "Test::Unit::TestCase"
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
Test__Unit__TestCase -> ConstraintSolver__AllDifferentConstraintTest [
|
|
19
|
+
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
Test__Unit__TestCase -> ConstraintSolver__SolutionTest [
|
|
23
|
+
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
Exception [
|
|
27
|
+
URL = "classes/Exception.html",
|
|
28
|
+
label = "Exception"
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
Exception -> ConstraintSolver__DomainWipeoutException [
|
|
32
|
+
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
Test__Unit__TestCase -> ConstraintSolver__ConstraintSolverTest [
|
|
36
|
+
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
Test__Unit__TestCase -> ConstraintSolver__ConstraintListTest [
|
|
40
|
+
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
Test__Unit__TestCase -> ConstraintSolver__VariableTest [
|
|
44
|
+
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
Test__Unit__TestCase -> ConstraintSolver__DomainTest [
|
|
48
|
+
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
Test__Unit__TestCase -> ConstraintSolver__BinaryConstraintTest [
|
|
52
|
+
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
Test__Unit__TestCase -> ConstraintSolver__ProblemTest [
|
|
56
|
+
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
ConstraintSolver__AbstractConstraint -> ConstraintSolver__BinaryConstraint [
|
|
60
|
+
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
Test__Unit__TestCase -> ConstraintSolver__BinaryRelationTest [
|
|
64
|
+
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
Array [
|
|
68
|
+
URL = "classes/Array.html",
|
|
69
|
+
label = "Array"
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
Array -> ConstraintSolver__ConstraintList [
|
|
73
|
+
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
ConstraintSolver__AbstractConstraint -> ConstraintSolver__AllDifferentConstraint [
|
|
77
|
+
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
Exception -> ConstraintSolver__UndoStackEmptyException [
|
|
81
|
+
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
subgraph cluster_ConstraintSolver {
|
|
85
|
+
fillcolor = palegreen1
|
|
86
|
+
URL = "classes/ConstraintSolver.html"
|
|
87
|
+
fontname = Arial
|
|
88
|
+
color = blue
|
|
89
|
+
label = "ConstraintSolver"
|
|
90
|
+
style = filled
|
|
91
|
+
ConstraintSolver [
|
|
92
|
+
shape = plaintext,
|
|
93
|
+
height = 0.01,
|
|
94
|
+
width = 0.01,
|
|
95
|
+
label = ""
|
|
96
|
+
]
|
|
97
|
+
|
|
98
|
+
subgraph cluster_589 {
|
|
99
|
+
fontname = Arial
|
|
100
|
+
color = black
|
|
101
|
+
label = "test/DomainTest.rb"
|
|
102
|
+
ConstraintSolver__DomainTest [
|
|
103
|
+
fontcolor = black,
|
|
104
|
+
URL = "classes/ConstraintSolver/DomainTest.html",
|
|
105
|
+
shape = ellipse,
|
|
106
|
+
color = palegoldenrod,
|
|
107
|
+
style = filled,
|
|
108
|
+
label = "DomainTest"
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
subgraph cluster_582 {
|
|
114
|
+
fontname = Arial
|
|
115
|
+
color = black
|
|
116
|
+
label = "test/SolutionTest.rb"
|
|
117
|
+
ConstraintSolver__SolutionTest [
|
|
118
|
+
fontcolor = black,
|
|
119
|
+
URL = "classes/ConstraintSolver/SolutionTest.html",
|
|
120
|
+
shape = ellipse,
|
|
121
|
+
color = palegoldenrod,
|
|
122
|
+
style = filled,
|
|
123
|
+
label = "SolutionTest"
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
subgraph cluster_580 {
|
|
129
|
+
fontname = Arial
|
|
130
|
+
color = black
|
|
131
|
+
label = "lib/BinaryConstraint.rb"
|
|
132
|
+
ConstraintSolver__BinaryRelation [
|
|
133
|
+
fontcolor = black,
|
|
134
|
+
URL = "classes/ConstraintSolver/BinaryRelation.html",
|
|
135
|
+
shape = ellipse,
|
|
136
|
+
color = palegoldenrod,
|
|
137
|
+
style = filled,
|
|
138
|
+
label = "BinaryRelation"
|
|
139
|
+
]
|
|
140
|
+
|
|
141
|
+
ConstraintSolver__BinaryConstraint [
|
|
142
|
+
fontcolor = black,
|
|
143
|
+
URL = "classes/ConstraintSolver/BinaryConstraint.html",
|
|
144
|
+
shape = ellipse,
|
|
145
|
+
color = palegoldenrod,
|
|
146
|
+
style = filled,
|
|
147
|
+
label = "BinaryConstraint"
|
|
148
|
+
]
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
subgraph cluster_592 {
|
|
153
|
+
fontname = Arial
|
|
154
|
+
color = black
|
|
155
|
+
label = "lib/Variable.rb"
|
|
156
|
+
ConstraintSolver__Variable [
|
|
157
|
+
fontcolor = black,
|
|
158
|
+
URL = "classes/ConstraintSolver/Variable.html",
|
|
159
|
+
shape = ellipse,
|
|
160
|
+
color = palegoldenrod,
|
|
161
|
+
style = filled,
|
|
162
|
+
label = "Variable"
|
|
163
|
+
]
|
|
164
|
+
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
subgraph cluster_586 {
|
|
168
|
+
fontname = Arial
|
|
169
|
+
color = black
|
|
170
|
+
label = "test/ConstraintListTest.rb"
|
|
171
|
+
ConstraintSolver__ConstraintListTest [
|
|
172
|
+
fontcolor = black,
|
|
173
|
+
URL = "classes/ConstraintSolver/ConstraintListTest.html",
|
|
174
|
+
shape = ellipse,
|
|
175
|
+
color = palegoldenrod,
|
|
176
|
+
style = filled,
|
|
177
|
+
label = "ConstraintListTest"
|
|
178
|
+
]
|
|
179
|
+
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
subgraph cluster_594 {
|
|
183
|
+
fontname = Arial
|
|
184
|
+
color = black
|
|
185
|
+
label = "lib/ConstraintList.rb"
|
|
186
|
+
ConstraintSolver__ConstraintList [
|
|
187
|
+
fontcolor = black,
|
|
188
|
+
URL = "classes/ConstraintSolver/ConstraintList.html",
|
|
189
|
+
shape = ellipse,
|
|
190
|
+
color = palegoldenrod,
|
|
191
|
+
style = filled,
|
|
192
|
+
label = "ConstraintList"
|
|
193
|
+
]
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
subgraph cluster_593 {
|
|
198
|
+
fontname = Arial
|
|
199
|
+
color = black
|
|
200
|
+
label = "test/ProblemTest.rb"
|
|
201
|
+
ConstraintSolver__ProblemTest [
|
|
202
|
+
fontcolor = black,
|
|
203
|
+
URL = "classes/ConstraintSolver/ProblemTest.html",
|
|
204
|
+
shape = ellipse,
|
|
205
|
+
color = palegoldenrod,
|
|
206
|
+
style = filled,
|
|
207
|
+
label = "ProblemTest"
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
subgraph cluster_587 {
|
|
213
|
+
fontname = Arial
|
|
214
|
+
color = black
|
|
215
|
+
label = "lib/Solution.rb"
|
|
216
|
+
ConstraintSolver__Solution [
|
|
217
|
+
fontcolor = black,
|
|
218
|
+
URL = "classes/ConstraintSolver/Solution.html",
|
|
219
|
+
shape = ellipse,
|
|
220
|
+
color = palegoldenrod,
|
|
221
|
+
style = filled,
|
|
222
|
+
label = "Solution"
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
subgraph cluster_591 {
|
|
228
|
+
fontname = Arial
|
|
229
|
+
color = black
|
|
230
|
+
label = "test/BinaryConstraintTest.rb"
|
|
231
|
+
ConstraintSolver__BinaryConstraintTest [
|
|
232
|
+
fontcolor = black,
|
|
233
|
+
URL = "classes/ConstraintSolver/BinaryConstraintTest.html",
|
|
234
|
+
shape = ellipse,
|
|
235
|
+
color = palegoldenrod,
|
|
236
|
+
style = filled,
|
|
237
|
+
label = "BinaryConstraintTest"
|
|
238
|
+
]
|
|
239
|
+
|
|
240
|
+
ConstraintSolver__BinaryRelationTest [
|
|
241
|
+
fontcolor = black,
|
|
242
|
+
URL = "classes/ConstraintSolver/BinaryRelationTest.html",
|
|
243
|
+
shape = ellipse,
|
|
244
|
+
color = palegoldenrod,
|
|
245
|
+
style = filled,
|
|
246
|
+
label = "BinaryRelationTest"
|
|
247
|
+
]
|
|
248
|
+
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
subgraph cluster_590 {
|
|
252
|
+
fontname = Arial
|
|
253
|
+
color = red
|
|
254
|
+
label = "lib/ConstraintSolver.rb"
|
|
255
|
+
ConstraintSolver__ConstraintSolver [
|
|
256
|
+
fontcolor = black,
|
|
257
|
+
URL = "classes/ConstraintSolver/ConstraintSolver.html",
|
|
258
|
+
shape = ellipse,
|
|
259
|
+
color = palegoldenrod,
|
|
260
|
+
style = filled,
|
|
261
|
+
label = "ConstraintSolver"
|
|
262
|
+
]
|
|
263
|
+
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
subgraph cluster_588 {
|
|
267
|
+
fontname = Arial
|
|
268
|
+
color = black
|
|
269
|
+
label = "test/VariableTest.rb"
|
|
270
|
+
ConstraintSolver__VariableTest [
|
|
271
|
+
fontcolor = black,
|
|
272
|
+
URL = "classes/ConstraintSolver/VariableTest.html",
|
|
273
|
+
shape = ellipse,
|
|
274
|
+
color = palegoldenrod,
|
|
275
|
+
style = filled,
|
|
276
|
+
label = "VariableTest"
|
|
277
|
+
]
|
|
278
|
+
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
subgraph cluster_581 {
|
|
282
|
+
fontname = Arial
|
|
283
|
+
color = black
|
|
284
|
+
label = "test/AllDifferentConstraintTest.rb"
|
|
285
|
+
ConstraintSolver__AllDifferentConstraintTest [
|
|
286
|
+
fontcolor = black,
|
|
287
|
+
URL = "classes/ConstraintSolver/AllDifferentConstraintTest.html",
|
|
288
|
+
shape = ellipse,
|
|
289
|
+
color = palegoldenrod,
|
|
290
|
+
style = filled,
|
|
291
|
+
label = "AllDifferentConstraintTest"
|
|
292
|
+
]
|
|
293
|
+
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
subgraph cluster_596 {
|
|
297
|
+
fontname = Arial
|
|
298
|
+
color = black
|
|
299
|
+
label = "lib/AllDifferentConstraint.rb"
|
|
300
|
+
ConstraintSolver__AllDifferentConstraint [
|
|
301
|
+
fontcolor = black,
|
|
302
|
+
URL = "classes/ConstraintSolver/AllDifferentConstraint.html",
|
|
303
|
+
shape = ellipse,
|
|
304
|
+
color = palegoldenrod,
|
|
305
|
+
style = filled,
|
|
306
|
+
label = "AllDifferentConstraint"
|
|
307
|
+
]
|
|
308
|
+
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
subgraph cluster_595 {
|
|
312
|
+
fontname = Arial
|
|
313
|
+
color = black
|
|
314
|
+
label = "lib/Problem.rb"
|
|
315
|
+
ConstraintSolver__Problem [
|
|
316
|
+
fontcolor = black,
|
|
317
|
+
URL = "classes/ConstraintSolver/Problem.html",
|
|
318
|
+
shape = ellipse,
|
|
319
|
+
color = palegoldenrod,
|
|
320
|
+
style = filled,
|
|
321
|
+
label = "Problem"
|
|
322
|
+
]
|
|
323
|
+
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
subgraph cluster_585 {
|
|
327
|
+
fontname = Arial
|
|
328
|
+
color = black
|
|
329
|
+
label = "test/ConstraintSolverTest.rb"
|
|
330
|
+
ConstraintSolver__ConstraintSolverTest [
|
|
331
|
+
fontcolor = black,
|
|
332
|
+
URL = "classes/ConstraintSolver/ConstraintSolverTest.html",
|
|
333
|
+
shape = ellipse,
|
|
334
|
+
color = palegoldenrod,
|
|
335
|
+
style = filled,
|
|
336
|
+
label = "ConstraintSolverTest"
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
subgraph cluster_583 {
|
|
342
|
+
fontname = Arial
|
|
343
|
+
color = black
|
|
344
|
+
label = "lib/Domain.rb"
|
|
345
|
+
ConstraintSolver__DomainWipeoutException [
|
|
346
|
+
fontcolor = black,
|
|
347
|
+
URL = "classes/ConstraintSolver/DomainWipeoutException.html",
|
|
348
|
+
shape = ellipse,
|
|
349
|
+
color = palegoldenrod,
|
|
350
|
+
style = filled,
|
|
351
|
+
label = "DomainWipeoutException"
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
ConstraintSolver__Domain [
|
|
355
|
+
fontcolor = black,
|
|
356
|
+
URL = "classes/ConstraintSolver/Domain.html",
|
|
357
|
+
shape = ellipse,
|
|
358
|
+
color = palegoldenrod,
|
|
359
|
+
style = filled,
|
|
360
|
+
label = "Domain"
|
|
361
|
+
]
|
|
362
|
+
|
|
363
|
+
ConstraintSolver__UndoStackEmptyException [
|
|
364
|
+
fontcolor = black,
|
|
365
|
+
URL = "classes/ConstraintSolver/UndoStackEmptyException.html",
|
|
366
|
+
shape = ellipse,
|
|
367
|
+
color = palegoldenrod,
|
|
368
|
+
style = filled,
|
|
369
|
+
label = "UndoStackEmptyException"
|
|
370
|
+
]
|
|
371
|
+
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
subgraph cluster_584 {
|
|
375
|
+
fontname = Arial
|
|
376
|
+
color = black
|
|
377
|
+
label = "lib/AbstractConstraint.rb"
|
|
378
|
+
ConstraintSolver__AbstractConstraint [
|
|
379
|
+
fontcolor = black,
|
|
380
|
+
URL = "classes/ConstraintSolver/AbstractConstraint.html",
|
|
381
|
+
shape = ellipse,
|
|
382
|
+
color = palegoldenrod,
|
|
383
|
+
style = filled,
|
|
384
|
+
label = "AbstractConstraint"
|
|
385
|
+
]
|
|
386
|
+
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
}
|
|
392
|
+
|
data/doc/dot/f_19.png
ADDED
|
Binary file
|
data/doc/dot/f_2.dot
ADDED
|
@@ -0,0 +1,392 @@
|
|
|
1
|
+
digraph TopLevel {
|
|
2
|
+
compound = true
|
|
3
|
+
bgcolor = lightcyan1
|
|
4
|
+
fontname = Arial
|
|
5
|
+
fontsize = 8
|
|
6
|
+
label = "TopLevel"
|
|
7
|
+
node [
|
|
8
|
+
fontname = Arial,
|
|
9
|
+
fontsize = 8,
|
|
10
|
+
color = black
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
Test__Unit__TestCase [
|
|
14
|
+
URL = "classes/Test/Unit/TestCase.html",
|
|
15
|
+
label = "Test::Unit::TestCase"
|
|
16
|
+
]
|
|
17
|
+
|
|
18
|
+
Test__Unit__TestCase -> ConstraintSolver__AllDifferentConstraintTest [
|
|
19
|
+
|
|
20
|
+
]
|
|
21
|
+
|
|
22
|
+
Test__Unit__TestCase -> ConstraintSolver__SolutionTest [
|
|
23
|
+
|
|
24
|
+
]
|
|
25
|
+
|
|
26
|
+
Exception [
|
|
27
|
+
URL = "classes/Exception.html",
|
|
28
|
+
label = "Exception"
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
Exception -> ConstraintSolver__DomainWipeoutException [
|
|
32
|
+
|
|
33
|
+
]
|
|
34
|
+
|
|
35
|
+
Test__Unit__TestCase -> ConstraintSolver__ConstraintSolverTest [
|
|
36
|
+
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
Test__Unit__TestCase -> ConstraintSolver__ConstraintListTest [
|
|
40
|
+
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
Test__Unit__TestCase -> ConstraintSolver__VariableTest [
|
|
44
|
+
|
|
45
|
+
]
|
|
46
|
+
|
|
47
|
+
Test__Unit__TestCase -> ConstraintSolver__DomainTest [
|
|
48
|
+
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
Test__Unit__TestCase -> ConstraintSolver__BinaryConstraintTest [
|
|
52
|
+
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
Test__Unit__TestCase -> ConstraintSolver__ProblemTest [
|
|
56
|
+
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
ConstraintSolver__AbstractConstraint -> ConstraintSolver__BinaryConstraint [
|
|
60
|
+
|
|
61
|
+
]
|
|
62
|
+
|
|
63
|
+
Test__Unit__TestCase -> ConstraintSolver__BinaryRelationTest [
|
|
64
|
+
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
Array [
|
|
68
|
+
URL = "classes/Array.html",
|
|
69
|
+
label = "Array"
|
|
70
|
+
]
|
|
71
|
+
|
|
72
|
+
Array -> ConstraintSolver__ConstraintList [
|
|
73
|
+
|
|
74
|
+
]
|
|
75
|
+
|
|
76
|
+
ConstraintSolver__AbstractConstraint -> ConstraintSolver__AllDifferentConstraint [
|
|
77
|
+
|
|
78
|
+
]
|
|
79
|
+
|
|
80
|
+
Exception -> ConstraintSolver__UndoStackEmptyException [
|
|
81
|
+
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
subgraph cluster_ConstraintSolver {
|
|
85
|
+
fillcolor = palegreen1
|
|
86
|
+
URL = "classes/ConstraintSolver.html"
|
|
87
|
+
fontname = Arial
|
|
88
|
+
color = blue
|
|
89
|
+
label = "ConstraintSolver"
|
|
90
|
+
style = filled
|
|
91
|
+
ConstraintSolver [
|
|
92
|
+
shape = plaintext,
|
|
93
|
+
height = 0.01,
|
|
94
|
+
width = 0.01,
|
|
95
|
+
label = ""
|
|
96
|
+
]
|
|
97
|
+
|
|
98
|
+
subgraph cluster_48 {
|
|
99
|
+
fontname = Arial
|
|
100
|
+
color = red
|
|
101
|
+
label = "test/DomainTest.rb"
|
|
102
|
+
ConstraintSolver__DomainTest [
|
|
103
|
+
fontcolor = black,
|
|
104
|
+
URL = "classes/ConstraintSolver/DomainTest.html",
|
|
105
|
+
shape = ellipse,
|
|
106
|
+
color = palegoldenrod,
|
|
107
|
+
style = filled,
|
|
108
|
+
label = "DomainTest"
|
|
109
|
+
]
|
|
110
|
+
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
subgraph cluster_41 {
|
|
114
|
+
fontname = Arial
|
|
115
|
+
color = black
|
|
116
|
+
label = "test/SolutionTest.rb"
|
|
117
|
+
ConstraintSolver__SolutionTest [
|
|
118
|
+
fontcolor = black,
|
|
119
|
+
URL = "classes/ConstraintSolver/SolutionTest.html",
|
|
120
|
+
shape = ellipse,
|
|
121
|
+
color = palegoldenrod,
|
|
122
|
+
style = filled,
|
|
123
|
+
label = "SolutionTest"
|
|
124
|
+
]
|
|
125
|
+
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
subgraph cluster_39 {
|
|
129
|
+
fontname = Arial
|
|
130
|
+
color = black
|
|
131
|
+
label = "lib/BinaryConstraint.rb"
|
|
132
|
+
ConstraintSolver__BinaryRelation [
|
|
133
|
+
fontcolor = black,
|
|
134
|
+
URL = "classes/ConstraintSolver/BinaryRelation.html",
|
|
135
|
+
shape = ellipse,
|
|
136
|
+
color = palegoldenrod,
|
|
137
|
+
style = filled,
|
|
138
|
+
label = "BinaryRelation"
|
|
139
|
+
]
|
|
140
|
+
|
|
141
|
+
ConstraintSolver__BinaryConstraint [
|
|
142
|
+
fontcolor = black,
|
|
143
|
+
URL = "classes/ConstraintSolver/BinaryConstraint.html",
|
|
144
|
+
shape = ellipse,
|
|
145
|
+
color = palegoldenrod,
|
|
146
|
+
style = filled,
|
|
147
|
+
label = "BinaryConstraint"
|
|
148
|
+
]
|
|
149
|
+
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
subgraph cluster_51 {
|
|
153
|
+
fontname = Arial
|
|
154
|
+
color = black
|
|
155
|
+
label = "lib/Variable.rb"
|
|
156
|
+
ConstraintSolver__Variable [
|
|
157
|
+
fontcolor = black,
|
|
158
|
+
URL = "classes/ConstraintSolver/Variable.html",
|
|
159
|
+
shape = ellipse,
|
|
160
|
+
color = palegoldenrod,
|
|
161
|
+
style = filled,
|
|
162
|
+
label = "Variable"
|
|
163
|
+
]
|
|
164
|
+
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
subgraph cluster_45 {
|
|
168
|
+
fontname = Arial
|
|
169
|
+
color = black
|
|
170
|
+
label = "test/ConstraintListTest.rb"
|
|
171
|
+
ConstraintSolver__ConstraintListTest [
|
|
172
|
+
fontcolor = black,
|
|
173
|
+
URL = "classes/ConstraintSolver/ConstraintListTest.html",
|
|
174
|
+
shape = ellipse,
|
|
175
|
+
color = palegoldenrod,
|
|
176
|
+
style = filled,
|
|
177
|
+
label = "ConstraintListTest"
|
|
178
|
+
]
|
|
179
|
+
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
subgraph cluster_53 {
|
|
183
|
+
fontname = Arial
|
|
184
|
+
color = black
|
|
185
|
+
label = "lib/ConstraintList.rb"
|
|
186
|
+
ConstraintSolver__ConstraintList [
|
|
187
|
+
fontcolor = black,
|
|
188
|
+
URL = "classes/ConstraintSolver/ConstraintList.html",
|
|
189
|
+
shape = ellipse,
|
|
190
|
+
color = palegoldenrod,
|
|
191
|
+
style = filled,
|
|
192
|
+
label = "ConstraintList"
|
|
193
|
+
]
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
subgraph cluster_52 {
|
|
198
|
+
fontname = Arial
|
|
199
|
+
color = black
|
|
200
|
+
label = "test/ProblemTest.rb"
|
|
201
|
+
ConstraintSolver__ProblemTest [
|
|
202
|
+
fontcolor = black,
|
|
203
|
+
URL = "classes/ConstraintSolver/ProblemTest.html",
|
|
204
|
+
shape = ellipse,
|
|
205
|
+
color = palegoldenrod,
|
|
206
|
+
style = filled,
|
|
207
|
+
label = "ProblemTest"
|
|
208
|
+
]
|
|
209
|
+
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
subgraph cluster_46 {
|
|
213
|
+
fontname = Arial
|
|
214
|
+
color = black
|
|
215
|
+
label = "lib/Solution.rb"
|
|
216
|
+
ConstraintSolver__Solution [
|
|
217
|
+
fontcolor = black,
|
|
218
|
+
URL = "classes/ConstraintSolver/Solution.html",
|
|
219
|
+
shape = ellipse,
|
|
220
|
+
color = palegoldenrod,
|
|
221
|
+
style = filled,
|
|
222
|
+
label = "Solution"
|
|
223
|
+
]
|
|
224
|
+
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
subgraph cluster_50 {
|
|
228
|
+
fontname = Arial
|
|
229
|
+
color = black
|
|
230
|
+
label = "test/BinaryConstraintTest.rb"
|
|
231
|
+
ConstraintSolver__BinaryConstraintTest [
|
|
232
|
+
fontcolor = black,
|
|
233
|
+
URL = "classes/ConstraintSolver/BinaryConstraintTest.html",
|
|
234
|
+
shape = ellipse,
|
|
235
|
+
color = palegoldenrod,
|
|
236
|
+
style = filled,
|
|
237
|
+
label = "BinaryConstraintTest"
|
|
238
|
+
]
|
|
239
|
+
|
|
240
|
+
ConstraintSolver__BinaryRelationTest [
|
|
241
|
+
fontcolor = black,
|
|
242
|
+
URL = "classes/ConstraintSolver/BinaryRelationTest.html",
|
|
243
|
+
shape = ellipse,
|
|
244
|
+
color = palegoldenrod,
|
|
245
|
+
style = filled,
|
|
246
|
+
label = "BinaryRelationTest"
|
|
247
|
+
]
|
|
248
|
+
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
subgraph cluster_49 {
|
|
252
|
+
fontname = Arial
|
|
253
|
+
color = black
|
|
254
|
+
label = "lib/ConstraintSolver.rb"
|
|
255
|
+
ConstraintSolver__ConstraintSolver [
|
|
256
|
+
fontcolor = black,
|
|
257
|
+
URL = "classes/ConstraintSolver/ConstraintSolver.html",
|
|
258
|
+
shape = ellipse,
|
|
259
|
+
color = palegoldenrod,
|
|
260
|
+
style = filled,
|
|
261
|
+
label = "ConstraintSolver"
|
|
262
|
+
]
|
|
263
|
+
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
subgraph cluster_47 {
|
|
267
|
+
fontname = Arial
|
|
268
|
+
color = black
|
|
269
|
+
label = "test/VariableTest.rb"
|
|
270
|
+
ConstraintSolver__VariableTest [
|
|
271
|
+
fontcolor = black,
|
|
272
|
+
URL = "classes/ConstraintSolver/VariableTest.html",
|
|
273
|
+
shape = ellipse,
|
|
274
|
+
color = palegoldenrod,
|
|
275
|
+
style = filled,
|
|
276
|
+
label = "VariableTest"
|
|
277
|
+
]
|
|
278
|
+
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
subgraph cluster_40 {
|
|
282
|
+
fontname = Arial
|
|
283
|
+
color = black
|
|
284
|
+
label = "test/AllDifferentConstraintTest.rb"
|
|
285
|
+
ConstraintSolver__AllDifferentConstraintTest [
|
|
286
|
+
fontcolor = black,
|
|
287
|
+
URL = "classes/ConstraintSolver/AllDifferentConstraintTest.html",
|
|
288
|
+
shape = ellipse,
|
|
289
|
+
color = palegoldenrod,
|
|
290
|
+
style = filled,
|
|
291
|
+
label = "AllDifferentConstraintTest"
|
|
292
|
+
]
|
|
293
|
+
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
subgraph cluster_55 {
|
|
297
|
+
fontname = Arial
|
|
298
|
+
color = black
|
|
299
|
+
label = "lib/AllDifferentConstraint.rb"
|
|
300
|
+
ConstraintSolver__AllDifferentConstraint [
|
|
301
|
+
fontcolor = black,
|
|
302
|
+
URL = "classes/ConstraintSolver/AllDifferentConstraint.html",
|
|
303
|
+
shape = ellipse,
|
|
304
|
+
color = palegoldenrod,
|
|
305
|
+
style = filled,
|
|
306
|
+
label = "AllDifferentConstraint"
|
|
307
|
+
]
|
|
308
|
+
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
subgraph cluster_54 {
|
|
312
|
+
fontname = Arial
|
|
313
|
+
color = black
|
|
314
|
+
label = "lib/Problem.rb"
|
|
315
|
+
ConstraintSolver__Problem [
|
|
316
|
+
fontcolor = black,
|
|
317
|
+
URL = "classes/ConstraintSolver/Problem.html",
|
|
318
|
+
shape = ellipse,
|
|
319
|
+
color = palegoldenrod,
|
|
320
|
+
style = filled,
|
|
321
|
+
label = "Problem"
|
|
322
|
+
]
|
|
323
|
+
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
subgraph cluster_44 {
|
|
327
|
+
fontname = Arial
|
|
328
|
+
color = black
|
|
329
|
+
label = "test/ConstraintSolverTest.rb"
|
|
330
|
+
ConstraintSolver__ConstraintSolverTest [
|
|
331
|
+
fontcolor = black,
|
|
332
|
+
URL = "classes/ConstraintSolver/ConstraintSolverTest.html",
|
|
333
|
+
shape = ellipse,
|
|
334
|
+
color = palegoldenrod,
|
|
335
|
+
style = filled,
|
|
336
|
+
label = "ConstraintSolverTest"
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
subgraph cluster_42 {
|
|
342
|
+
fontname = Arial
|
|
343
|
+
color = black
|
|
344
|
+
label = "lib/Domain.rb"
|
|
345
|
+
ConstraintSolver__DomainWipeoutException [
|
|
346
|
+
fontcolor = black,
|
|
347
|
+
URL = "classes/ConstraintSolver/DomainWipeoutException.html",
|
|
348
|
+
shape = ellipse,
|
|
349
|
+
color = palegoldenrod,
|
|
350
|
+
style = filled,
|
|
351
|
+
label = "DomainWipeoutException"
|
|
352
|
+
]
|
|
353
|
+
|
|
354
|
+
ConstraintSolver__Domain [
|
|
355
|
+
fontcolor = black,
|
|
356
|
+
URL = "classes/ConstraintSolver/Domain.html",
|
|
357
|
+
shape = ellipse,
|
|
358
|
+
color = palegoldenrod,
|
|
359
|
+
style = filled,
|
|
360
|
+
label = "Domain"
|
|
361
|
+
]
|
|
362
|
+
|
|
363
|
+
ConstraintSolver__UndoStackEmptyException [
|
|
364
|
+
fontcolor = black,
|
|
365
|
+
URL = "classes/ConstraintSolver/UndoStackEmptyException.html",
|
|
366
|
+
shape = ellipse,
|
|
367
|
+
color = palegoldenrod,
|
|
368
|
+
style = filled,
|
|
369
|
+
label = "UndoStackEmptyException"
|
|
370
|
+
]
|
|
371
|
+
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
subgraph cluster_43 {
|
|
375
|
+
fontname = Arial
|
|
376
|
+
color = black
|
|
377
|
+
label = "lib/AbstractConstraint.rb"
|
|
378
|
+
ConstraintSolver__AbstractConstraint [
|
|
379
|
+
fontcolor = black,
|
|
380
|
+
URL = "classes/ConstraintSolver/AbstractConstraint.html",
|
|
381
|
+
shape = ellipse,
|
|
382
|
+
color = palegoldenrod,
|
|
383
|
+
style = filled,
|
|
384
|
+
label = "AbstractConstraint"
|
|
385
|
+
]
|
|
386
|
+
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
}
|
|
392
|
+
|