| 1 |
2024-06-07 Steven M. Eker <eker@eker10> |
| 2 |
|
| 3 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added dummy |
| 4 |
operator delete() to avoid -Wmismatched-new-delete warning with |
| 5 |
g++ |
| 6 |
|
| 7 |
===================================Maude163=========================================== |
| 8 |
|
| 9 |
2023-05-02 Steven Eker <eker@pup> |
| 10 |
|
| 11 |
* ACU_SlowIter.hh (ACU_SlowIter::reset): added |
| 12 |
|
| 13 |
===================================Maude148=========================================== |
| 14 |
|
| 15 |
2019-07-01 Steven Eker <eker@mu> |
| 16 |
|
| 17 |
* ACU_RedBlackNode.hh: rewritten using new MemoryCell definition |
| 18 |
|
| 19 |
===================================Maude123=========================================== |
| 20 |
|
| 21 |
2017-04-20 Steven Eker <[email protected]> |
| 22 |
|
| 23 |
* ACU_Find.cc (findFirstPotentialMatch): added comment |
| 24 |
|
| 25 |
===================================Maude112a=========================================== |
| 26 |
|
| 27 |
2013-09-26 Steven Eker <[email protected]> |
| 28 |
|
| 29 |
* ACU_RedBlackNode.hh (new): set half word to SORT_UNKNOWN rather |
| 30 |
than relying on allocateMemoryCell() |
| 31 |
(new): call initFlags() |
| 32 |
(new): clean up; update comments; initFlags() becomes |
| 33 |
clearAllFlags() |
| 34 |
|
| 35 |
===================================Maude98=========================================== |
| 36 |
|
| 37 |
2010-04-19 Steven Eker <eker@rho> |
| 38 |
|
| 39 |
* ACU_FastIter.hh (ACU_FastIter::next): avoid passing null to |
| 40 |
stackLeftmostPath() |
| 41 |
|
| 42 |
* ACU_Delete.cc (ACU_RedBlackNode::consDelete): use |
| 43 |
stackLeftmostPath() |
| 44 |
|
| 45 |
* ACU_Stack.hh (ACU_Stack::stackLeftmostPath): converted loop from |
| 46 |
while-do to do-while |
| 47 |
|
| 48 |
* ACU_SlowIter.hh (ACU_SlowIter::next): deleted commented out |
| 49 |
version |
| 50 |
|
| 51 |
===================================Maude93a=========================================== |
| 52 |
|
| 53 |
2010-02-18 Steven Eker <eker@rho> |
| 54 |
|
| 55 |
* ACU_RedBlackNode.hh (ACU_RedBlackNode::getChild): use sign < 0 |
| 56 |
rather than getSignBit() in the hope that the compiler can be |
| 57 |
smart about optimizing the right shift |
| 58 |
|
| 59 |
===================================Maude92c=========================================== |
| 60 |
|
| 61 |
2009-12-09 Steven Eker <[email protected]> |
| 62 |
|
| 63 |
* ACU_Tree.cc (makeCanonical): added |
| 64 |
|
| 65 |
* ACU_Tree.hh (class ACU_Tree): added decl for makeCanonical() |
| 66 |
|
| 67 |
2009-12-08 Steven Eker <[email protected]> |
| 68 |
|
| 69 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added decl for |
| 70 |
canonicalRebuild() |
| 71 |
|
| 72 |
* ACU_RedBlackNode.cc (canonicalRebuild): added |
| 73 |
|
| 74 |
* ACU_RedBlackNode.hh (ACU_RedBlackNode): removed what appears to |
| 75 |
be an unneeded getMemoryCell()->setByte() |
| 76 |
|
| 77 |
===================================Maude92b=========================================== |
| 78 |
|
| 79 |
2003-05-29 Steven Eker <[email protected]> |
| 80 |
|
| 81 |
* ACU_Tree.hh (deleteMult2): added |
| 82 |
|
| 83 |
2003-05-12 Steven Eker <[email protected]> |
| 84 |
|
| 85 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): deleted SAT_MULT |
| 86 |
from enum PublicValues |
| 87 |
|
| 88 |
2003-05-06 Steven Eker <[email protected]> |
| 89 |
|
| 90 |
* ACU_Tree.hh (class ACU_Tree): added decl for computeBaseSort2() |
| 91 |
|
| 92 |
* ACU_Tree.cc (recComputeBaseSort): deleted |
| 93 |
|
| 94 |
* ACU_Tree.hh (computeBaseSort): moved here and rewritten |
| 95 |
|
| 96 |
* ACU_Tree.cc (computeBaseSort2): added |
| 97 |
(recComputeBaseSort): deleted |
| 98 |
|
| 99 |
* ACU_Find.cc (findFirstPotentialMatch): use Term::UNKNOWN |
| 100 |
|
| 101 |
2003-05-05 Steven Eker <[email protected]> |
| 102 |
|
| 103 |
* ACU_Rebalance.cc (copyRebalance): use makeRedIfRed() (2 places) |
| 104 |
|
| 105 |
* ACU_Insert.cc (consInsert): use makeRedIfRed() |
| 106 |
|
| 107 |
* ACU_Delete.cc (consDelete): use makeRedIfRed() |
| 108 |
|
| 109 |
* ACU_Copy.cc (copy): use makeRedIfRed() (both versions) |
| 110 |
|
| 111 |
* ACU_RedBlackNode.hh (makeRedIfRed): added |
| 112 |
|
| 113 |
* ACU_Find.cc (findGeqMult): removed SAT_MULT Assert() |
| 114 |
|
| 115 |
* ACU_Insert.cc (consInsert): don't pass size to |
| 116 |
ACU_RedBlackNode() |
| 117 |
(consInsert): use getChild() |
| 118 |
(consInsert): removed SAT_MULT check |
| 119 |
|
| 120 |
* ACU_Copy.cc (copy): don't pass size to ACU_RedBlackNode() (both |
| 121 |
versions) |
| 122 |
(copy): simplified maxMult computation (both versions) |
| 123 |
|
| 124 |
* ACU_Stack.hh (class ACU_Stack): deleted decl for pathToIndex() |
| 125 |
|
| 126 |
* ACU_Stack.cc (pathToIndex): deleted |
| 127 |
|
| 128 |
* ACU_Find.cc (findIth): deleted |
| 129 |
|
| 130 |
* ACU_RedBlackNode.hh (getSize): deleted |
| 131 |
(class ACU_RedBlackNode): store maxMult as an int data member; |
| 132 |
deleted data member size |
| 133 |
(getMaxMult): use maxMult data member |
| 134 |
(ACU_RedBlackNode): don't set size; optimize maxMult calculation |
| 135 |
(class ACU_RedBlackNode): deleted decl for findIth() |
| 136 |
|
| 137 |
* ACU_Tree.hh (getSoleDagNode): added |
| 138 |
(class ACU_Tree): aded default ctor |
| 139 |
(clear): added |
| 140 |
(getSoleMultiplicity): added |
| 141 |
|
| 142 |
* ACU_Persistent.hh: renamed from ACU_RedBlack.hh; added class |
| 143 |
ACU_Tree, class ACU_Pair |
| 144 |
|
| 145 |
* ACU_SlowIter.hh (ACU_SlowIter): rewritten |
| 146 |
|
| 147 |
* ACU_FastIter.hh (ACU_FastIter): rewritten |
| 148 |
|
| 149 |
* ACU_Tree.hh (class ACU_Tree): added decl for |
| 150 |
recComputeBaseSort() |
| 151 |
(class ACU_Tree): updated decl for computeBaseSort() |
| 152 |
|
| 153 |
* ACU_Tree.cc (computeBaseSort): added |
| 154 |
(recComputeBaseSort): added |
| 155 |
|
| 156 |
* ACU_Tree.hh (class ACU_Tree): added decls for pow2min1() and |
| 157 |
makeTree() |
| 158 |
|
| 159 |
* ACU_Tree.cc (pow2min1): added |
| 160 |
(makeTree): added |
| 161 |
|
| 162 |
2003-05-03 Steven Eker <[email protected]> |
| 163 |
|
| 164 |
* ACU_Tree.cc: created |
| 165 |
|
| 166 |
* ACU_Stack.hh (class ACU_Stack): ACU_RedBlackNode no longer a |
| 167 |
friend in CHECK_RED_BLACK case |
| 168 |
|
| 169 |
* ACU_Delete.cc (consDelete): handle delta argument |
| 170 |
|
| 171 |
* ACU_Tree.hh (insertMult): rewritten |
| 172 |
(deleteMult): rewritten |
| 173 |
|
| 174 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): updated decls for |
| 175 |
consInsert() and consDelete() |
| 176 |
|
| 177 |
* ACU_Insert.cc (consInsert): handle delta argument |
| 178 |
|
| 179 |
* ACU_Stack.hh (save): added |
| 180 |
(restore): added |
| 181 |
(class ACU_Stack): added data member old |
| 182 |
|
| 183 |
2003-04-29 Steven Eker <[email protected]> |
| 184 |
|
| 185 |
* ACU_Tree.hh: created |
| 186 |
|
| 187 |
* ACU_Pair.hh: created |
| 188 |
|
| 189 |
===================================Maude80=========================================== |
| 190 |
|
| 191 |
2003-03-21 Steven Eker <[email protected]> |
| 192 |
|
| 193 |
* ACU_Find.cc (find): use getChild() (both versions) |
| 194 |
|
| 195 |
* ACU_RedBlackNode.hh (getChild): added |
| 196 |
(class ACU_RedBlackNode): flipped LEFT_INDEX and RIGHT_INDEX |
| 197 |
values |
| 198 |
|
| 199 |
2003-03-10 Steven Eker <[email protected]> |
| 200 |
|
| 201 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): made getMaxMult() |
| 202 |
public |
| 203 |
|
| 204 |
2003-02-25 Steven Eker <[email protected]> |
| 205 |
|
| 206 |
* ACU_Insert.cc (consInsert2): updated Assert() |
| 207 |
|
| 208 |
* ACU_Find.cc (findGeqMult): updated Assert()s |
| 209 |
(findIth): updated Assert() |
| 210 |
|
| 211 |
* ACU_Delete.cc (consDelete2): updated Assert() |
| 212 |
|
| 213 |
* ACU_Stack.hh (top): updated Assert() |
| 214 |
(push): updated Assert() |
| 215 |
(pop): updated Assert() |
| 216 |
(unpop): updated Assert() |
| 217 |
(multiPop): updated Assert() |
| 218 |
|
| 219 |
* ACU_RedBlackNode.hh (new): updated Assert() |
| 220 |
(ACU_RedBlackNode): updated Assert()s |
| 221 |
|
| 222 |
===================================Maude79=========================================== |
| 223 |
|
| 224 |
2003-02-13 Steven Eker <[email protected]> |
| 225 |
|
| 226 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): deleted decls for |
| 227 |
fastFindGeqMult(), searchGeqMult(), maxMultOK(), |
| 228 |
stackLeftmostMultPath(), nextMult(), maxMultValid(), setMaxMult() |
| 229 |
(class ACU_RedBlackNode): made slow ctor public |
| 230 |
(ACU_RedBlackNode): fixed bug where we weren't setting maxMult |
| 231 |
|
| 232 |
* ACU_Find.cc: rewritten to take advantantage of new maxMult |
| 233 |
assumptions |
| 234 |
(maxMultOK): deleted |
| 235 |
(stackLeftmostMultPath): deleted |
| 236 |
(nextMult): deleted |
| 237 |
(fastFindGeqMult): deleted |
| 238 |
(searchGeqMult): deleted |
| 239 |
|
| 240 |
* ACU_Insert.cc (consInsert): handle maxMult |
| 241 |
|
| 242 |
* ACU_Delete.cc (consDelete): don't use optimized |
| 243 |
ACU_RedBlackNode() since we have no fast way of obtaining maxMult |
| 244 |
|
| 245 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): deleted |
| 246 |
MAX_MULT_VALID |
| 247 |
(setMaxMult): deleted |
| 248 |
(maxMultValid): deleted |
| 249 |
(ACU_RedBlackNode): handle maxMult (both versions) |
| 250 |
|
| 251 |
* ACU_Copy.cc (copy): perform maxMult calculations (both copies) |
| 252 |
|
| 253 |
2003-02-12 Steven Eker <[email protected]> |
| 254 |
|
| 255 |
* ACU_Delete.cc (consDelete): added optional code for cheching the |
| 256 |
red-black property |
| 257 |
|
| 258 |
* ACU_Insert.cc (consInsert): added optional code for cheching the |
| 259 |
red-black property |
| 260 |
|
| 261 |
* ACU_Rebalance.cc (copyRebalance): removed bug catching code now |
| 262 |
that bug fixed |
| 263 |
|
| 264 |
* ACU_Delete.cc (consDelete): fixed nasty bug where we were making |
| 265 |
a black copy of a red victim in the case that the victim has |
| 266 |
enough multiplicity that it isn't removed from the tree - just has |
| 267 |
it's multiplicity lowered |
| 268 |
|
| 269 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added decls for |
| 270 |
both versions of checkRedBlackProperty() |
| 271 |
|
| 272 |
* ACU_RedBlackNode.cc (checkRedBlackProperty): added (2 versions) |
| 273 |
|
| 274 |
* ACU_Rebalance.cc (copyRebalance): added code to dump everything |
| 275 |
when bug in logic3 example happens |
| 276 |
|
| 277 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added decl for |
| 278 |
dump() |
| 279 |
|
| 280 |
* ACU_RedBlackNode.cc (dump): added |
| 281 |
|
| 282 |
2003-02-10 Steven Eker <[email protected]> |
| 283 |
|
| 284 |
* ACU_Find.cc (multOK): added |
| 285 |
(nextMult): rewritten using maxMultOK() |
| 286 |
(stackLeftmostMultPath): rewritten using maxMultOK() |
| 287 |
(nextMult): optimized |
| 288 |
|
| 289 |
* ACU_SlowIter.hh (next): fixed bug where we had !empty rather |
| 290 |
than !empty() |
| 291 |
|
| 292 |
2003-02-07 Steven Eker <[email protected]> |
| 293 |
|
| 294 |
* ACU_SlowIter.hh (next): simplified |
| 295 |
|
| 296 |
* ACU_Find.cc (nextMult): rewritten to fix symmetric bug |
| 297 |
|
| 298 |
* ACU_SlowIter.hh (next): rewritten to fix nasty stack underflow |
| 299 |
bug |
| 300 |
|
| 301 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added decls for |
| 302 |
stackLeftmostMultPath() and nextMult() |
| 303 |
|
| 304 |
* ACU_Find.cc (stackLeftmostMultPath): added |
| 305 |
(nextMult): added |
| 306 |
(findGeqMult): rewritten using stackLeftmostMultPath() and |
| 307 |
nextMult() |
| 308 |
|
| 309 |
2003-02-03 Steven Eker <[email protected]> |
| 310 |
|
| 311 |
* ACU_FastIter.hh (setMarked): deleted |
| 312 |
|
| 313 |
* ACU_RedBlackNode.hh (isMarked): added |
| 314 |
|
| 315 |
2003-01-31 Steven Eker <[email protected]> |
| 316 |
|
| 317 |
* ACU_Stack.cc: deleted commented out copy ctor & assignment code |
| 318 |
|
| 319 |
2003-01-30 Steven Eker <[email protected]> |
| 320 |
|
| 321 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): updated decl for |
| 322 |
makeDelete() |
| 323 |
|
| 324 |
* ACU_TreeDagNode.cc (markArguments): use ACU_FastIter::setMarked() |
| 325 |
(makeDelete): ACU_SlowIter -> ACU_Stack |
| 326 |
|
| 327 |
* ACU_FastIter.hh (setMarked): added |
| 328 |
|
| 329 |
* ACU_TreeDagNode.cc (getHashValue): reimplemented using |
| 330 |
ACU_FastIter |
| 331 |
(stackArguments): reimplemented using ACU_FastIter |
| 332 |
(partialReplace): ACU_SlowIter -> ACU_Stack |
| 333 |
(makeExtensionInfo): reimplemented |
| 334 |
|
| 335 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): deleted decl for |
| 336 |
findFirstPotentialMatch |
| 337 |
|
| 338 |
* ACU_TreeDagNode.cc (findFirstPotentialMatch): deleted |
| 339 |
|
| 340 |
* ACU_Find.cc: ACU_SlowIter -> ACU_Stack |
| 341 |
|
| 342 |
* ACU_RedBlack.cc: deleted |
| 343 |
|
| 344 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): ACU_SlowIter -> |
| 345 |
ACU_Stack |
| 346 |
|
| 347 |
* ACU_FastIter.hh (ACU_FastIter): use stackLeftmostPath() |
| 348 |
(next): use stackLeftmostPath() |
| 349 |
(leftMost): deleted |
| 350 |
|
| 351 |
* ACU_SlowIter.hh (ACU_SlowIter): use stackLeftmostPath() |
| 352 |
(next): use stackLeftmostPath() |
| 353 |
(leftMost): deleted |
| 354 |
|
| 355 |
* ACU_Stack.hh (stackLeftmostPath): added |
| 356 |
|
| 357 |
* ACU_Insert.cc (consInsert): rewritten to make use of blackNode() |
| 358 |
and copy() |
| 359 |
|
| 360 |
2003-01-29 Steven Eker <[email protected]> |
| 361 |
|
| 362 |
* ACU_TreeDagArgumentIterator.cc (argument): use getDagNode() |
| 363 |
|
| 364 |
* ACU_TreeDagNode.cc: use new conventions in all routines |
| 365 |
|
| 366 |
* ACU_FastIter.hh (getArgument): becomes getDagNode() |
| 367 |
|
| 368 |
* ACU_Insert.cc (consInsert): use new conventions |
| 369 |
|
| 370 |
* ACU_Delete.cc (consDelete): use new conventions |
| 371 |
|
| 372 |
* ACU_Rebalance.cc (copyRebalance): use new conventions |
| 373 |
|
| 374 |
* ACU_SlowIter.hh (getArgument): becomes getDagNode() |
| 375 |
|
| 376 |
* ACU_Find.cc: use new conventions in all routines |
| 377 |
|
| 378 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): major |
| 379 |
reoranization of class for efficiency and cleaness |
| 380 |
|
| 381 |
* ACU_Copy.cc (copy): rewritten to use new ctor and delta trick |
| 382 |
(both versions) |
| 383 |
|
| 384 |
2003-01-28 Steven Eker <[email protected]> |
| 385 |
|
| 386 |
* ACU_SlowIter.hh (class ACU_SlowIter): made base class ACU_Stack |
| 387 |
public until we figure out best permissions |
| 388 |
|
| 389 |
2003-01-27 Steven Eker <[email protected]> |
| 390 |
|
| 391 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): updated decl for |
| 392 |
findIth() |
| 393 |
|
| 394 |
* ACU_Find.cc (findIth): implemented; return void |
| 395 |
|
| 396 |
* ACU_TreeDagNode.cc (partialReplace): rewritten using consDelete() |
| 397 |
|
| 398 |
* ACU_RedBlackNode.hh (getDagNode): added |
| 399 |
(getMultiplicity): added |
| 400 |
|
| 401 |
2003-01-23 Steven Eker <[email protected]> |
| 402 |
|
| 403 |
* ACU_TreeDagNode.cc (compareArguments): fix bug where we weren't |
| 404 |
checking r after doing subcompare |
| 405 |
|
| 406 |
* ACU_TreeDagNode.hh (getRoot): added |
| 407 |
|
| 408 |
2003-01-22 Steven Eker <[email protected]> |
| 409 |
|
| 410 |
* ACU_TreeDagNode.cc (compareArguments): added tree comparison |
| 411 |
|
| 412 |
* ACU_TreeDagArgumentIterator.cc: removed #pragma |
| 413 |
|
| 414 |
* ACU_TreeDagArgumentIterator.hh: removed #pragma |
| 415 |
|
| 416 |
* ACU_TreeDagNode.cc: removed #pragma |
| 417 |
|
| 418 |
* ACU_TreeDagNode.hh: removed #pragma |
| 419 |
|
| 420 |
* ACU_RedBlackNode.cc: removed #pragma |
| 421 |
|
| 422 |
* ACU_FastIter.hh (leftMost): use getLeft() |
| 423 |
(next): use getRight() |
| 424 |
|
| 425 |
* ACU_SlowIter.hh (next): use getRight() |
| 426 |
(leftMost): use getLeft() |
| 427 |
|
| 428 |
* ACU_Rebalance.cc (copyRebalance): use ACU_Stack |
| 429 |
|
| 430 |
* ACU_Copy.cc (copy): use ACU_Stack (both versions) |
| 431 |
|
| 432 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): updated decls for |
| 433 |
copy() (both versions) and copyRebalance() |
| 434 |
|
| 435 |
* ACU_RedBlack.cc: deleted |
| 436 |
|
| 437 |
* ACU_RedBlackNode.hh: removed #pragma |
| 438 |
|
| 439 |
* ACU_FastIter.hh (class ACU_FastIter): derive from ACU_Stack |
| 440 |
|
| 441 |
* ACU_SlowIter.hh (class ACU_SlowIter): derive from ACU_Stack |
| 442 |
|
| 443 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): made getSize() |
| 444 |
public; added decls for getLeft() and getRight() |
| 445 |
(getLeft): added |
| 446 |
(getRight): added |
| 447 |
|
| 448 |
* ACU_Stack.cc: created |
| 449 |
|
| 450 |
* ACU_Stack.hh: created; moved ACU_RedBlackNode::Stack stuff here |
| 451 |
|
| 452 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added PublicValues |
| 453 |
|
| 454 |
2003-01-15 Steven Eker <[email protected]> |
| 455 |
|
| 456 |
* ACU_TreeDagNode.cc (computeBaseSort): fixed stupid bug where we |
| 457 |
were looking at the left child twice instread of the right child |
| 458 |
|
| 459 |
* ACU_RedBlackNode.cc (Stack): commented out assignment and copy |
| 460 |
ctor; places where we might want to use them seem unsafe because |
| 461 |
of possible garbage colection of ACU_RedBlackNode following a |
| 462 |
representation change |
| 463 |
|
| 464 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added decl for |
| 465 |
pathToIndex() |
| 466 |
|
| 467 |
* ACU_RedBlackNode.cc (Stack): (copy ctor) added |
| 468 |
(operator=): added |
| 469 |
(pathToIndex): added |
| 470 |
|
| 471 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added copy ctor |
| 472 |
and assignment for Stack |
| 473 |
|
| 474 |
2003-01-13 Steven Eker <[email protected]> |
| 475 |
|
| 476 |
* ACU_RedBlackNode.hh (setSortIndex): added |
| 477 |
(getSortIndex): added |
| 478 |
|
| 479 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): added decls for |
| 480 |
computeBaseSort() (2 versions) |
| 481 |
|
| 482 |
* ACU_TreeDagNode.cc (computeBaseSort): added 2 versions |
| 483 |
|
| 484 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): added decl for |
| 485 |
makeDelete() |
| 486 |
|
| 487 |
* ACU_TreeDagNode.cc (makeDelete): added |
| 488 |
|
| 489 |
2003-01-12 Steven Eker <[email protected]> |
| 490 |
|
| 491 |
* ACU_TreeDagNode.cc (findFirstPotentialMatch): added |
| 492 |
|
| 493 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): added decl for |
| 494 |
findFirstPotentialMatch() |
| 495 |
|
| 496 |
2003-01-11 Steven Eker <[email protected]> |
| 497 |
|
| 498 |
* ACU_TreeDagNode.cc (argVecToTree): copy sortIndex and reduced |
| 499 |
flag |
| 500 |
(treeToArgVec): copy sortIndex and reduced flag |
| 501 |
|
| 502 |
2003-01-10 Steven Eker <[email protected]> |
| 503 |
|
| 504 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): added decl for |
| 505 |
overwriteWithInsert() |
| 506 |
|
| 507 |
* ACU_TreeDagNode.cc (overwriteWithInsert): added |
| 508 |
|
| 509 |
* ACU_Delete.cc (consDelete): use blackNode(); fixed bug where we |
| 510 |
weren't returning the new node |
| 511 |
|
| 512 |
* ACU_RedBlackNode.hh (redNode): moved here |
| 513 |
|
| 514 |
* ACU_RedBlackNode.cc (blackNode): moved here |
| 515 |
|
| 516 |
* ACU_Rebalance.cc (copyRebalance): many simplifications |
| 517 |
(copyRebalance): more code factoring |
| 518 |
|
| 519 |
2003-01-09 Steven Eker <[email protected]> |
| 520 |
|
| 521 |
* ACU_Rebalance.cc: created from experimental code |
| 522 |
|
| 523 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added decls for |
| 524 |
copyRebalance() and consDelete() |
| 525 |
(class ACU_RedBlackNode): added declarations for blackNode() and |
| 526 |
redNode() |
| 527 |
|
| 528 |
* ACU_Delete.cc: created |
| 529 |
|
| 530 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): added decl for |
| 531 |
findFirstPotentialMatch(); deletd decls for findFirst() and |
| 532 |
createFromSortedVector() |
| 533 |
|
| 534 |
* ACU_Find.cc (findFirstPotentialMatch): added |
| 535 |
(findFirst): deleted |
| 536 |
|
| 537 |
* ACU_TreeDagNode.cc (markArguments): implemented |
| 538 |
|
| 539 |
* ACU_FastIter.hh: added ACU_TreeDagNode as a friend |
| 540 |
|
| 541 |
2003-01-08 Steven Eker <[email protected]> |
| 542 |
|
| 543 |
* ACU_TreeDagNode.cc (arguments): implemented |
| 544 |
(overwriteWithClone): implemented |
| 545 |
(makeClone): implemented |
| 546 |
|
| 547 |
* ACU_TreeDagArgumentIterator.cc: created |
| 548 |
|
| 549 |
* ACU_TreeDagArgumentIterator.hh (class |
| 550 |
ACU_TreeDagArgumentIterator): created |
| 551 |
|
| 552 |
* ACU_TreeDagNode.cc (makeTree): need to end recursion at size == |
| 553 |
0 |
| 554 |
|
| 555 |
* ACU_RedBlackNode.hh (class ACU_RedBlackNode): ACU_TreeDagNode |
| 556 |
becomes a friend |
| 557 |
|
| 558 |
* ACU_TreeDagNode.cc (makeTree): added |
| 559 |
|
| 560 |
* ACU_RedBlack.cc: created |
| 561 |
|
| 562 |
* ACU_RedBlack.hh: created |
| 563 |
|
| 564 |
* ACU_TreeDagNode.cc: created |
| 565 |
|
| 566 |
* ACU_TreeDagNode.hh: created |
| 567 |
|
| 568 |
* ACU_Copy.cc: created from experimental code |
| 569 |
|
| 570 |
* ACU_Insert.cc: created from experimental code |
| 571 |
|
| 572 |
* ACU_Find.cc: created from experimental code |
| 573 |
|
| 574 |
* ACU_SlowIter.hh: created from experimental code |
| 575 |
|
| 576 |
* ACU_FastIter.hh: created from experimental code |
| 577 |
|
| 578 |
* ACU_RedBlackNode.cc: created from experimental code |
| 579 |
|
| 580 |
* ACU_RedBlackNode.hh: created from experimental code |
| 581 |
(ACU_RedBlackNode): set size here, rather than trying to compute |
| 582 |
it lazily |
| 583 |
|