| 1 |
2024-03-05 Steven Eker <eker@pup> |
| 2 |
|
| 3 |
* AU_Term.cc (AU_Term::arguments): made const |
| 4 |
|
| 5 |
* AU_Term.hh (class AU_Term): made arguments() const |
| 6 |
|
| 7 |
* AU_DagNode.cc (AU_DagNode::matchVariableWithExtension): get |
| 8 |
rid of const_cast<> |
| 9 |
|
| 10 |
* AU_Subproblem.hh (AU_Subproblem::addTopVariable): pass sort arg |
| 11 |
as const |
| 12 |
|
| 13 |
* AU_Layer.cc (AU_Layer::addTopVariable): pass sort arg as const |
| 14 |
|
| 15 |
* AU_Layer.hh (class AU_Layer): made sort const in struct TopVariable; |
| 16 |
updated decl for addTopVariable() |
| 17 |
|
| 18 |
===================================Maude158=========================================== |
| 19 |
|
| 20 |
2024-01-16 Steven Eker <eker@pup> |
| 21 |
|
| 22 |
* AU_Symbol.cc (AU_Symbol::stackArguments): handle |
| 23 |
respectUnstackable argument |
| 24 |
|
| 25 |
* AU_Symbol.hh (class AU_Symbol): updated decl for stackArguments() |
| 26 |
|
| 27 |
===================================Maude156=========================================== |
| 28 |
|
| 29 |
2023-07-24 Steven Eker <eker@pup> |
| 30 |
|
| 31 |
* AU_Symbol.cc (AU_Symbol::termify): cast to const AU_BaseDagNode* |
| 32 |
(AU_Symbol::determineGround): added |
| 33 |
|
| 34 |
* AU_Symbol.hh (class AU_Symbol): added decl for determineGround() |
| 35 |
|
| 36 |
===================================Maude151=========================================== |
| 37 |
|
| 38 |
2023-06-02 Steven Eker <eker@pup> |
| 39 |
|
| 40 |
* AU_Normalize.cc (AU_DagNode::normalizeAtTop): replace FOR_EACH_CONST with |
| 41 |
regular for loop (3 places) |
| 42 |
|
| 43 |
===================================Maude150=========================================== |
| 44 |
|
| 45 |
2023-04-13 Steven Eker <eker@pup> |
| 46 |
|
| 47 |
* AU_Matcher.cc (AU_LhsAutomaton::match): use empty() |
| 48 |
|
| 49 |
2023-04-12 Steven Eker <eker@pup> |
| 50 |
|
| 51 |
* AU_LhsCompiler.cc: Bool -> bool throughout |
| 52 |
|
| 53 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): Bool -> bool |
| 54 |
|
| 55 |
* AU_Term.hh (class AU_Term): Bool -> bool |
| 56 |
|
| 57 |
* AU_Layer.hh (class AU_Layer): Bool -> bool |
| 58 |
|
| 59 |
* AU_Symbol.hh (class AU_Symbol): Bool -> bool |
| 60 |
|
| 61 |
===================================Maude145=========================================== |
| 62 |
|
| 63 |
2023-03-27 Steven Eker <eker@pup> |
| 64 |
|
| 65 |
* AU_RhsAutomaton.cc (AU_RhsAutomaton::AU_RhsAutomaton): use |
| 66 |
reserve() rather than preallocate ctor |
| 67 |
|
| 68 |
===================================Maude144=========================================== |
| 69 |
|
| 70 |
2023-03-21 Steven Eker <eker@pup> |
| 71 |
|
| 72 |
* AU_UnificationSubproblem2.hh (class AU_UnificationSubproblem2): |
| 73 |
comment out PendingUnificationStack::Marker preSolveState |
| 74 |
|
| 75 |
2023-03-10 Steven Eker <eker@pup> |
| 76 |
|
| 77 |
* AU_FullMatcher.cc (AU_LhsAutomaton::fullMatchRigidBlock2): |
| 78 |
initialize sf to avoid compiler warning |
| 79 |
|
| 80 |
* AU_GreedyMatcher.cc (AU_LhsAutomaton::greedyMatchRigidBlock2): |
| 81 |
initialize sf to avoid compiler warning |
| 82 |
|
| 83 |
===================================Maude143=========================================== |
| 84 |
|
| 85 |
2021-09-21 Steven Eker <eker@pup> |
| 86 |
|
| 87 |
* AU_ExtensionInfo.cc (AU_ExtensionInfo::copy): take const arg |
| 88 |
|
| 89 |
* AU_ExtensionInfo.hh (class AU_ExtensionInfo): updated decl for copy() |
| 90 |
|
| 91 |
2021-05-11 Steven Eker <eker2@eker10> |
| 92 |
|
| 93 |
* AU_Term.cc (AU_Term::deepSelfDestruct): use range-based for loop |
| 94 |
(AU_Term::normalize): use range-based for loop |
| 95 |
(AU_Term::findEagerVariables): use range-based for loop |
| 96 |
(AU_Term::markEagerArguments): use range-based for loop |
| 97 |
(AU_Term::analyseCollapses2): use range-based for loop (2 places) |
| 98 |
(AU_Term::findAvailableTerms): use range-based for loop |
| 99 |
(AU_Term::compileRhs2): added typedef IntPair; use range-based for |
| 100 |
loop |
| 101 |
(AU_Term::dump): use range-based for loop |
| 102 |
|
| 103 |
* AU_UnificationSubproblem2.cc: deleted FOR_EACH() macro |
| 104 |
|
| 105 |
* AU_Normalize.cc (AU_DagNode::normalizeAtTop): use range-based |
| 106 |
for loop |
| 107 |
|
| 108 |
2021-05-10 Steven Eker <eker2@eker10> |
| 109 |
|
| 110 |
* AU_Symbol.cc (AU_Symbol::computeBaseSort): use range-based for |
| 111 |
loop (2 places) |
| 112 |
(AU_Symbol::termify): use range-based for loop |
| 113 |
(AU_Symbol::computeGeneralizedSort): use range-based for loop |
| 114 |
|
| 115 |
* AU_Matcher.cc (AU_LhsAutomaton::matchRigidPart): use range-based |
| 116 |
for loop |
| 117 |
|
| 118 |
* AU_DagNode.cc (AU_DagNode::copyEagerUptoReduced2): pre-increment |
| 119 |
(AU_DagNode::copyAll2): pre-increment |
| 120 |
(AU_DagNode::copyWithReplacement): pre-increment |
| 121 |
(AU_DagNode::copyWithReplacement): pre-increment |
| 122 |
(AU_DagNode::partialReplace): pre-increment (2 places) |
| 123 |
(AU_DagNode::partialConstruct): pre-increment (3 places) |
| 124 |
(AU_DagNode::computeBaseSortForGroundSubterms): use range-based |
| 125 |
for loop |
| 126 |
(AU_DagNode::insertVariables2): use range-based for loop |
| 127 |
(AU_DagNode::indexVariables2): use range-based for loop |
| 128 |
(AU_DagNode::instantiateWithReplacement): pre-increment |
| 129 |
|
| 130 |
* AU_DequeMatcher.cc (AU_LhsAutomaton::dequeMatch): use |
| 131 |
range-based for loop |
| 132 |
|
| 133 |
* AU_DagNode.cc (AU_DagNode::getHashValue): use range-based for |
| 134 |
loop |
| 135 |
(AU_DagNode::compareArguments): use range-based for loop |
| 136 |
(AU_DagNode::markArguments): use range-based for loop |
| 137 |
(AU_DagNode::clearCopyPointers2): use range-based for loop |
| 138 |
|
| 139 |
===================================Maude136=========================================== |
| 140 |
|
| 141 |
2020-12-11 Steven Eker <eker2@eker10> |
| 142 |
|
| 143 |
* AU_DagNode.cc (AU_DagNode::instantiate2): take and pass |
| 144 |
maintainInvariants flag; only normalize and compute sorts for |
| 145 |
ground dag if maintainInvariants == true |
| 146 |
(AU_DagNode::instantiateWithCopies2): pass maintainInvariants = |
| 147 |
false to instantiate() |
| 148 |
|
| 149 |
* AU_DagNode.hh (class AU_DagNode): updated decl for |
| 150 |
instantiate2() |
| 151 |
|
| 152 |
===================================Maude132=========================================== |
| 153 |
|
| 154 |
2020-07-01 Steven Eker <eker2@eker10> |
| 155 |
|
| 156 |
* AU_UnificationSubproblem2.cc |
| 157 |
(AU_UnificationSubproblem2::addUnification): fix bug where |
| 158 |
inserting into markedSubterms wasn't conditional on the equation |
| 159 |
being marked |
| 160 |
|
| 161 |
2020-06-30 Steven Eker <eker2@eker10> |
| 162 |
|
| 163 |
* AU_UnificationSubproblem2.cc |
| 164 |
(AU_UnificationSubproblem2::addUnification): record marked |
| 165 |
subterms |
| 166 |
(AU_UnificationSubproblem2::makeWordSystem): require marked |
| 167 |
subterms to take at most one thing |
| 168 |
|
| 169 |
* AU_UnificationSubproblem2.hh (class AU_UnificationSubproblem2): |
| 170 |
added data member markedSubterms |
| 171 |
|
| 172 |
2020-06-23 Steven Eker <eker2@eker10> |
| 173 |
|
| 174 |
* AU_UnificationSubproblem2.cc |
| 175 |
(AU_UnificationSubproblem2::addUnification): check rhs alien in |
| 176 |
case it our identity |
| 177 |
(AU_UnificationSubproblem2::makeWordSystem): use range-base for |
| 178 |
loops for inserting assignments and equations; added DebugInfo()s |
| 179 |
|
| 180 |
* AU_UnificationSubproblem2.hh (class AU_UnificationSubproblem2): |
| 181 |
added typedef for Word |
| 182 |
|
| 183 |
* AU_UnificationSubproblem2.cc |
| 184 |
(AU_UnificationSubproblem2::makeWordSystem): insert null equation |
| 185 |
|
| 186 |
* AU_Symbol.cc (AU_Symbol::canResolveTheoryClash): added |
| 187 |
|
| 188 |
* AU_Symbol.hh (class AU_Symbol): uncomment |
| 189 |
canResolveTheoryClash() decl |
| 190 |
|
| 191 |
* AU_DagNode.cc (AU_DagNode::computeSolvedForm2): added |
| 192 |
DebugEnter() |
| 193 |
|
| 194 |
* AU_UnificationSubproblem2.hh (class AU_UnificationSubproblem2): |
| 195 |
added data member nullEquations |
| 196 |
|
| 197 |
* AU_UnificationSubproblem2.cc |
| 198 |
(AU_UnificationSubproblem2::dagToAbstract): return NONE for |
| 199 |
variables bound to our identity |
| 200 |
(AU_UnificationSubproblem2::assocToAbstract): handle NONE as |
| 201 |
an index |
| 202 |
(AU_UnificationSubproblem2::addUnification): rewritten to handle |
| 203 |
empty abstract words and NULL abstract rhs |
| 204 |
|
| 205 |
2020-06-19 Steven Eker <eker2@eker10> |
| 206 |
|
| 207 |
* AU_Symbol.cc (AU_Symbol::makeUnificationSubproblem): call |
| 208 |
computeBaseSortForGroundSubterms() for identity if it exists and |
| 209 |
it hasn't been done yet |
| 210 |
|
| 211 |
2020-06-18 Steven Eker <eker2@eker10> |
| 212 |
|
| 213 |
* AU_UnificationSubproblem2.cc |
| 214 |
(AU_UnificationSubproblem2::buildSolution): if we have the empty |
| 215 |
word, don't fall into the general case |
| 216 |
(AU_UnificationSubproblem2::buildSolution): restructure to |
| 217 |
resemble ACU version; use unificationBind() for binding unbound |
| 218 |
variables to identity |
| 219 |
|
| 220 |
* AU_DagNode.cc (AU_DagNode::computeBaseSortForGroundSubterms): |
| 221 |
warn about unimplemented for one-sided identity |
| 222 |
(AU_DagNode::computeSolvedForm2): bail on the one-sided identity |
| 223 |
case |
| 224 |
|
| 225 |
* AU_UnificationSubproblem2.cc |
| 226 |
(AU_UnificationSubproblem2::buildSolution): deal with empty |
| 227 |
assignment in solution by assigning identity dag |
| 228 |
|
| 229 |
2020-06-12 Steven Eker <eker2@eker10> |
| 230 |
|
| 231 |
* AU_UnificationSubproblem2.cc |
| 232 |
(AU_UnificationSubproblem2::makeWordSystem): call setTakeEmpty() |
| 233 |
for subterms that could possibly unify with our identity |
| 234 |
|
| 235 |
2020-06-08 Steven Eker <eker2@eker10> |
| 236 |
|
| 237 |
* AU_UnificationSubproblem2.cc |
| 238 |
(AU_UnificationSubproblem2::buildSolution): added code to reuse |
| 239 |
variables that would otherwise get assigned a single fresh variable |
| 240 |
|
| 241 |
2020-06-06 Steven Eker <eker2@eker10> |
| 242 |
|
| 243 |
* AU_UnificationSubproblem2.cc |
| 244 |
(AU_UnificationSubproblem2::dagToAbstract): added comment to |
| 245 |
explain why we can't use a variables binding because it would |
| 246 |
amount to eager replacement and potentially cause nontermination |
| 247 |
|
| 248 |
2020-05-29 Steven Eker <eker2@eker10> |
| 249 |
|
| 250 |
* AU_DagNode.cc (AU_DagNode::computeBaseSortForGroundSubterms): |
| 251 |
commented out the code warning about AU unimplemented |
| 252 |
(AU_DagNode::computeSolvedForm2): comment out code that bails on |
| 253 |
AU case |
| 254 |
|
| 255 |
===================================Maude128a=========================================== |
| 256 |
|
| 257 |
2019-09-11 Steven Eker <eker@mu> |
| 258 |
|
| 259 |
* AU_UnificationSubproblem2.cc (makeWordSystem): use |
| 260 |
setUpperBound() and setTheoryConstraint() rather than |
| 261 |
addConstraint() |
| 262 |
|
| 263 |
===================Maude124 (integrated with Maude128 on 2019-12-18)================== |
| 264 |
|
| 265 |
2019-11-11 Steven Eker <eker@mu> |
| 266 |
|
| 267 |
* AU_DagNode.cc (computeBaseSortForGroundSubterms): take and pass |
| 268 |
warnAboutUnimplemented; simplified |
| 269 |
(computeBaseSortForGroundSubterms): no early termination in UNIMPLEMENTED case |
| 270 |
|
| 271 |
* AU_DagNode.hh (AU_BaseDagNode): updated decl for |
| 272 |
computeBaseSortForGroundSubterms() |
| 273 |
|
| 274 |
===================================Maude125=========================================== |
| 275 |
|
| 276 |
2017-04-25 Steven Eker <[email protected]> |
| 277 |
|
| 278 |
* AU_DagNode.cc (instantiateWithCopies2): fixed bug where return d was |
| 279 |
inside the ifdef'd code |
| 280 |
|
| 281 |
===================================Maude112b=========================================== |
| 282 |
|
| 283 |
2017-04-14 Steven Eker <[email protected]> |
| 284 |
|
| 285 |
* AU_Matcher.cc (forcedLoneVariableCase): added comments |
| 286 |
|
| 287 |
===================================Maude112a=========================================== |
| 288 |
|
| 289 |
2017-02-23 Steven Eker <[email protected]> |
| 290 |
|
| 291 |
* AU_DagNode.cc (instantiateWithCopies2): ifdef'd out normal form, sort and |
| 292 |
ground flag computation and added comment to explain why |
| 293 |
|
| 294 |
2017-02-21 Steven Eker <[email protected]> |
| 295 |
|
| 296 |
* AU_DagNode.hh (AU_BaseDagNode): updated decl for |
| 297 |
instantiateWithReplacement() |
| 298 |
|
| 299 |
* AU_DagNode.cc (instantiateWithReplacement): handle lazy contexts |
| 300 |
|
| 301 |
2017-02-17 Steven Eker <[email protected]> |
| 302 |
|
| 303 |
* AU_DequeDagNode.cc (stackArguments): deleted |
| 304 |
|
| 305 |
* AU_DequeDagNode.hh (AU_BaseDagNode): deleted decl for stackArguments() |
| 306 |
|
| 307 |
* AU_DagNode.hh (AU_BaseDagNode): deleted decl for stackArguments() |
| 308 |
|
| 309 |
* AU_DagNode.cc (stackArguments): deleted |
| 310 |
|
| 311 |
* AU_Symbol.hh (AssociativeSymbol): updated decl for stackArguments() |
| 312 |
|
| 313 |
* AU_Symbol.cc (stackArguments): support respectFrozen and |
| 314 |
eagerContext flags |
| 315 |
|
| 316 |
===================================Maude111b=========================================== |
| 317 |
|
| 318 |
2016-11-10 Steven Eker <[email protected]> |
| 319 |
|
| 320 |
* AU_DequeDagNode.cc (copyEagerUptoReduced2): added commment |
| 321 |
to explain why we don't bother trying to preserve deque form |
| 322 |
|
| 323 |
* AU_DequeDagNode.hh (AU_BaseDagNode): added decl for copyAll2() |
| 324 |
|
| 325 |
* AU_DequeDagNode.cc (copyAll2): added |
| 326 |
|
| 327 |
* AU_DagNode.hh (AU_BaseDagNode): added decl for copyAll2() |
| 328 |
|
| 329 |
* AU_DagNode.cc (copyAll2): added |
| 330 |
|
| 331 |
===================================Maude111=========================================== |
| 332 |
|
| 333 |
2016-03-24 Steven Eker <[email protected]> |
| 334 |
|
| 335 |
* AU_Symbol.cc (computeGeneralizedSort2): code cleaning |
| 336 |
|
| 337 |
2016-03-23 Steven Eker <[email protected]> |
| 338 |
|
| 339 |
* AU_Symbol.cc (computeGeneralizedSort2): added |
| 340 |
|
| 341 |
2015-08-07 Steven Eker <[email protected]> |
| 342 |
|
| 343 |
* AU_OldUnificationAlgorithm.cc: deleted |
| 344 |
|
| 345 |
* AU_NewUnificationAlgorithm.cc: deleted |
| 346 |
|
| 347 |
* AU_UnificationSubproblem.cc: deleted |
| 348 |
|
| 349 |
* AU_UnificationSubproblem.hh: deleted |
| 350 |
|
| 351 |
2015-08-06 Steven Eker <[email protected]> |
| 352 |
|
| 353 |
* AU_UnificationSubproblem2.cc (solve): pass topSymbol to |
| 354 |
flagAsIncomplete |
| 355 |
|
| 356 |
2015-07-30 Steven Eker <[email protected]> |
| 357 |
|
| 358 |
* AU_DagNode.cc (computeBaseSortForGroundSubterms): call |
| 359 |
setGround() in the ground case |
| 360 |
|
| 361 |
2015-07-29 Steven Eker <[email protected]> |
| 362 |
|
| 363 |
* AU_UnificationSubproblem2.cc (makeWordSystem): use constrained |
| 364 |
variables to abstract ground terms even when their top symbol is |
| 365 |
not stable |
| 366 |
(makeWordSystem): same trick for variables bound to ground terms |
| 367 |
|
| 368 |
2015-07-24 Steven Eker <[email protected]> |
| 369 |
|
| 370 |
* AU_UnificationSubproblem2.cc (solve): use new WordSystem return |
| 371 |
convention |
| 372 |
|
| 373 |
2015-07-22 Steven Eker <[email protected]> |
| 374 |
|
| 375 |
* AU_UnificationSubproblem2.cc (solve): call flagAsIncomplete() |
| 376 |
rather than issuing a warning |
| 377 |
|
| 378 |
2015-07-17 Steven Eker <[email protected]> |
| 379 |
|
| 380 |
* AU_UnificationSubproblem2.cc (solve): handle new WordSystem |
| 381 |
return value |
| 382 |
|
| 383 |
2015-07-16 Steven Eker <[email protected]> |
| 384 |
|
| 385 |
* AU_UnificationSubproblem2.cc (makeWordSystem): fixed a bug where |
| 386 |
we were taking the symbol from the wrong dag to check for |
| 387 |
stability when adding constraints |
| 388 |
|
| 389 |
2015-07-10 Steven Eker <[email protected]> |
| 390 |
|
| 391 |
* AU_UnificationSubproblem2.cc (makeWordSystem): fix code for |
| 392 |
getting the sort of a variable |
| 393 |
|
| 394 |
* AU_Symbol.cc (makeUnificationSubproblem): use |
| 395 |
AU_UnificationSubproblem2 |
| 396 |
|
| 397 |
* AU_DagNode.hh (AU_BaseDagNode): AU_UnificationSubproblem2 |
| 398 |
becomes a friend |
| 399 |
|
| 400 |
* AU_UnificationSubproblem2.hh (SimpleRootContainer): added decls |
| 401 |
for dagToAbstract(), assocToAbstract(), makeWordSystem(), |
| 402 |
unsolve(), abstractToFreshVariable(), buildSolution() |
| 403 |
|
| 404 |
* AU_UnificationSubproblem2.cc (buildSolution): implemented |
| 405 |
(makeWordSystem): insert constraints for variables bound to stable |
| 406 |
aliens |
| 407 |
|
| 408 |
2015-07-02 Steven Eker <[email protected]> |
| 409 |
|
| 410 |
* AU_UnificationSubproblem2.cc: created |
| 411 |
|
| 412 |
* AU_UnificationSubproblem2.hh: created |
| 413 |
|
| 414 |
===================================Maude108=========================================== |
| 415 |
|
| 416 |
2014-11-18 Steven Eker <[email protected]> |
| 417 |
|
| 418 |
* AU_NewUnificationAlgorithm.cc (simplify): unify with purified |
| 419 |
lhs on first pass |
| 420 |
|
| 421 |
2014-11-17 Steven Eker <[email protected]> |
| 422 |
|
| 423 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decls |
| 424 |
for constrained() and updateBounds() |
| 425 |
|
| 426 |
* AU_NewUnificationAlgorithm.cc (computeBounds): check for |
| 427 |
variables at that are bound to a term headed by our top symbol |
| 428 |
(solve): do computeBounds() first so we can make use of any known |
| 429 |
bounds when disposing of f(...) =? X type unifications |
| 430 |
(updateBounds): added |
| 431 |
(simplify): handle constrained cases first |
| 432 |
(purifyAndBind): call updateBounds() |
| 433 |
(constrained): added() |
| 434 |
|
| 435 |
2014-11-14 Steven Eker <[email protected]> |
| 436 |
|
| 437 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): adde decls |
| 438 |
for handleNonlinearVariable() and computeBounds() |
| 439 |
|
| 440 |
* AU_NewUnificationAlgorithm.cc (computeBounds): added |
| 441 |
(findUpperBound): added new version |
| 442 |
(handleNonlinearVariable): added |
| 443 |
(solve): call computeBounds() |
| 444 |
(flattenDag): call handleNonlinearVariable() in 3 places |
| 445 |
(flattenUnifications): no need to check for null return from |
| 446 |
flattenDag() |
| 447 |
|
| 448 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added data |
| 449 |
member bounds |
| 450 |
|
| 451 |
2014-11-07 Steven Eker <[email protected]> |
| 452 |
|
| 453 |
* AU_NewUnificationAlgorithm.cc (solve): need to undo old solution |
| 454 |
before we look for a new one |
| 455 |
|
| 456 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decl |
| 457 |
for dump() |
| 458 |
|
| 459 |
* AU_NewUnificationAlgorithm.cc (dump): added |
| 460 |
|
| 461 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added |
| 462 |
declarations for makeSequenceAssignmentProblems(), |
| 463 |
flattenUnifications(), flattenDag() |
| 464 |
|
| 465 |
* AU_NewUnificationAlgorithm.cc (makeSequenceAssignments): added |
| 466 |
(makeSequenceAssignmentProblems): added |
| 467 |
|
| 468 |
2014-11-06 Steven Eker <[email protected]> |
| 469 |
|
| 470 |
* AU_NewUnificationAlgorithm.cc (flattenUnifications): added |
| 471 |
|
| 472 |
* AU_UnificationSubproblem.cc: moved unification code from two |
| 473 |
different algorithm out in to two different files |
| 474 |
(markReachableNodes): need to protect dags in local unifications |
| 475 |
for the new algorithm since it creates new local unifications and |
| 476 |
modifies existing ones |
| 477 |
|
| 478 |
* AU_NewUnificationAlgorithm.cc: created the hold code for second |
| 479 |
associative unification algorithm |
| 480 |
|
| 481 |
* AU_OldUnificationAlgorithm.cc: created to hold code from first |
| 482 |
associative unification algorithm |
| 483 |
|
| 484 |
===================================Maude106=========================================== |
| 485 |
|
| 486 |
2014-06-30 Steven Eker <[email protected]> |
| 487 |
|
| 488 |
* AU_UnificationSubproblem.cc (purifyAndBind): rewritten to no |
| 489 |
longer do flattening |
| 490 |
(simplify): use new purifyAndBind() convention |
| 491 |
(interflattenBindings): added |
| 492 |
|
| 493 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decls |
| 494 |
for hasArgumentBoundInTheory() and flatten() |
| 495 |
|
| 496 |
* AU_UnificationSubproblem.cc (hasArgumentBoundInTheory): added |
| 497 |
(flatten): addded |
| 498 |
|
| 499 |
2014-06-27 Steven Eker <[email protected]> |
| 500 |
|
| 501 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decls |
| 502 |
for purifyAndBind() and simplify() |
| 503 |
|
| 504 |
* AU_UnificationSubproblem.cc (purifyAndBind): added |
| 505 |
(simplify): added |
| 506 |
|
| 507 |
2014-06-23 Steven Eker <[email protected]> |
| 508 |
|
| 509 |
* AU_UnificationSubproblem.cc (resolve): added comments and |
| 510 |
DebugAdvisory() |
| 511 |
|
| 512 |
===================================Maude104=========================================== |
| 513 |
|
| 514 |
2014-04-04 Steven Eker <[email protected]> |
| 515 |
|
| 516 |
* AU_UnificationSubproblem.cc (checkAndInsertVariable): check for |
| 517 |
bound variables |
| 518 |
(markReachableNodes): implemented |
| 519 |
|
| 520 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decls |
| 521 |
for checkAndInsertVariable(), checkArgumentList(), |
| 522 |
checkForCollapseAndNonLinearVariables() |
| 523 |
|
| 524 |
* AU_UnificationSubproblem.cc (checkAndInsertVariable) |
| 525 |
(checkArgumentList, checkForCollapseAndNonLinearVariables): added |
| 526 |
(solve): call checkForCollapseAndNonLinearVariables() |
| 527 |
|
| 528 |
2014-04-03 Steven Eker <[email protected]> |
| 529 |
|
| 530 |
* AU_DagNode.cc (computeSolvedForm2): bail in the case we have an |
| 531 |
identity element |
| 532 |
|
| 533 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added data |
| 534 |
member preSolveState |
| 535 |
|
| 536 |
* AU_UnificationSubproblem.cc (solve): support unifications of the |
| 537 |
form f(...) = X |
| 538 |
(solve): save and restore preSolveState - this is because |
| 539 |
purification may create problems on the pending stack that must |
| 540 |
retracted |
| 541 |
|
| 542 |
2014-04-01 Steven Eker <[email protected]> |
| 543 |
|
| 544 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decls |
| 545 |
for findNextSolution() and new buildSolution() |
| 546 |
|
| 547 |
* AU_UnificationSubproblem.cc (AU_UnificationSubproblem): delete |
| 548 |
problems from struct Unification and not main object |
| 549 |
(AU_UnificationSubproblem): don't clear problem field |
| 550 |
(addUnification): clear problem field |
| 551 |
(buildSolution): added 3 arg version |
| 552 |
(findNextSolution): added |
| 553 |
|
| 554 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added problem |
| 555 |
member to struct Unification; removed problem field from class |
| 556 |
|
| 557 |
* AU_UnificationSubproblem.cc (solve): pass findFirst to |
| 558 |
findNextSolution() |
| 559 |
(resolve): avoid binding a variable to itself |
| 560 |
|
| 561 |
2014-03-31 Steven Eker <[email protected]> |
| 562 |
|
| 563 |
* AU_UnificationSubproblem.cc (resolve): added |
| 564 |
(buildSolution): added |
| 565 |
|
| 566 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decls |
| 567 |
for buildSolution(), resolve(); added data members |
| 568 |
savesSubstitution, preSolveSubstitution, savedPendingState |
| 569 |
|
| 570 |
2014-03-28 Steven Eker <[email protected]> |
| 571 |
|
| 572 |
* AU_UnificationSubproblem.cc (findUpperBound): added |
| 573 |
|
| 574 |
* AU_UnificationSubproblem.hh (SimpleRootContainer): added decl |
| 575 |
for findUpperBound() |
| 576 |
|
| 577 |
* AU_DagNode.cc (computeBaseSortForGroundSubterms): added |
| 578 |
(computeSolvedForm2): added |
| 579 |
(insertVariables2): added |
| 580 |
|
| 581 |
* AU_DagNode.hh (AU_BaseDagNode): added decls for |
| 582 |
computeBaseSortForGroundSubterms(), computeSolvedForm2(), |
| 583 |
insertVariables2() |
| 584 |
|
| 585 |
* AU_UnificationSubproblem.cc: created a stub |
| 586 |
|
| 587 |
* AU_Symbol.hh (AssociativeSymbol): added decls for |
| 588 |
computeGeneralizedSort(), makeUnificationSubproblem() |
| 589 |
|
| 590 |
* AU_Theory.hh: added AU_UnificationSubproblem |
| 591 |
|
| 592 |
* AU_UnificationSubproblem.hh: created a stub |
| 593 |
|
| 594 |
* AU_Symbol.cc (computeGeneralizedSort): added |
| 595 |
(makeUnificationSubproblem): added |
| 596 |
|
| 597 |
===================================Maude102=========================================== |
| 598 |
|
| 599 |
2012-04-13 Steven Eker <[email protected]> |
| 600 |
|
| 601 |
* AU_DagNode.hh (AU_BaseDagNode): added decl for |
| 602 |
instantiateWithCopies2(); updated decl for instantiateWithReplacement() |
| 603 |
|
| 604 |
* AU_DagNode.cc (instantiateWithCopies2): added |
| 605 |
(instantiateWithReplacement): rewritten to respect eager positions |
| 606 |
|
| 607 |
2012-03-30 Steven Eker <[email protected]> |
| 608 |
|
| 609 |
* AU_Symbol.hh (AssociativeSymbol): added decl for termify() |
| 610 |
|
| 611 |
* AU_Symbol.cc (termify): added |
| 612 |
|
| 613 |
===================================Maude96=========================================== |
| 614 |
|
| 615 |
2010-10-19 Steven Eker <eker@rho> |
| 616 |
|
| 617 |
* AU_Symbol.cc (AU_Symbol::makeCanonicalCopyEagerUptoReduced): |
| 618 |
becomes makeCanonicalCopy() with change of semantics |
| 619 |
|
| 620 |
* AU_Symbol.hh (class AU_Symbol): |
| 621 |
makeCanonicalCopyEagerUptoReduced() -> makeCanonicalCopy() |
| 622 |
|
| 623 |
===================================Maude95a=========================================== |
| 624 |
|
| 625 |
2010-09-29 Steven Eker <eker@rho> |
| 626 |
|
| 627 |
* AU_Symbol.cc (AU_Symbol::makeCanonicalCopyEagerUptoReduced): |
| 628 |
simplified now that we only deal with unreduced dag nodes; use |
| 629 |
getCanonicalCopyEagerUptoReduced() |
| 630 |
|
| 631 |
* AU_Symbol.hh (class AU_Symbol): added decl for |
| 632 |
makeCanonicalCopyEagerUptoReduced() |
| 633 |
|
| 634 |
* AU_Symbol.cc (AU_Symbol::makeCanonicalCopyEagerUptoReduced): added |
| 635 |
|
| 636 |
===================================Maude95=========================================== |
| 637 |
|
| 638 |
2010-03-17 Steven Eker <eker@rho> |
| 639 |
|
| 640 |
* AU_DagNode.hh (AU_DagNode::setProducedByAssignment): clean up |
| 641 |
check for bug below |
| 642 |
|
| 643 |
* AU_BaseDagNode.hh (AU_BaseDagNode::isProducedByAssignment): |
| 644 |
added |
| 645 |
|
| 646 |
* AU_DagNode.cc (AU_DagNode::partialReplace): fix nasty bug where |
| 647 |
we had are normlization status set to ASSIGNMENT but replacement |
| 648 |
violated the guarantees offered by this status |
| 649 |
|
| 650 |
2010-03-16 Steven Eker <eker@rho> |
| 651 |
|
| 652 |
* AU_DagNode.cc (AU_DagNode::overwriteWithClone) |
| 653 |
(AU_DagNode::makeClone): use |
| 654 |
setNormalizationStatus()/getNormalizationStatus() instead of |
| 655 |
setTheoryByte()/getTheoryByte() |
| 656 |
|
| 657 |
* AU_Symbol.cc (AU_Symbol::makeCanonical): don't call |
| 658 |
setProducedByAssignment() until we have filled out arguements |
| 659 |
(AU_Symbol::makeCanonical): ditto |
| 660 |
|
| 661 |
* AU_Matcher.cc (AU_LhsAutomaton::forcedLoneVariableCase): don't |
| 662 |
call setProducedByAssignment() until we have filled out arguements |
| 663 |
|
| 664 |
* AU_Symbol.cc (AU_Symbol::eqRewrite): added look to check for |
| 665 |
Riesco 1/18/10 buga |
| 666 |
|
| 667 |
* AU_FullMatcher.cc (AU_LhsAutomaton::fullMatchFixedLengthBlock): |
| 668 |
added Assert() to check for argument with missing sort information |
| 669 |
|
| 670 |
2010-03-12 Steven Eker <eker@rho> |
| 671 |
|
| 672 |
* AU_RhsAutomaton.cc (AU_RhsAutomaton::replace) |
| 673 |
(AU_RhsAutomaton::construct): use nrArguments |
| 674 |
(AU_RhsAutomaton::buildArguments): use nrArguments |
| 675 |
|
| 676 |
* AU_RhsAutomaton.hh (class AU_RhsAutomaton): added data member nrArguments |
| 677 |
(AU_RhsAutomaton::close): set nrArguments |
| 678 |
|
| 679 |
* AU_RhsAutomaton.cc (AU_RhsAutomaton::buildArguments): rewrite to |
| 680 |
use iterators; made local_inline |
| 681 |
|
| 682 |
* AU_Term.cc (AU_Term::compileRhs2): rewritten to compile/build |
| 683 |
largest arguments first - this fixes a potential compilation |
| 684 |
performance issue |
| 685 |
|
| 686 |
===================================Maude93=========================================== |
| 687 |
|
| 688 |
2009-12-22 Steven Eker <[email protected]> |
| 689 |
|
| 690 |
* AU_Symbol.hh (class AU_Symbol): added decl for makeCanonical() |
| 691 |
|
| 692 |
* AU_Symbol.cc (makeCanonical): added |
| 693 |
|
| 694 |
===================================Maude92b=========================================== |
| 695 |
|
| 696 |
2009-11-04 Steven Eker <[email protected]> |
| 697 |
|
| 698 |
* AU_LhsCompiler.cc (findConstraintPropagationSequence): added |
| 699 |
DebugAdvisory()'s to both versions to try and locate serious |
| 700 |
performance bug |
| 701 |
(findConstraintPropagationSequence): added an optimization where |
| 702 |
we don't bother looking at the right alien if we forced all or all |
| 703 |
but one arguments using the left alien |
| 704 |
(unitVariable): added comment |
| 705 |
|
| 706 |
===================================Maude92a=========================================== |
| 707 |
|
| 708 |
2008-11-06 Steven Eker <[email protected]> |
| 709 |
|
| 710 |
* AU_Term.cc (normalize): fix a nasty bug where we were collapsing |
| 711 |
to a subterm that had already been self destructed in the all |
| 712 |
identity case |
| 713 |
|
| 714 |
===================================Maude91d=========================================== |
| 715 |
|
| 716 |
2008-09-11 Steven Eker <[email protected]> |
| 717 |
|
| 718 |
* AU_Matcher.cc (determineRigidBlocks): initialized firstMatch |
| 719 |
field to avoid compiler warning |
| 720 |
|
| 721 |
===================================Maude91a=========================================== |
| 722 |
|
| 723 |
2007-11-20 Steven Eker <[email protected]> |
| 724 |
|
| 725 |
* AU_Term.cc (normalize): fix memory leak by calling |
| 726 |
deepSelfDestruct() on removed identities |
| 727 |
|
| 728 |
2007-11-15 Steven Eker <[email protected]> |
| 729 |
|
| 730 |
* AU_Normalize.cc (normalizeAtTop): don't allow garbage collection |
| 731 |
when we're in dumb mode |
| 732 |
|
| 733 |
2007-11-09 Steven Eker <[email protected]> |
| 734 |
|
| 735 |
* AU_DagNode.cc (instantiate2): pass dumb=true to |
| 736 |
normalizeAtTop(); call setGround() |
| 737 |
|
| 738 |
* AU_DagNode.hh (class AU_DagNode): updated decl for |
| 739 |
normalizeAtTop() with dumb flag defaulting to false |
| 740 |
|
| 741 |
* AU_Normalize.cc (normalizeAtTop): take dumb flag; only use |
| 742 |
deques when dumb flag is false |
| 743 |
|
| 744 |
2007-11-07 Steven Eker <[email protected]> |
| 745 |
|
| 746 |
* AU_DagNode.cc (instantiateWithReplacement): fix bug where we |
| 747 |
were making a cyclic dag |
| 748 |
|
| 749 |
* AU_DequeDagNode.hh (class AU_DequeDagNode): added decl for |
| 750 |
indexVariables2() |
| 751 |
|
| 752 |
* AU_DequeDagNode.cc (indexVariables2): added |
| 753 |
|
| 754 |
2007-11-05 Steven Eker <[email protected]> |
| 755 |
|
| 756 |
* AU_DagNode.cc (copyEagerUptoReduced2): remove unneeded cast |
| 757 |
(indexVariables2, instantiateWithReplacement): added |
| 758 |
|
| 759 |
* AU_DagNode.hh (class AU_DagNode): added declarations for |
| 760 |
instantiate2(), indexVariables2(), instantiateWithReplacement() |
| 761 |
|
| 762 |
===================================Maude89h=========================================== |
| 763 |
|
| 764 |
2006-09-26 Steven Eker <[email protected]> |
| 765 |
|
| 766 |
* AU_CollapseMatcher.cc (uniqueCollapseMatch): we have to bind an |
| 767 |
unbound variable that can take identity in the rigid part |
| 768 |
otherwise it could be bound to something other than identity later |
| 769 |
on (we know it will be bound later on because it is in the rigid |
| 770 |
part). |
| 771 |
|
| 772 |
2006-09-25 Steven Eker <[email protected]> |
| 773 |
|
| 774 |
* AU_CollapseMatcher.cc (uniqueCollapseMatch): handle the case |
| 775 |
where a variable that can take identity ends up in the rigid part |
| 776 |
because we expect it to be bound by some other term in the rigid |
| 777 |
part |
| 778 |
|
| 779 |
2005-07-28 Steven Eker <[email protected]> |
| 780 |
|
| 781 |
* AU_Term.cc (deepCopy2): rewritten to handle translation to |
| 782 |
non-AU_Symbol |
| 783 |
|
| 784 |
* AU_Term.hh (class AU_Term): updated decl for SymbolMap* version |
| 785 |
of ctor |
| 786 |
|
| 787 |
* AU_Term.cc (AU_Term): SymbolMap* version: require symbol to be |
| 788 |
an AU_Symbol |
| 789 |
|
| 790 |
2005-07-01 Steven Eker <[email protected]> |
| 791 |
|
| 792 |
* AU_Term.hh (class AU_Term): updated decls for deepCopy2() and |
| 793 |
SymbolMap* version of ctor |
| 794 |
|
| 795 |
* AU_Term.cc (deepCopy2): rewritten |
| 796 |
(AU_Term): rewritten |
| 797 |
|
| 798 |
===================================Maude86b=========================================== |
| 799 |
|
| 800 |
2005-02-18 Steven Eker <[email protected]> |
| 801 |
|
| 802 |
* AU_GreedyMatcher.cc (greedyMatchVariableBlock): commented out 4 |
| 803 |
DebugAdvisory()s |
| 804 |
|
| 805 |
===================================Maude86=========================================== |
| 806 |
|
| 807 |
2003-08-29 Steven Eker <[email protected]> |
| 808 |
|
| 809 |
* AU_Symbol.hh (class AU_Symbol): added decl for |
| 810 |
rewriteAtTopNoOwise() |
| 811 |
|
| 812 |
* AU_Symbol.cc (rewriteAtTopNoOwise): added |
| 813 |
(complexStrategy): rewritten using rewriteAtTopNoOwise() |
| 814 |
(memoStrategy): rewritten using rewriteAtTopNoOwise() |
| 815 |
|
| 816 |
===================================Maude82=========================================== |
| 817 |
|
| 818 |
2003-05-28 Steven Eker <[email protected]> |
| 819 |
|
| 820 |
* AU_Layer.cc (solveVariables): use |
| 821 |
MemoryCell::okToCollectGarbage() |
| 822 |
|
| 823 |
===================================Maude80b=========================================== |
| 824 |
|
| 825 |
2003-05-01 Steven Eker <[email protected]> |
| 826 |
|
| 827 |
* AU_Matcher.cc (determineRigidBlocks): use clear() |
| 828 |
|
| 829 |
* AU_DequeDagNode.cc (overwriteWithClone): use |
| 830 |
copySetRewritingFlags() |
| 831 |
(makeClone): use copySetRewritingFlags() |
| 832 |
|
| 833 |
* AU_DagNode.cc (overwriteWithClone): use copySetRewritingFlags() |
| 834 |
(makeClone): use copySetRewritingFlags() |
| 835 |
|
| 836 |
2003-04-30 Steven Eker <[email protected]> |
| 837 |
|
| 838 |
* AU_LhsCompiler.cc (addFixedLengthBlock): fixed (invisible) bug |
| 839 |
where we had the earlyMatchFailOnInstanceOf() the wrong way around |
| 840 |
(addFixedLengthBlock): rewrote shift calculation inner loop to |
| 841 |
make it more understandable |
| 842 |
(addFixedLengthBlock): rewrote shift calculation inner loop to fix |
| 843 |
bug where the metalevel binds a variable that invalidates the |
| 844 |
subsumption and we end up with too big of a shift |
| 845 |
|
| 846 |
* AU_Layer.cc (bindVariables): use safeCast() on result of |
| 847 |
makeFragment() |
| 848 |
|
| 849 |
* AU_Matcher.cc (match): use safeCast() |
| 850 |
|
| 851 |
2003-04-29 Steven Eker <[email protected]> |
| 852 |
|
| 853 |
* AU_GreedyMatcher.cc (greedyMatchVariableBlock): fix bug in the |
| 854 |
case where a variable has to take the identity by setting it to |
| 855 |
[pos, pos-1] rather than [pos+1, pos]; this is important since |
| 856 |
last variable in bloack can have its lastSubject set to pos-1 in |
| 857 |
the code that assigns spare subterms |
| 858 |
|
| 859 |
* AU_Symbol.cc (calculateNrSubjectsMatched): fixed bug where we |
| 860 |
weren't handling the case that d points to a AU_DequeDagNode; use |
| 861 |
safeCast() |
| 862 |
|
| 863 |
* AU_GreedyMatcher.cc (greedyBindVariables): added Assert() to |
| 864 |
catch -ve number of subjects assigned to a variable |
| 865 |
|
| 866 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): deleted decl for |
| 867 |
calculateNrSubjectsMatched() |
| 868 |
|
| 869 |
* AU_DequeMatcher.cc (dequeMatch): fixed bug wherewe weren't |
| 870 |
checking that there was enough arguments before handling a |
| 871 |
variable bound to an alien |
| 872 |
(dequeMatch): changed way of keeping track of bounds |
| 873 |
|
| 874 |
2003-04-28 Steven Eker <[email protected]> |
| 875 |
|
| 876 |
* AU_Symbol.cc (stackArguments): handle deque case properly rather |
| 877 |
than converting to AU_DagNode |
| 878 |
(normalizeAndComputeTrueSort): only do arg sort computations and |
| 879 |
normalizeAtTop() if the subject is fresh |
| 880 |
(computeBaseSort): rewritten using FOR_EACH_CONST() |
| 881 |
|
| 882 |
* AU_DequeDagNode.cc (stackArguments): fixed bug where we weren't |
| 883 |
initializing j |
| 884 |
|
| 885 |
* AU_Term.cc (deepSelfDestruct): use FOR_EACH_CONST() |
| 886 |
(normalize): use FOR_EACH_CONST() |
| 887 |
(findEagerVariables): use FOR_EACH_CONST() |
| 888 |
(markEagerArguments): use FOR_EACH_CONST() |
| 889 |
(analyseCollapses2): use FOR_EACH_CONST() (2 places) |
| 890 |
(dump): use FOR_EACH_CONST() |
| 891 |
(findAvailableTerms): use FOR_EACH_CONST() |
| 892 |
(compileRhs2): use FOR_EACH_CONST() (2 places) |
| 893 |
|
| 894 |
* AU_ExtensionInfo.cc (copy): use safeCast() |
| 895 |
|
| 896 |
* AU_DagNode.cc (partialReplace): use safeCast() |
| 897 |
(partialConstruct): use safeCast() |
| 898 |
(matchVariableWithExtension): use safeCast() |
| 899 |
|
| 900 |
* AU_Term.cc (normalize): use safeCast() (2 places) |
| 901 |
|
| 902 |
2003-04-25 Steven Eker <[email protected]> |
| 903 |
|
| 904 |
* AU_Symbol.cc (complexStrategy): simplified using rewriteAtTop() |
| 905 |
(complexStrategy): simplified using rewriteAtTop() |
| 906 |
|
| 907 |
* AU_Symbol.hh (class AU_Symbol): updated decl for |
| 908 |
complexStrategy() |
| 909 |
|
| 910 |
* AU_Symbol.cc (makeDagNode): use STL copy() |
| 911 |
(eqRewrite): need to check for equationFree() even in assignment |
| 912 |
case because reduce flag may not have be set because sort was not |
| 913 |
known because of an mb. |
| 914 |
(ruleRewrite): check for ruleFree() |
| 915 |
(AU_Symbol): set useDequeFlag only if we have standardStrategy() |
| 916 |
(eqRewrite): safeCast() to AU_DagNode* in the complexStrategy() |
| 917 |
case |
| 918 |
|
| 919 |
* AU_DagNode.cc (overwriteWithClone): use STL copy() |
| 920 |
(makeClone): use STL copy() |
| 921 |
(copyEagerUptoReduced2): use STL copy() |
| 922 |
|
| 923 |
2003-04-24 Steven Eker <[email protected]> |
| 924 |
|
| 925 |
* AU_Term.hh (symbol): use safeCast() |
| 926 |
|
| 927 |
* AU_DagNode.hh (class AU_DagNode): added decl for disappear() |
| 928 |
|
| 929 |
* AU_Normalize.cc (normalizeAtTop): rewritten |
| 930 |
(disappear): added |
| 931 |
|
| 932 |
* AU_BaseDagNode.cc: deleted |
| 933 |
|
| 934 |
* AU_DagNode.hh (class AU_DagNode): class AU_BaseDagNode no longer |
| 935 |
a friend |
| 936 |
|
| 937 |
* AU_BaseDagNode.cc (makeExtensionInfo): deleted |
| 938 |
(getSize): deleted |
| 939 |
|
| 940 |
* AU_BaseDagNode.hh (class AU_BaseDagNode): deleted decls for |
| 941 |
makeExtensionInfo() and getSize() |
| 942 |
|
| 943 |
* AU_DequeDagNode.cc (matchVariableWithExtension): deleted |
| 944 |
(makeExtensionInfo): added |
| 945 |
|
| 946 |
* AU_DequeDagNode.hh (class AU_DequeDagNode): added decl for |
| 947 |
makeExtensionInfo(); deleted decl for matchVariableWithExtension() |
| 948 |
|
| 949 |
* AU_Matcher.cc (matchRigidPart): use FOR_EACH_CONST |
| 950 |
|
| 951 |
* AU_DagNode.cc (overwriteWithClone): fixed bug where we weren't |
| 952 |
incrementing j |
| 953 |
(makeClone): fix symmetric bug |
| 954 |
|
| 955 |
2003-04-23 Steven Eker <[email protected]> |
| 956 |
|
| 957 |
* AU_DequeDagNode.cc (getHashValue): implemented properly |
| 958 |
|
| 959 |
* AU_Normalize.cc (normalizeAtTop): use AU_Deque ctor |
| 960 |
|
| 961 |
* AU_Symbol.hh (class AU_Symbol): added decl for rewriteAtTop() |
| 962 |
|
| 963 |
* AU_Symbol.cc (rewriteAtTop): added |
| 964 |
(eqRewrite): use rewriteAtTop(); assume deque form never needs to |
| 965 |
be rewritten |
| 966 |
|
| 967 |
* AU_Normalize.cc (normalizeAtTop): use useDeque() |
| 968 |
|
| 969 |
* AU_DagNode.cc (getHashValue): use FOR_EACH_CONST() |
| 970 |
(compareArguments): use FOR_EACH_CONST() |
| 971 |
(clearCopyPointers2): use FOR_EACH_CONST() |
| 972 |
(overwriteWithClone): use FOR_EACH_CONST() |
| 973 |
(makeClone): use FOR_EACH_CONST() |
| 974 |
|
| 975 |
* AU_DagNode.hh (setProducedByAssignment): use |
| 976 |
setNormalizationStatus() |
| 977 |
(producedByAssignment): deleted |
| 978 |
(nrArgs): deleted |
| 979 |
(getArgument): deleted |
| 980 |
(AU_BaseDagNode): use setNormalizationStatus() |
| 981 |
|
| 982 |
* AU_Symbol.hh (class AU_Symbol): added decl for |
| 983 |
compileEquations() |
| 984 |
|
| 985 |
* AU_Symbol.cc (AU_Symbol): init useDequeFlag |
| 986 |
(compileEquations): added |
| 987 |
|
| 988 |
* AU_Symbol.hh (class AU_Symbol): added data member useDequeFlag |
| 989 |
(useDeque): added |
| 990 |
|
| 991 |
* AU_DagNode.cc (markArguments): rewritten to avoid recursing on |
| 992 |
the first arg that shares our symbol |
| 993 |
|
| 994 |
2003-04-22 Steven Eker <[email protected]> |
| 995 |
|
| 996 |
* AU_DequeMatcher.cc (dequeMatch): fixed bug where we weren't |
| 997 |
assigning to returnedSubproblem in the success case |
| 998 |
|
| 999 |
2003-04-21 Steven Eker <[email protected]> |
| 1000 |
|
| 1001 |
* AU_DagOperations.cc (eliminateBackward): first arg no longer |
| 1002 |
const |
| 1003 |
(eliminateForward): first arg no longer const |
| 1004 |
|
| 1005 |
* AU_DagNode.hh (class AU_DagNode): updated decls for |
| 1006 |
eliminateForward() and eliminateBackward() |
| 1007 |
|
| 1008 |
* AU_DequeMatcher.cc: created |
| 1009 |
|
| 1010 |
* AU_Normalize.cc (normalizeAtTop): use safeCast() (2 places) |
| 1011 |
|
| 1012 |
* AU_DagOperations.cc (eliminateForward): use getAU_DagNode() |
| 1013 |
rather than static_cast - fixes a bug |
| 1014 |
(eliminateBackward): ditto |
| 1015 |
|
| 1016 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added decl for |
| 1017 |
dequeMatch() |
| 1018 |
|
| 1019 |
* AU_Matcher.cc (match): handle deque form via dequeMatch() |
| 1020 |
|
| 1021 |
* AU_Normalize.cc (normalizeAtTop): only convert to deque form if |
| 1022 |
symbol is equationFree() |
| 1023 |
|
| 1024 |
* AU_Symbol.hh (class AU_Symbol): added decl for complexStrategy() |
| 1025 |
|
| 1026 |
* AU_Symbol.cc (complexStrategy): added |
| 1027 |
(memoStrategy): use isFresh() |
| 1028 |
(memoStrategy): check for DEQUED |
| 1029 |
(eqRewrite): rewritten to handle deque case |
| 1030 |
|
| 1031 |
* AU_BaseDagNode.hh (isFresh): added |
| 1032 |
|
| 1033 |
2003-04-18 Steven Eker <[email protected]> |
| 1034 |
|
| 1035 |
* AU_DequeDagNode.cc (dequeToArgVec): fixed buf where we weren't |
| 1036 |
preserving sort index and reduced flag |
| 1037 |
|
| 1038 |
* AU_Normalize.cc (normalizeAtTop): fixed bug where we were |
| 1039 |
setting e to argArray.begin() |
| 1040 |
|
| 1041 |
2003-04-17 Steven Eker <[email protected]> |
| 1042 |
|
| 1043 |
* AU_Symbol.cc (computeBaseSort): fixed bug where we were falling |
| 1044 |
into AU_DagNode* case |
| 1045 |
|
| 1046 |
* AU_Normalize.cc (normalizeAtTop): temporary hack to force |
| 1047 |
everything into deque form for testing |
| 1048 |
|
| 1049 |
* AU_DequeDagNode.hh (AU_DequeDagNode): initialize deque with copy |
| 1050 |
ctor rather than assignment |
| 1051 |
|
| 1052 |
2003-04-16 Steven Eker <[email protected]> |
| 1053 |
|
| 1054 |
* AU_Normalize.cc: created |
| 1055 |
|
| 1056 |
* AU_DequeDagNode.hh (AU_DequeDagNode): take AU_Deque arg |
| 1057 |
|
| 1058 |
* AU_DequeDagNode.cc (makeClone): use new ctor |
| 1059 |
|
| 1060 |
* AU_DagNode.hh (class AU_DagNode): added DEQUED to enum |
| 1061 |
NormalizationResult |
| 1062 |
|
| 1063 |
2003-04-15 Steven Eker <[email protected]> |
| 1064 |
|
| 1065 |
* AU_Symbol.cc (ruleRewrite): use getAU_DagNode() |
| 1066 |
(eqRewrite): use getAU_DagNode() |
| 1067 |
(memoStrategy): use getAU_DagNode() |
| 1068 |
(computeBaseSort): handle AU_DequeDagNode; use safeCast() |
| 1069 |
(normalizeAndComputeTrueSort): use getAU_DagNode() |
| 1070 |
(stackArguments): use getAU_DagNode() |
| 1071 |
|
| 1072 |
* AU_Matcher.cc (match): use getAU_DagNode() |
| 1073 |
|
| 1074 |
* AU_DagNode.cc (copyEagerUptoReduced2): use safeCast() |
| 1075 |
|
| 1076 |
* AU_Term.cc (compareArguments): code cleaning |
| 1077 |
|
| 1078 |
* AU_DequeDagNode.cc (compareArguments): code cleaning |
| 1079 |
|
| 1080 |
* AU_BaseDagNode.cc (makeExtensionInfo): use getAU_DagNode() |
| 1081 |
(getSize): handle ACU_TreeDagNode |
| 1082 |
|
| 1083 |
* AU_DagNode.hh: added decl for getAU_DagNode() |
| 1084 |
|
| 1085 |
* AU_DagNode.cc (getAU_DagNode): added |
| 1086 |
|
| 1087 |
2003-04-14 Steven Eker <[email protected]> |
| 1088 |
|
| 1089 |
* AU_DequeDagNode.cc (arguments): use |
| 1090 |
AU_DequeDagArgumentIterator() |
| 1091 |
|
| 1092 |
* AU_Theory.hh: added class AU_DequeDagArgumentIterator |
| 1093 |
|
| 1094 |
* AU_DequeDagArgumentIterator.cc: created |
| 1095 |
|
| 1096 |
* AU_DequeDagArgumentIterator.hh: created |
| 1097 |
|
| 1098 |
* AU_DequeDagNode.hh (getDeque): added |
| 1099 |
|
| 1100 |
* AU_Term.cc (compareArguments): (Term* version) use iterators; |
| 1101 |
use new ordering |
| 1102 |
(compareArguments): (DagNode* version) use iterators; use new |
| 1103 |
ordering; handle AU_DequeDagNodes |
| 1104 |
|
| 1105 |
* AU_DagNode.cc (compareArguments): check for deque; use new |
| 1106 |
ordering |
| 1107 |
|
| 1108 |
* AU_Theory.hh: added class AU_BaseDagNode and class |
| 1109 |
AU_DequeDagNode |
| 1110 |
|
| 1111 |
* AU_DagNode.hh (class AU_DagNode): made AU_DequeDagNode a friend |
| 1112 |
|
| 1113 |
* AU_DequeDagNode.hh: created |
| 1114 |
|
| 1115 |
* AU_DequeDagNode.cc: created |
| 1116 |
|
| 1117 |
2003-04-11 Steven Eker <[email protected]> |
| 1118 |
|
| 1119 |
* AU_DagNode.hh (symbol): deleted |
| 1120 |
(producedByAssignment): sue new theory byte semantics |
| 1121 |
(setProducedByAssignment): use new theory byte semantics |
| 1122 |
(class AU_DagNode): derive from AU_BaseDagNode |
| 1123 |
(AU_BaseDagNode): call AU_BaseDagNode(); use new theory byte |
| 1124 |
semantics |
| 1125 |
|
| 1126 |
* AU_BaseDagNode.hh (_AU_BaseDagNode_hh_): created |
| 1127 |
|
| 1128 |
* AU_DagNode.hh (class AU_DagNode): delete decl for ~AU_DagNode() |
| 1129 |
|
| 1130 |
* AU_DagNode.cc (~AU_DagNode): deleted |
| 1131 |
|
| 1132 |
===================================Maude80=========================================== |
| 1133 |
|
| 1134 |
2003-03-28 Steven Eker <[email protected]> |
| 1135 |
|
| 1136 |
* AU_Symbol.cc (computeBaseSort): fixed bug: we can't rely on |
| 1137 |
producedByAssignment() to know that we're not in the error sort in |
| 1138 |
the uniform sort case, since now we can have variables and |
| 1139 |
assignments at the kind level; instead we check for the uniform |
| 1140 |
sorts component being errorFree() |
| 1141 |
|
| 1142 |
2003-02-25 Steven Eker <[email protected]> |
| 1143 |
|
| 1144 |
* AU_Layer.cc (buildPartition): updated DebugAdvisoryCheck() |
| 1145 |
(bindVariables): updated Assert()s |
| 1146 |
|
| 1147 |
* AU_Term.cc: removed #pragma |
| 1148 |
(Term): updated Assert() |
| 1149 |
(normalize): updated Assert() |
| 1150 |
(insertAbstractionVariables): DebugAdvisoryCheck() -> |
| 1151 |
DebugAdvisory() |
| 1152 |
|
| 1153 |
* AU_Term.hh: removed #pragma |
| 1154 |
|
| 1155 |
* AU_Symbol.cc: removed #pragma |
| 1156 |
(eqRewrite): updated Assert() |
| 1157 |
(computeBaseSort): updated Assert()s |
| 1158 |
(normalizeAndComputeTrueSort): updated Assert() |
| 1159 |
|
| 1160 |
* AU_Symbol.hh: removed #pragma |
| 1161 |
|
| 1162 |
* AU_Subproblem.cc: removed #pragma |
| 1163 |
(AU_Subproblem): updated Assert() |
| 1164 |
|
| 1165 |
* AU_Subproblem.hh: removed #pragma |
| 1166 |
|
| 1167 |
* AU_RhsAutomaton.cc: removed #pragma |
| 1168 |
|
| 1169 |
* AU_RhsAutomaton.hh: removed #pragma |
| 1170 |
|
| 1171 |
* AU_Matcher.cc (match): updated Assert()s, DebugAdvisoryCheck()s |
| 1172 |
(matchRigidPart): updated Assert()s |
| 1173 |
(forcedLoneVariableCase): updated Assert()s |
| 1174 |
(determineRigidBlocks): updated Assert()s, DebugAdvisoryCheck() |
| 1175 |
|
| 1176 |
* AU_LhsCompiler.cc (compileLhs2): updated Assert()s |
| 1177 |
|
| 1178 |
* AU_LhsAutomaton.cc: removed #pragma |
| 1179 |
|
| 1180 |
* AU_LhsAutomaton.hh: removed #pragma |
| 1181 |
|
| 1182 |
* AU_Layer.cc: removed #pragma |
| 1183 |
(link): updated Assert() |
| 1184 |
(solvePatterns2): updated Assert() |
| 1185 |
(buildPartition): updated Assert() |
| 1186 |
|
| 1187 |
* AU_Layer.hh: removed #pragma |
| 1188 |
|
| 1189 |
* AU_GreedyMatcher.cc (greedyMatch): updated Assert() |
| 1190 |
(greedyMatchRigidBlock): updated Assert()s |
| 1191 |
(greedyMatchRigidBlock2): updated Assert() |
| 1192 |
(greedyMatchFixedLengthBlock): updated Assert()s |
| 1193 |
(greedyMatchBlocks): updated Assert() |
| 1194 |
(greedyMatchVariableBlock): updated Asserts(), |
| 1195 |
DebugAdvisoryCheck() |
| 1196 |
|
| 1197 |
* AU_FullMatcher.cc (fullMatchRigidBlock): updated Assert()s |
| 1198 |
(fullMatchRigidBlock2): updated Assert() |
| 1199 |
(fullMatchFixedLengthBlock): updated Assert()s |
| 1200 |
(buildLeftmostPath): updated Assert() |
| 1201 |
|
| 1202 |
* AU_ExtensionInfo.cc: removed #pragma |
| 1203 |
(buildMatchedPortion): updated Assert() |
| 1204 |
|
| 1205 |
* AU_ExtensionInfo.hh: removed #pragma |
| 1206 |
|
| 1207 |
* AU_DagOperations.cc (eliminateForward): updated Assert() |
| 1208 |
(eliminateBackward): updated Assert() |
| 1209 |
(makeFragment): updated Assert() |
| 1210 |
|
| 1211 |
* AU_DagNode.cc: removed #pragma |
| 1212 |
(compareArguments): updated Assert() |
| 1213 |
(markArguments): updated Assert() |
| 1214 |
(normalizeAtTop): updated Assert()s |
| 1215 |
|
| 1216 |
* AU_DagNode.hh: removed #pragma |
| 1217 |
|
| 1218 |
* AU_DagArgumentIterator.cc: removed #pragma |
| 1219 |
(argument): updated Assert() |
| 1220 |
(next): updated Assert() |
| 1221 |
|
| 1222 |
* AU_DagArgumentIterator.hh: removed #pragma |
| 1223 |
|
| 1224 |
* AU_CollapseMatcher.cc (uniqueCollapseMatch): updated Assert() |
| 1225 |
(bindUnboundVariablesToIdentity): updated Assert() |
| 1226 |
(multiwayCollapseMatch): updated Assert()s |
| 1227 |
(collapseMatch): updated Assert() |
| 1228 |
|
| 1229 |
* AU_ArgumentIterator.cc: removed #pragma |
| 1230 |
(argument): updated Assert() |
| 1231 |
(next): updated Assert() |
| 1232 |
|
| 1233 |
* AU_ArgumentIterator.hh: removed #pragma |
| 1234 |
|
| 1235 |
===================================Maude79=========================================== |
| 1236 |
|
| 1237 |
2003-01-31 Steven Eker <[email protected]> |
| 1238 |
|
| 1239 |
* AU_Term.cc (analyseCollapses): becomes analyseCollapses2() |
| 1240 |
|
| 1241 |
* AU_Term.hh (class AU_Term): analyseCollapses() -> |
| 1242 |
analyseCollapses2() |
| 1243 |
|
| 1244 |
2002-11-20 Steven Eker <[email protected]> |
| 1245 |
|
| 1246 |
* AU_Matcher.cc (forcedLoneVariableCase): replaced |
| 1247 |
rawBasePointer() calls with iterators |
| 1248 |
|
| 1249 |
2002-11-18 Steven Eker <[email protected]> |
| 1250 |
|
| 1251 |
* AU_DagNode.cc (compareArguments): use const_iterators in place |
| 1252 |
of CONST_ARG_VEC_HACK()s |
| 1253 |
(markArguments): use const_iterators in place of |
| 1254 |
CONST_ARG_VEC_HACK()s |
| 1255 |
|
| 1256 |
2002-10-16 Steven Eker <[email protected]> |
| 1257 |
|
| 1258 |
* AU_Symbol.hh (class AU_Symbol): postInterSymbolPass() -> |
| 1259 |
postOpDeclarationPass() |
| 1260 |
|
| 1261 |
* AU_Symbol.cc (postInterSymbolPass): becomes |
| 1262 |
postOpDeclarationPass() since sort tables arem't computed at |
| 1263 |
postInterSymbolPass time |
| 1264 |
|
| 1265 |
2002-10-04 Steven Eker <[email protected]> |
| 1266 |
|
| 1267 |
* AU_DagNode.hh (class AU_DagNode): updated decl for complex |
| 1268 |
version of copyWithReplacement() |
| 1269 |
|
| 1270 |
* AU_DagNode.cc (copyWithReplacement): complex version: deal with |
| 1271 |
case where only some args are stacked |
| 1272 |
|
| 1273 |
* AU_Symbol.cc (stackArguments): don't stack any args in frozen |
| 1274 |
case; otherwise only stack arguments that are not unstackable |
| 1275 |
|
| 1276 |
2002-10-03 Steven Eker <[email protected]> |
| 1277 |
|
| 1278 |
* AU_DagNode.hh (class AU_DagNode): updated decl for |
| 1279 |
stackArguments() |
| 1280 |
|
| 1281 |
* AU_DagNode.cc (stackArguments): handle respectFrozen arg |
| 1282 |
|
| 1283 |
===================================Maude76================================================== |
| 1284 |
|
| 1285 |
2002-08-02 Steven Eker <[email protected]> |
| 1286 |
|
| 1287 |
* AU_Term.cc (compileRhs2): added code to flag last use of each |
| 1288 |
source |
| 1289 |
|
| 1290 |
2002-07-24 Steven Eker <[email protected]> |
| 1291 |
|
| 1292 |
* AU_LhsCompiler.cc (addFixedLengthBlock): updated call to |
| 1293 |
subsumes(); this does not fix the potential bug |
| 1294 |
|
| 1295 |
2002-07-22 Steven Eker <[email protected]> |
| 1296 |
|
| 1297 |
* AU_LhsCompiler.cc (addFixedLengthBlock): added comment about a |
| 1298 |
possible bug |
| 1299 |
|
| 1300 |
===================================Maude74================================================== |
| 1301 |
|
| 1302 |
2002-03-29 Steven Eker <[email protected]> |
| 1303 |
|
| 1304 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): fixed return type |
| 1305 |
for greedyMatchFixedLengthBlock() decl |
| 1306 |
|
| 1307 |
* AU_GreedyMatcher.cc (greedyMatchFixedLengthBlock): fixed a |
| 1308 |
really nasty bug where we are declared as returning bool but |
| 1309 |
occasionally need to return UNDECIDED (= -1). When this happens we |
| 1310 |
end up returning true, without binding variables/returning |
| 1311 |
subproblems; return type becomes int |
| 1312 |
|
| 1313 |
===================================Maude71a================================================== |
| 1314 |
|
| 1315 |
2002-03-11 Steven Eker <[email protected]> |
| 1316 |
|
| 1317 |
* AU_Term.cc: deleted explicit template instantiation |
| 1318 |
|
| 1319 |
* AU_Subproblem.cc: deleted explicit template instantiation |
| 1320 |
|
| 1321 |
* AU_LhsAutomaton.cc: deleted explicit template instantiations |
| 1322 |
|
| 1323 |
* AU_Layer.cc: deleted explicit template instantiations |
| 1324 |
|
| 1325 |
===================================Maude71================================================== |
| 1326 |
|
| 1327 |
2002-01-29 Steven Eker <[email protected]> |
| 1328 |
|
| 1329 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added friend decl |
| 1330 |
for SubtermType << function |
| 1331 |
|
| 1332 |
===================================Maude70================================================== |
| 1333 |
|
| 1334 |
2001-12-10 Steven Eker <[email protected]> |
| 1335 |
|
| 1336 |
* AU_Term.hh (class AU_Term): make class AU_ArgumentIterator a |
| 1337 |
friend |
| 1338 |
|
| 1339 |
===================================Maude69================================================== |
| 1340 |
|
| 1341 |
2001-04-03 Steven Eker <[email protected]> |
| 1342 |
|
| 1343 |
* AU_DagNode.cc (copyWithReplacement): added |
| 1344 |
(Vector<RedexPosition> version) |
| 1345 |
|
| 1346 |
* AU_DagNode.hh (class AU_DagNode): added decl for |
| 1347 |
Vector<RedexPosition> version of copyWithReplacement() |
| 1348 |
|
| 1349 |
===================================Engine66================================================== |
| 1350 |
|
| 1351 |
2001-03-08 Steven Eker <[email protected]> |
| 1352 |
|
| 1353 |
* AU_Symbol.hh (class AU_Symbol): added decl for stackArguments() |
| 1354 |
|
| 1355 |
* AU_Symbol.cc (stackArguments): added |
| 1356 |
|
| 1357 |
===================================Engine65================================================== |
| 1358 |
|
| 1359 |
2001-01-26 Steven Eker <[email protected]> |
| 1360 |
|
| 1361 |
* AU_DagNode.hh (class AU_DagNode): updated markArguments() decl |
| 1362 |
and made it private |
| 1363 |
|
| 1364 |
* AU_DagNode.cc (markArguments): rewritten with new semantics |
| 1365 |
|
| 1366 |
===================================Engine64================================================== |
| 1367 |
|
| 1368 |
2000-08-04 Steven Eker <[email protected]> |
| 1369 |
|
| 1370 |
* AU_DagNode.cc (matchVariableWithExtension): don't pass |
| 1371 |
inErrorSort to AU_Subproblem() |
| 1372 |
|
| 1373 |
* AU_Subproblem.cc (AU_Subproblem): don't handle inErrorSort |
| 1374 |
arg |
| 1375 |
(solveVariables): don't check inErrorSort |
| 1376 |
|
| 1377 |
* AU_Subproblem.hh (class AU_Subproblem): ctor no longer takes |
| 1378 |
inErrorSort arg; deleted inErrorSort data member |
| 1379 |
|
| 1380 |
* AU_LhsCompiler.cc (compileLhs2): don't pass inErrorSort arg to |
| 1381 |
AU_LhsAutomaton(); don't use it to determine greediness either |
| 1382 |
|
| 1383 |
* AU_FullMatcher.cc (buildLeftmostPath): don't pass inErrorSort |
| 1384 |
arg to AU_Subproblem() |
| 1385 |
|
| 1386 |
* AU_LhsAutomaton.cc (AU_LhsAutomaton): don't handle inErrorSort |
| 1387 |
arg |
| 1388 |
(dump): don't dump inErrorSort |
| 1389 |
|
| 1390 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): ctor decl no longer |
| 1391 |
takes inErrorSort arg |
| 1392 |
(class AU_LhsAutomaton): deleted inErrorSort data member |
| 1393 |
|
| 1394 |
2000-08-02 Steven Eker <[email protected]> |
| 1395 |
|
| 1396 |
* AU_Symbol.cc (eqRewrite): greatly simplified now that we |
| 1397 |
no longer treat last strategy zero specially when term is in the |
| 1398 |
error sort |
| 1399 |
(memoStrategy): ditto |
| 1400 |
|
| 1401 |
2000-07-31 Steven Eker <[email protected]> |
| 1402 |
|
| 1403 |
* AU_Symbol.cc (computeBaseSort): don't handle union sorts |
| 1404 |
|
| 1405 |
===================================Engine61================================================== |
| 1406 |
|
| 1407 |
2000-07-28 Steven Eker <[email protected]> |
| 1408 |
|
| 1409 |
* AU_RhsAutomaton.cc (remapIndices): added |
| 1410 |
|
| 1411 |
* AU_RhsAutomaton.hh (class AU_RhsAutomaton): added decl for |
| 1412 |
remapIndices() |
| 1413 |
|
| 1414 |
2000-07-26 Steven Eker <[email protected]> |
| 1415 |
|
| 1416 |
* AU_LhsCompiler.cc (compileLhs2): use getNrProtectedVariables() |
| 1417 |
instead of nrVariables() |
| 1418 |
|
| 1419 |
* AU_Term.cc (compileRhs2): use makeConstructionIndex() instead of |
| 1420 |
allocateIndex() |
| 1421 |
(insertAbstractionVariables): use makeProtectedVariable() instead |
| 1422 |
of makeAbstractionVariable() |
| 1423 |
|
| 1424 |
2000-07-25 Steven Eker <[email protected]> |
| 1425 |
|
| 1426 |
* AU_Term.cc (findAvailableTerms): don't insert ground terms into |
| 1427 |
availableTerms since we can't do left->right sharing on them |
| 1428 |
|
| 1429 |
* AU_RhsAutomaton.cc (construct): don't call buildAliens() |
| 1430 |
(replace): don't call buildAliens() |
| 1431 |
(dump): don't call RhsAutomaton::dump() |
| 1432 |
|
| 1433 |
* AU_Term.hh (class AU_Term): delete decl for compileRhs() |
| 1434 |
|
| 1435 |
* AU_Term.cc (compileRhs): deleted |
| 1436 |
|
| 1437 |
===================================Engine60================================================== |
| 1438 |
|
| 1439 |
2000-07-18 Steven Eker <[email protected]> |
| 1440 |
|
| 1441 |
* AU_RhsAutomaton.hh (class AU_RhsAutomaton): removed extraneous |
| 1442 |
decl for dump() |
| 1443 |
|
| 1444 |
2000-07-11 Steven Eker <[email protected]> |
| 1445 |
|
| 1446 |
* AU_Term.cc (findAvailableTerms): added |
| 1447 |
(compileRhs2): added |
| 1448 |
|
| 1449 |
* AU_Term.hh (class AU_Term): added decls for findAvailableTerms() |
| 1450 |
and compileRhs2() |
| 1451 |
|
| 1452 |
===================================Engine59================================================== |
| 1453 |
|
| 1454 |
2000-07-05 Steven Eker <[email protected]> |
| 1455 |
|
| 1456 |
* AU_LhsCompiler.cc (compileLhs): becomes compileLhs2() |
| 1457 |
|
| 1458 |
* AU_Term.hh (class AU_Term): compileLhs() -> compileLhs2() |
| 1459 |
|
| 1460 |
2000-06-26 Steven Eker <[email protected]> |
| 1461 |
|
| 1462 |
* AU_LhsCompiler.cc (compileLhs): index() -> getIndex() |
| 1463 |
(findConstraintPropagationSequence): index() -> getIndex() |
| 1464 |
(unitVariable): lookupSort() -> getSort() |
| 1465 |
(compileLhs): lookupSort() -> getSort() |
| 1466 |
|
| 1467 |
* AU_LhsAutomaton.cc (addRigidVariable): index() -> getIndex() |
| 1468 |
(addRigidVariable): lookupSort() -> getSort() |
| 1469 |
(addFlexVariable): lookupSort() -> getSort() |
| 1470 |
(addFlexVariable): index() -> getIndex() |
| 1471 |
|
| 1472 |
* AU_Term.cc (compileRhs): modifiedIndex() -> getModifiedIndex() |
| 1473 |
|
| 1474 |
===================================Engine58================================================== |
| 1475 |
|
| 1476 |
2000-03-17 Steven Eker <[email protected]> |
| 1477 |
|
| 1478 |
* AU_Term.cc (dump): ifdef'd |
| 1479 |
|
| 1480 |
* AU_Term.hh (class AU_Term): use NO_COPYING() macro; ifdef'd |
| 1481 |
dump() decl |
| 1482 |
|
| 1483 |
* AU_RhsAutomaton.cc (dump): ifdef'd |
| 1484 |
|
| 1485 |
* AU_RhsAutomaton.hh (class AU_RhsAutomaton): use NO_COPYING() |
| 1486 |
macro; ifdef'd dump() decl |
| 1487 |
|
| 1488 |
* AU_LhsAutomaton.cc (dump): ifdef'd |
| 1489 |
|
| 1490 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): use NO_COPYING() |
| 1491 |
macro; ifdef'd dump() decl |
| 1492 |
|
| 1493 |
* AU_Symbol.cc (eqRewrite): AdvisoryCheck() -> IssueAdvisory() |
| 1494 |
(memoStrategy): AdvisoryCheck() -> IssueAdvisory() |
| 1495 |
|
| 1496 |
2000-03-14 Steven Eker <[email protected]> |
| 1497 |
|
| 1498 |
* AU_Layer.cc (solveVariables): call DagNode::okToCollectGarbage() |
| 1499 |
after every failed call to bindVariables() to prevent build up of |
| 1500 |
failed solutions |
| 1501 |
|
| 1502 |
===================================Engine56================================================== |
| 1503 |
|
| 1504 |
1999-11-03 Steven Eker <[email protected]> |
| 1505 |
|
| 1506 |
* AU_Symbol.hh (class AU_Symbol): added decl for memoStrategy() |
| 1507 |
|
| 1508 |
* AU_Symbol.cc (eqRewrite): call memoStrategy() |
| 1509 |
(memoStrategy): added |
| 1510 |
|
| 1511 |
1999-10-29 Steven Eker <[email protected]> |
| 1512 |
|
| 1513 |
* AU_Symbol.cc (AU_Symbol): use new AssociativeSymbol |
| 1514 |
conventions |
| 1515 |
|
| 1516 |
===================================Engine53================================================== |
| 1517 |
|
| 1518 |
1999-10-26 Steven Eker <[email protected]> |
| 1519 |
|
| 1520 |
* AU_LhsCompiler.cc (compileLhs): VariableTerm::dynamicCast() -> |
| 1521 |
dynamic_cast<VariableTerm*>() (*3) |
| 1522 |
(addFixedLengthBlock): VariableTerm::dynamicCast() -> |
| 1523 |
dynamic_cast<VariableTerm*>() |
| 1524 |
(findConstraintPropagationSequence): VariableTerm::dynamicCast() |
| 1525 |
-> dynamic_cast<VariableTerm*>() (*2) |
| 1526 |
|
| 1527 |
* AU_Term.cc (compileRhs): VariableTerm::dynamicCast() -> |
| 1528 |
dynamic_cast<VariableTerm*>() |
| 1529 |
(insertAbstractionVariables): VariableTerm::dynamicCast() -> |
| 1530 |
dynamic_cast<VariableTerm*>() |
| 1531 |
|
| 1532 |
* AU_Symbol.cc (AU_Symbol): aded memoFlag arg |
| 1533 |
|
| 1534 |
* AU_Symbol.hh (class AU_Symbol): added memoFlag arg to ctor decl |
| 1535 |
|
| 1536 |
1999-10-19 Steven Eker <[email protected]> |
| 1537 |
|
| 1538 |
* AU_DagNode.hh (class AU_DagNode): added decl for getHashValue() |
| 1539 |
|
| 1540 |
* AU_DagNode.cc (getHashValue): added |
| 1541 |
|
| 1542 |
===================================Engine52================================================== |
| 1543 |
|
| 1544 |
1999-08-05 Steven Eker <[email protected]> |
| 1545 |
|
| 1546 |
* AU_LhsAutomaton.cc (updateWholeBounds): plus() -> uplus() |
| 1547 |
(updateFlexBounds): plus() -> uplus() |
| 1548 |
|
| 1549 |
* AU_Layer.cc (addTopVariable): plus() -> uplus() |
| 1550 |
|
| 1551 |
===================================Engine51================================================== |
| 1552 |
|
| 1553 |
1999-06-01 Steven Eker <[email protected]> |
| 1554 |
|
| 1555 |
* AU_DagNode.cc (compareArguments): SPEED_HACK replaced by |
| 1556 |
CONST_ARG_VEC_HACKs |
| 1557 |
(markArguments): added CONST_ARG_VEC_HACK; turned for() loop into |
| 1558 |
do while since we always have at least 2 arguments |
| 1559 |
|
| 1560 |
1999-05-13 Steven Eker <[email protected]> |
| 1561 |
|
| 1562 |
* AU_DagNode.cc (overwriteWithClone): copy theory byte |
| 1563 |
(makeClone): copy theory byte |
| 1564 |
|
| 1565 |
1999-05-12 Steven Eker <[email protected]> |
| 1566 |
|
| 1567 |
* AU_Symbol.hh (class AU_Symbol): computeTrueSort() -> |
| 1568 |
normalizeAndComputeTrueSort() |
| 1569 |
|
| 1570 |
* AU_Symbol.cc (computeTrueSort): become |
| 1571 |
normalizeAndComputeTrueSort |
| 1572 |
(normalizeAndComputeTrueSort): use fastComputeTrueSort() |
| 1573 |
|
| 1574 |
===================================Engine49================================================== |
| 1575 |
|
| 1576 |
1999-04-21 Steven Eker <[email protected]> |
| 1577 |
|
| 1578 |
* AU_Term.cc (normalize): handle all identity case - fixing long |
| 1579 |
standing bug |
| 1580 |
|
| 1581 |
===================================Engine48================================================== |
| 1582 |
===================================Maude 1.0.2 released======================================= |
| 1583 |
===================================Maude 1.0.1 released======================================= |
| 1584 |
|
| 1585 |
1999-03-02 Steven Eker <[email protected]> |
| 1586 |
|
| 1587 |
* AU_Matcher.cc (forcedLoneVariableCase): fixed nasty bug in |
| 1588 |
FAST_LONE_VARIABLE case where we were using wrong index var for |
| 1589 |
destination |
| 1590 |
|
| 1591 |
* AU_LhsCompiler.cc (compileLhs): added code to generate fast lone |
| 1592 |
variable case |
| 1593 |
|
| 1594 |
* AU_LhsAutomaton.cc (operator<<): added FAST_LONE_VARIABLE case |
| 1595 |
|
| 1596 |
* AU_Matcher.cc (forcedLoneVariableCase): added FAST_LONE_VARIABLE |
| 1597 |
case |
| 1598 |
(match): add FAST_LONE_VARIABLE to DebugAdvisoryCheck() and Assert() |
| 1599 |
|
| 1600 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added |
| 1601 |
FAST_LONE_VARIABLE to MatchStrategy |
| 1602 |
|
| 1603 |
* AU_LhsAutomaton.cc (addRigidVariable): don't init structure field |
| 1604 |
(addFlexVariable): don't init structure field |
| 1605 |
(addFlexAbstractionVariable): don't init structure field |
| 1606 |
(dump): don't print structure field (2 places) |
| 1607 |
|
| 1608 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): deleted structure |
| 1609 |
field from struct TopVariablesince in's not used - we decide at |
| 1610 |
compile time whether we can use greedy algorithm based on sort |
| 1611 |
structures. make index field a short so we can share space with |
| 1612 |
flags and avoid hole with attendent purify warnings. |
| 1613 |
|
| 1614 |
1999-02-27 Steven Eker <[email protected]> |
| 1615 |
|
| 1616 |
* AU_DagNode.cc (normalizeAtTop): fixed bug in identity test (2 |
| 1617 |
places) |
| 1618 |
|
| 1619 |
1999-02-26 Steven Eker <[email protected]> |
| 1620 |
|
| 1621 |
* AU_DagNode.cc (normalizeAtTop): need to be able to collect |
| 1622 |
garbage in identity + expansion case |
| 1623 |
(normalizeAtTop): added Assert to check buffer size in expansion + |
| 1624 |
identities case |
| 1625 |
|
| 1626 |
* AU_Symbol.cc (eqRewrite): use new normalizeAtTop() semantics and |
| 1627 |
return value (4 places) |
| 1628 |
(computeTrueSort): use new normalizeAtTop() semantics and |
| 1629 |
return value |
| 1630 |
|
| 1631 |
* AU_DagNode.hh (class AU_DagNode): added enum NormalizationResult |
| 1632 |
(class AU_DagNode): updated decl for normalizeAtTop(); deleted |
| 1633 |
decl for eliminateIdentity() |
| 1634 |
|
| 1635 |
* AU_DagNode.cc (normalizeAtTop): now do identity elimination |
| 1636 |
(eliminateIdentity): deleted |
| 1637 |
|
| 1638 |
===================================VectorExperiment========================================== |
| 1639 |
|
| 1640 |
Fri Nov 6 16:18:30 1998 Steven Eker <[email protected]> |
| 1641 |
|
| 1642 |
* AU_Term.cc (deepCopy): -> deepCopy2() |
| 1643 |
|
| 1644 |
* AU_Term.hh (class AU_Term): deepCopy() -> deepCopy2() |
| 1645 |
|
| 1646 |
===================================Engine43================================================== |
| 1647 |
|
| 1648 |
Thu Oct 8 14:00:28 1998 Steven Eker <[email protected]> |
| 1649 |
|
| 1650 |
* AU_DagOperations.cc (eliminateForward): removed const_cast and added const |
| 1651 |
|
| 1652 |
* AU_Term.cc (compareArguments): (Term* version) added const_cast |
| 1653 |
(compareArguments): (DagNode* version) added const_cast |
| 1654 |
(compareArguments): removed const_cast and added const |
| 1655 |
|
| 1656 |
* AU_DagNode.cc (matchVariableWithExtension): static_cast -> const_cast |
| 1657 |
|
| 1658 |
* AU_DagOperations.cc (eliminateForward): inserted const_cast |
| 1659 |
(eliminateBackward): inserted const_cast |
| 1660 |
|
| 1661 |
===================================Engine41================================================== |
| 1662 |
|
| 1663 |
Wed Sep 23 09:50:26 1998 Steven Eker <[email protected]> |
| 1664 |
|
| 1665 |
* AU_Symbol.cc (computeBaseSort): implemented lastIndex heuristic |
| 1666 |
for uniSort case |
| 1667 |
|
| 1668 |
Fri Sep 18 14:21:32 1998 Steven Eker <[email protected]> |
| 1669 |
|
| 1670 |
* AU_Symbol.cc (computeBaseSort): rewritten using setSortIndex(), |
| 1671 |
lookupSortIndex(), traverse() and DagNode::leq() |
| 1672 |
|
| 1673 |
* AU_DagNode.cc (overwriteWithClone): use setSortIndex() |
| 1674 |
(makeClone): use setSortIndex() |
| 1675 |
|
| 1676 |
* AU_Matcher.cc (matchRigidPart): use DagNode::leq() |
| 1677 |
(checkLeftEnd): use DagNode::leq() |
| 1678 |
(checkRightEnd): use DagNode::leq() |
| 1679 |
(forcedLoneVariableCase): use DagNode::leq() |
| 1680 |
|
| 1681 |
* AU_GreedyMatcher.cc (greedyMatchFixedLengthBlock): use |
| 1682 |
DagNode::leq() |
| 1683 |
(greedyMatchVariableBlock): use DagNode::leq() (4 places) |
| 1684 |
|
| 1685 |
* AU_FullMatcher.cc (fullMatchFixedLengthBlock): use |
| 1686 |
DagNode::leq() |
| 1687 |
|
| 1688 |
Fri Sep 11 18:11:19 1998 Steven Eker <[email protected]> |
| 1689 |
|
| 1690 |
* AU_Matcher.cc (forcedLoneVariableCase): use new checkSort() |
| 1691 |
convention |
| 1692 |
|
| 1693 |
* AU_Layer.cc (bindVariables): use new checkSort() convention |
| 1694 |
|
| 1695 |
* AU_Symbol.cc (computeBaseSort): use <=(DagNode*,Sort&) |
| 1696 |
|
| 1697 |
* AU_Matcher.cc (matchRigidPart): use <=(DagNode*,Sort&) |
| 1698 |
(checkLeftEnd): use <=(DagNode*,Sort&) |
| 1699 |
(checkRightEnd): use <=(DagNode*,Sort&) |
| 1700 |
(forcedLoneVariableCase): use <=(DagNode*,Sort&) |
| 1701 |
|
| 1702 |
* AU_GreedyMatcher.cc (greedyMatchFixedLengthBlock): use |
| 1703 |
<=(DagNode*,Sort&) |
| 1704 |
(greedyMatchVariableBlock): use <=(DagNode*,Sort&) (4 places) |
| 1705 |
|
| 1706 |
* AU_FullMatcher.cc (fullMatchFixedLengthBlock): use |
| 1707 |
<=(DagNode*,Sort&) |
| 1708 |
|
| 1709 |
===================================Engine40================================================== |
| 1710 |
|
| 1711 |
Mon Jul 20 19:51:03 1998 Steven Eker <[email protected]> |
| 1712 |
|
| 1713 |
* AU_Term.cc (AU_Term): new ctor added |
| 1714 |
|
| 1715 |
* AU_Term.hh (class AU_Term): added decls for deepCopy() and new |
| 1716 |
ctor |
| 1717 |
|
| 1718 |
===================================Engine39================================================== |
| 1719 |
|
| 1720 |
Wed Jun 10 14:31:27 1998 Steven Eker <[email protected]> |
| 1721 |
|
| 1722 |
* AU_Term.cc (normalize): don't use earlyGetIdentity() |
| 1723 |
|
| 1724 |
* AU_Symbol.hh (class AU_Symbol): changed compileOpDeclarations() |
| 1725 |
decl to postInterSymbolPass() |
| 1726 |
|
| 1727 |
* AU_Symbol.cc (compileOpDeclarations): changed to postInterSymbolPass() |
| 1728 |
|
| 1729 |
* AU_Term.hh (class AU_Term): updated normalize() decl |
| 1730 |
|
| 1731 |
* AU_Term.cc: IntSet -> NatSet |
| 1732 |
(normalize): compute and set changed flag |
| 1733 |
|
| 1734 |
* AU_LhsCompiler.cc: IntSet -> NatSet |
| 1735 |
|
| 1736 |
* AU_Term.hh: IntSet -> NatSet |
| 1737 |
|
| 1738 |
===================================Engine38================================================== |
| 1739 |
|
| 1740 |
Wed Jun 3 16:34:14 1998 Steven Eker <[email protected]> |
| 1741 |
|
| 1742 |
* AU_Term.cc (normalize): use earlyGetIdentity() |
| 1743 |
|
| 1744 |
Fri Feb 20 17:31:47 1998 Steven Eker <[email protected]> |
| 1745 |
|
| 1746 |
* AU_DagNode.cc (stackArguments): only stack arguments that are |
| 1747 |
not flagged as unstackable |
| 1748 |
|
| 1749 |
===================================Engine36================================================== |
| 1750 |
|
| 1751 |
Mon Feb 16 16:21:14 1998 Steven Eker <[email protected]> |
| 1752 |
|
| 1753 |
* AU_LhsAutomaton.cc (AU_LhsAutomaton): fixed bug where we were |
| 1754 |
deleting rigid part 2nd time instead of flex part |
| 1755 |
|
| 1756 |
Thu Feb 12 11:53:39 1998 Steven Eker <[email protected]> |
| 1757 |
|
| 1758 |
* AU_FullMatcher.cc (determineRigidBlocks): moved to AU_Matcher.cc |
| 1759 |
as this is now called only in match() |
| 1760 |
|
| 1761 |
* AU_LhsAutomaton.cc (~AU_LhsAutomaton): added |
| 1762 |
|
| 1763 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added decl for |
| 1764 |
~AU_LhsAutomaton() |
| 1765 |
|
| 1766 |
* AU_Term.cc (normalize): compare() == 0 changed to equal() |
| 1767 |
|
| 1768 |
* AU_Symbol.cc (calculateNrSubjectsMatched): compare() == 0 |
| 1769 |
changed to equal() (3 places) |
| 1770 |
|
| 1771 |
* AU_Matcher.cc (matchRigidPart): compare() != |
| 1772 |
0 changed to !equal() |
| 1773 |
(checkLeftEnd): compare() == 0 changed to equal() |
| 1774 |
(checkRightEnd): compare() == 0 changed to equal() |
| 1775 |
|
| 1776 |
* AU_GreedyMatcher.cc (greedyMatchFixedLengthBlock): compare() != |
| 1777 |
0 changed to !equal() (2 places) |
| 1778 |
|
| 1779 |
* AU_FullMatcher.cc (fullMatchFixedLengthBlock): compare() != 0 |
| 1780 |
changed to !equal() (2 places) |
| 1781 |
|
| 1782 |
* AU_DagOperations.cc (eliminateForward): compare() == 0 changed |
| 1783 |
to equal() (4 places) |
| 1784 |
(eliminateForward): compare() != 0 changed to !equal() |
| 1785 |
|
| 1786 |
* AU_DagNode.cc (eliminateIdentity): compare() == 0 changed to |
| 1787 |
equal() |
| 1788 |
|
| 1789 |
* AU_CollapseMatcher.cc (uniqueCollapseMatch): compare() != 0 |
| 1790 |
changed to !equal() (2 places) |
| 1791 |
(multiwayCollapseMatch): compare() != 0 |
| 1792 |
changed to !equal() (2 places) |
| 1793 |
(multiwayCollapseMatch): compare() == 0 changed to equal() (2 |
| 1794 |
places) |
| 1795 |
|
| 1796 |
Wed Feb 11 16:58:12 1998 Steven Eker <[email protected]> |
| 1797 |
|
| 1798 |
* AU_GreedyMatcher.cc (greedyMatchFixedLengthBlock): need to call |
| 1799 |
delete sp if we get a subproblem in the NON_GROUND_ALIEN |
| 1800 |
case. This was a serious memory leak bug. |
| 1801 |
|
| 1802 |
* AU_FullMatcher.cc (buildLeftmostPath): use delete rather than |
| 1803 |
calling deepSelfDestruct() |
| 1804 |
|
| 1805 |
* AU_Layer.cc (AU_Layer): use delete rather than calling |
| 1806 |
deepSelfDestruct() |
| 1807 |
|
| 1808 |
* AU_Subproblem.hh (class AU_Subproblem): deleted decl for |
| 1809 |
deepSelfDestruct() |
| 1810 |
|
| 1811 |
* AU_Subproblem.cc (deepSelfDestruct): deleted |
| 1812 |
|
| 1813 |
Tue Feb 10 15:24:31 1998 Steven Eker <[email protected]> |
| 1814 |
|
| 1815 |
* AU_GreedyMatcher.cc (greedyMatch): don't call determineRigidBlocks() |
| 1816 |
|
| 1817 |
* AU_FullMatcher.cc (fullMatch): don't call determineRigidBlocks() |
| 1818 |
|
| 1819 |
* AU_Matcher.cc (match): call determineRigidBlocks() |
| 1820 |
|
| 1821 |
=============================Engine35======================================================== |
| 1822 |
|
| 1823 |
Fri Feb 6 11:40:28 1998 Steven Eker <[email protected]> |
| 1824 |
|
| 1825 |
* AU_LhsCompiler.cc (compileLhs): avoid using greedy strategy if |
| 1826 |
with are matching at top and we can collapse since greedy matcher |
| 1827 |
does not ensure that enough has been matched if matching with |
| 1828 |
extension. This is implicitly ensured if we cannot collapse. |
| 1829 |
|
| 1830 |
* AU_GreedyMatcher.cc (greedyMatchFixedLengthBlock): use scratch, |
| 1831 |
not local for matching |
| 1832 |
(greedyMatchRigidBlock): copy scratch back into local after success |
| 1833 |
|
| 1834 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): updated greedy |
| 1835 |
matcher function decls |
| 1836 |
|
| 1837 |
* AU_GreedyMatcher.cc (greedyMatchBlocks): if we have no rigid |
| 1838 |
blocks, last and only variable can have both left and right extension |
| 1839 |
(greedyMatchVariableBlock): major rewrite to handle subtleties |
| 1840 |
introduced by extension |
| 1841 |
|
| 1842 |
Thu Feb 5 15:10:01 1998 Steven Eker <[email protected]> |
| 1843 |
|
| 1844 |
* AU_GreedyMatcher.cc: created |
| 1845 |
|
| 1846 |
Wed Feb 4 17:59:13 1998 Steven Eker <[email protected]> |
| 1847 |
|
| 1848 |
* AU_Layer.hh (class AU_Layer): added data member lastSubjectSubterm |
| 1849 |
(class AU_Layer): deleted decl for computeAssignment() |
| 1850 |
(class AU_Layer): updated decl for solvePartition() |
| 1851 |
|
| 1852 |
* AU_Layer.cc (bindVariables): no need to compute |
| 1853 |
lastSubjectSubterm anymore |
| 1854 |
(bindVariables): reorganization of loop; call to computeAssignment |
| 1855 |
eliminated |
| 1856 |
(computeAssignment): deleted |
| 1857 |
(buildPartition): no need to compute lastSubjectSubterm anymore |
| 1858 |
(solvePartition): removed lastSubjectSubterm arg |
| 1859 |
(solvePartition): reorganized extraId calculations; now check that |
| 1860 |
what a variable is already given by partition is strictly below |
| 1861 |
its upperBound brefore considering it as a candidate for getting |
| 1862 |
an extra identity |
| 1863 |
(solveVariables): don't pass lastSubjectSubterm to |
| 1864 |
solvePartition(); don't compute lastSubjectSubterm |
| 1865 |
(link): simplified inner loop |
| 1866 |
(initialize): initialize lastSubjectSubterm |
| 1867 |
(AU_Layer): don't bother initializing oneSidedId and leftId as |
| 1868 |
these will be initialized in initialize() |
| 1869 |
|
| 1870 |
Tue Feb 3 18:42:21 1998 Steven Eker <[email protected]> |
| 1871 |
|
| 1872 |
* AU_Layer.hh (class AU_Layer): deleted decl for flagOneSidedId() |
| 1873 |
(class AU_Layer): added decl for initialize() |
| 1874 |
|
| 1875 |
* AU_Layer.cc (flagOneSidedId): deleted |
| 1876 |
|
| 1877 |
* AU_Subproblem.hh (class AU_Subproblem): deleted data member subject |
| 1878 |
|
| 1879 |
* AU_Subproblem.cc (solveVariables): don't pass subject to |
| 1880 |
AU_Layer::solveVariables() |
| 1881 |
(AU_Subproblem): call AU_Layer::initialize() |
| 1882 |
(complete): don't call AU_Layer::flagOneSidedId() |
| 1883 |
(AU_Subproblem): don't initialize subject |
| 1884 |
|
| 1885 |
* AU_Layer.cc (bindVariables): don't pass subject to |
| 1886 |
computeAssignment() |
| 1887 |
(solveVariables): don't pass subject to bindVariables() or |
| 1888 |
buildPartition() |
| 1889 |
|
| 1890 |
* AU_Layer.hh (class AU_Layer): update decls for solveVariables(), |
| 1891 |
buildPartition(), bindVariables() and computeAssignment() |
| 1892 |
|
| 1893 |
* AU_Layer.cc (solveVariables): removed subject arg |
| 1894 |
(buildPartition): removed subject arg |
| 1895 |
(bindVariables): removed subject arg |
| 1896 |
(computeAssignment): removed subject arg |
| 1897 |
|
| 1898 |
* AU_Layer.hh (class AU_Layer): added data member subject; |
| 1899 |
reorganized data members |
| 1900 |
|
| 1901 |
* AU_Layer.cc (initialize): added |
| 1902 |
|
| 1903 |
Mon Feb 2 11:39:27 1998 Steven Eker <[email protected]> |
| 1904 |
|
| 1905 |
* AU_Subproblem.cc (AU_Subproblem): don't initialize firstSubterm |
| 1906 |
and lastSubterm |
| 1907 |
|
| 1908 |
* AU_Subproblem.hh (class AU_Subproblem): deleted data members |
| 1909 |
firstSubterm and lastSubterm as they are never used one they have |
| 1910 |
been copied into appropriate layers |
| 1911 |
|
| 1912 |
Fri Jan 30 11:36:21 1998 Steven Eker <[email protected]> |
| 1913 |
|
| 1914 |
* AU_Layer.hh (firstSubtermMatched): deleted |
| 1915 |
(lastSubtermMatched): deleted |
| 1916 |
(class AU_Layer): deleted decls for firstSubtermMatched() and |
| 1917 |
lastSubtermMatched() |
| 1918 |
|
| 1919 |
* AU_Subproblem.hh (class AU_Subproblem): deleted decl for |
| 1920 |
fillOutExtensionInfo() |
| 1921 |
|
| 1922 |
* AU_Subproblem.cc (fillOutExtensionInfo): deleted |
| 1923 |
|
| 1924 |
* AU_DagNode.hh (class AU_DagNode): deleted decls for |
| 1925 |
eliminateSubject() and checkArguments() |
| 1926 |
|
| 1927 |
* AU_DagNode.cc (checkArguments): deleted |
| 1928 |
(eliminateSubject): deleted |
| 1929 |
|
| 1930 |
* AU_Layer.cc (bindVariables): deal with leftExtend/rightExtend |
| 1931 |
correctly when nrVariables == 0 |
| 1932 |
(bindVariables): in right extend case it need not be that |
| 1933 |
firstSubterm == 0 |
| 1934 |
|
| 1935 |
* AU_Subproblem.cc (solveVariables): use bigEnough() and |
| 1936 |
buildMatchedPortion() rather than callingfillOutExtensionInfo() |
| 1937 |
|
| 1938 |
* AU_ExtensionInfo.hh (bigEnough): added |
| 1939 |
(class AU_ExtensionInfo): added decl for bigEnough() |
| 1940 |
(setLastMatched): call setMatchedWhole(); |
| 1941 |
|
| 1942 |
* AU_Layer.cc (bindVariables): set left, right and extraIdentity |
| 1943 |
extensionInfo |
| 1944 |
|
| 1945 |
* AU_Subproblem.cc (AU_Subproblem): pass extensionInfo to |
| 1946 |
initializeFirst() and initializeLast() |
| 1947 |
|
| 1948 |
* AU_Layer.hh (class AU_Layer): updated initializeFirst() and |
| 1949 |
initializeLast() decls |
| 1950 |
|
| 1951 |
* AU_Layer.cc (initializeFirst): set extensionInfo if needed |
| 1952 |
(initializeFirst): set extensionInfo if needed |
| 1953 |
|
| 1954 |
* AU_Layer.hh (class AU_Layer): added data member extensionInfo |
| 1955 |
|
| 1956 |
* AU_DagOperations.cc (makeFragment): fixed initialization bug; |
| 1957 |
greatly simplified |
| 1958 |
|
| 1959 |
* AU_ExtensionInfo.cc (buildMatchedPortion): greatly simplified |
| 1960 |
and bug removed by using DagNode::makeFragment() |
| 1961 |
|
| 1962 |
* AU_Layer.cc (computeAssignment): use DagNode::makeFragment() |
| 1963 |
|
| 1964 |
* AU_DagNode.hh (class AU_DagNode): added decl for makeFragment() |
| 1965 |
|
| 1966 |
* AU_DagOperations.cc (makeFragment): added |
| 1967 |
|
| 1968 |
Thu Jan 29 10:17:25 1998 Steven Eker <[email protected]> |
| 1969 |
|
| 1970 |
* AU_FullMatcher.cc (determineRigidBlocks): rewritten to fix |
| 1971 |
horrible bug where we were incrementing r.nrSubjectsToLeave before |
| 1972 |
finishing current block so we were in effect incrementing |
| 1973 |
nrSubjectsToLeave for wrong block |
| 1974 |
|
| 1975 |
* AU_Layer.cc (computeAssignment): fixed bug that aflicted left id |
| 1976 |
case |
| 1977 |
|
| 1978 |
* AU_Layer.hh (class AU_Layer): flagOneSidedId() decl updated |
| 1979 |
|
| 1980 |
* AU_Layer.cc (flagOneSidedId): name clash problem; leftId arg |
| 1981 |
changed to leftIdFlag |
| 1982 |
|
| 1983 |
* AU_Subproblem.cc (complete): nrLayers, not nrPatternLayers for |
| 1984 |
loop inserting oneSidedId info |
| 1985 |
|
| 1986 |
* AU_FullMatcher.cc (addVariableBlocks): awkward variables get a |
| 1987 |
lower bound of 0 rather than 1 |
| 1988 |
|
| 1989 |
* AU_Layer.cc (bindVariables): rewritten using DagNode::eliminateForward() |
| 1990 |
(computeAssignment): handle extra id case |
| 1991 |
(bindVariables): deal with the case where variable can take one |
| 1992 |
sided identity because it is at the wrong extreme end |
| 1993 |
(solvePartition): fixed i++ instead of i-- bug |
| 1994 |
|
| 1995 |
* AU_Layer.hh (class AU_Layer): updated solvePartition() decl |
| 1996 |
|
| 1997 |
* AU_Layer.cc (solvePartition): take lastSubjectSubterm arg; use |
| 1998 |
this to help determine if a variable can take an extra identity in |
| 1999 |
the one sided identity case. |
| 2000 |
|
| 2001 |
Wed Jan 28 11:32:50 1998 Steven Eker <[email protected]> |
| 2002 |
|
| 2003 |
* AU_Layer.cc (buildPartition): rewritten to take account of nasty |
| 2004 |
bindings; no longer return 0 under any circumstances |
| 2005 |
(solveVariables): don't bother checking for 0 partition |
| 2006 |
(buildPartition): added DebugAdvisoryCheck for nast binding |
| 2007 |
|
| 2008 |
* AU_Layer.hh (class AU_Layer): added decl for solvePartition() |
| 2009 |
(class AU_Layer): added decl for flagOneSidedId() |
| 2010 |
|
| 2011 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): deleted decl for |
| 2012 |
calculateNrSubjectsMatched() |
| 2013 |
|
| 2014 |
* AU_FullMatcher.cc (determineRigidBlocks): use |
| 2015 |
AU_Symbol::calculateNrSubjectsMatched() |
| 2016 |
(calculateNrSubjectsMatched): deleted |
| 2017 |
|
| 2018 |
* AU_Symbol.hh (class AU_Symbol): added decl for calculateNrSubjectsMatched() |
| 2019 |
|
| 2020 |
* AU_Symbol.cc (calculateNrSubjectsMatched): added |
| 2021 |
|
| 2022 |
* AU_Subproblem.cc (complete): call link() rather than complete |
| 2023 |
(complete): call flagOneSidedId() |
| 2024 |
|
| 2025 |
* AU_Layer.cc (complete): renamed to link() |
| 2026 |
(flagOneSidedId): added |
| 2027 |
(AU_Layer): clear oneSidedId and leftId |
| 2028 |
|
| 2029 |
* AU_Layer.hh (class AU_Layer): added data members oneSidedId and leftId; |
| 2030 |
(class AU_Layer): complete renamed to link() |
| 2031 |
|
| 2032 |
* AU_Layer.cc (solvePartition): added |
| 2033 |
(solvePartition): added to handle extra identities |
| 2034 |
(solveVariables): use solvePartition() |
| 2035 |
|
| 2036 |
* AU_Layer.hh (class AU_Layer): added extraId field to TopVariable |
| 2037 |
|
| 2038 |
* AU_ExtensionInfo.cc (buildMatchedPortion): simplified using |
| 2039 |
oneSidedId() |
| 2040 |
|
| 2041 |
Tue Jan 27 11:01:55 1998 Steven Eker <[email protected]> |
| 2042 |
|
| 2043 |
* AU_FullMatcher.cc (addVariableBlocks): use NOT_FIXED |
| 2044 |
(determineRigidBlocks): use NOT_FIXED |
| 2045 |
(fullMatchRigidBlock2): use NOT_FIXED |
| 2046 |
(buildLeftmostPath): removed comment on nextSubject update since |
| 2047 |
nasty binding will now never occur rigid block |
| 2048 |
|
| 2049 |
* AU_LhsAutomaton.cc (complete): use NOT_FIXED |
| 2050 |
|
| 2051 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added Special value |
| 2052 |
NOT_FIXED = -1 |
| 2053 |
|
| 2054 |
* AU_FullMatcher.cc (addVariableBlocks): missing continue in nasty |
| 2055 |
case added |
| 2056 |
(determineRigidBlocks): Assert() that if we have a nasty binding |
| 2057 |
we must have extension. |
| 2058 |
(determineRigidBlocks): rewritten; make sure that in nasty case we |
| 2059 |
incresse r.nrSubjectsToLeave rather than r.nrSubjectsForUs |
| 2060 |
(calculateNrSubjectsMatched): return max # of subject we could |
| 2061 |
match in the nasty case instead of min |
| 2062 |
(addVariableBlocks): adjusted as f.variable.nastyBinding now holds |
| 2063 |
max rather than min |
| 2064 |
|
| 2065 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): updated |
| 2066 |
calculateNrSubjectsMatched() decl |
| 2067 |
|
| 2068 |
* AU_FullMatcher.cc (determineRigidBlocks): handle variables with |
| 2069 |
nasty binding by treating them as if they are unbound. |
| 2070 |
(determineRigidBlocks): added DebugAdvisoryCheck()s for nasty |
| 2071 |
bindings |
| 2072 |
(calculateNrSubjectsMatched): pass back nasty flag; |
| 2073 |
DebugAdvisoryCheck()s removed |
| 2074 |
(addVariableBlocks): handle variables with nasty bindings |
| 2075 |
|
| 2076 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added nastyBinding |
| 2077 |
field to struct TopVariable |
| 2078 |
|
| 2079 |
* AU_FullMatcher.cc (calculateNrSubjectsMatched): added |
| 2080 |
DebugAdvisoryCheck()s for nasty bindings; now decrement nrArgs in |
| 2081 |
this case |
| 2082 |
|
| 2083 |
Mon Jan 26 18:07:45 1998 Steven Eker <[email protected]> |
| 2084 |
|
| 2085 |
* AU_FullMatcher.cc (determineRigidBlocks): assert that if last |
| 2086 |
rigid block is terminated by end of (unused) flex part rather than |
| 2087 |
by an unbound variable then we must have extension |
| 2088 |
|
| 2089 |
Fri Jan 23 18:20:51 1998 Steven Eker <[email protected]> |
| 2090 |
|
| 2091 |
* AU_FullMatcher.cc (buildLeftmostPath): added Assert to check |
| 2092 |
that there are unbound variable(s) before first rigid block and |
| 2093 |
after last rigid block if there is no extension. |
| 2094 |
(buildLeftmostPath): removed code for special case where flex part |
| 2095 |
consists of a single rigid block (and no extension) since this |
| 2096 |
case can no longer occur |
| 2097 |
(buildLeftmostPath): removed code for adjusting min and max shifts |
| 2098 |
where ther was no extension and no unbound variables before first |
| 2099 |
rigid block or after last rigid block since these cases can no |
| 2100 |
longer occur |
| 2101 |
(addRemainingPaths): removed code for case where these are no |
| 2102 |
unbound variables to the left of 1st rigid block (and no extension) |
| 2103 |
since this case can no longer occur |
| 2104 |
(fullMatchRigidBlock2): use eliminateForward() in place of |
| 2105 |
eliminateSubject(); rather aribitrarily pass limit = rightPos to |
| 2106 |
avoid triggering eliminateForward() precondition Assert() - may be |
| 2107 |
we should be smarter? |
| 2108 |
|
| 2109 |
Thu Jan 22 11:03:55 1998 Steven Eker <[email protected]> |
| 2110 |
|
| 2111 |
* AU_FullMatcher.cc (calculateNrSubjectsMatched): added |
| 2112 |
(determineRigidBlocks): rewritten using calculateNrSubjectsMatched() |
| 2113 |
|
| 2114 |
Wed Jan 21 11:05:37 1998 Steven Eker <[email protected]> |
| 2115 |
|
| 2116 |
* AU_Matcher.cc (match): added DebugAdvisoryCheck()s for match time |
| 2117 |
match strategy changes |
| 2118 |
(matchRigidPart): fixed compare() == 0 bug (should have been !=) |
| 2119 |
|
| 2120 |
* AU_FullMatcher.cc (addVariableBlocks): use flexLeftPos and |
| 2121 |
flexRightPos to determine to section of flex part to be examined |
| 2122 |
for variables |
| 2123 |
(determineRigidBlocks): use flexLeftPos and |
| 2124 |
flexRightPos to determine to section of flex part to be examined |
| 2125 |
for rigid blocks and end of last rigid block if we don't end in a |
| 2126 |
non-rigid variable |
| 2127 |
(buildLeftmostPath): use flexRightPos rather than last |
| 2128 |
|
| 2129 |
Tue Jan 20 11:24:48 1998 Steven Eker <[email protected]> |
| 2130 |
|
| 2131 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added enum Special |
| 2132 |
with single constant STALLED |
| 2133 |
|
| 2134 |
* AU_Matcher.cc (checkLeftEnd): added |
| 2135 |
(checkRightEnd): added |
| 2136 |
(checkForRigidEnds): complete rewritten yet again, this time using |
| 2137 |
checkLeftEnd() and checkRightEnd() to eliminate a rats nest of gotos |
| 2138 |
|
| 2139 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added data members |
| 2140 |
flexLeftPos and flexRightPos |
| 2141 |
|
| 2142 |
* AU_Matcher.cc (match): added code to check nrArgs against whole |
| 2143 |
bounds |
| 2144 |
(match): Only call matchRigidPart in no extension case; tidied no |
| 2145 |
extension case |
| 2146 |
(matchRigidPart): removed code that checked nrArgs against whole |
| 2147 |
bounds |
| 2148 |
(checkForRigidEnds): heavily rewritten with stalled flags and new |
| 2149 |
exit conditions for loop |
| 2150 |
|
| 2151 |
Mon Jan 19 10:58:34 1998 Steven Eker <[email protected]> |
| 2152 |
|
| 2153 |
* AU_Matcher.cc (matchRigidPart): tidied up; nrSubtermsRemaining deleted |
| 2154 |
(match): now call checkForRigidEnds() in lone variable case just |
| 2155 |
in case lone variable is bound. |
| 2156 |
(matchRigidPart): more tidying |
| 2157 |
(forcedLoneVariableCase): assert that lone variable is unbound; |
| 2158 |
lone variable bound case code deleted as this case will now be |
| 2159 |
caught by checkForRigidEnds() and transformed into ground out case. |
| 2160 |
|
| 2161 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added decl for |
| 2162 |
checkForRigidEnds(); deleted decl for matchRigidSubterm() |
| 2163 |
|
| 2164 |
* AU_Matcher.cc (match): rewritten; we now try to force ends of |
| 2165 |
flex part if there is no extension |
| 2166 |
(forcedLoneVariableCase): use flexPart[flexLeftPos] rather than |
| 2167 |
flexPart[0]; no longer assert that flex part has length 1 |
| 2168 |
(matchRigidPart): restored old version as there is not going to be |
| 2169 |
enough overlap with checkForRigidInFlex() to make it worth pulling |
| 2170 |
common parts into another function |
| 2171 |
(checkForRigidInFlex): added |
| 2172 |
(match): completely rewritten to use checkForRigidEnds() |
| 2173 |
(checkForRigidInFlex): renamed to checkForRigidEnds() |
| 2174 |
(matchRigidSubterm): deleted |
| 2175 |
|
| 2176 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added decl for |
| 2177 |
matchRigidSubterm(); deleted decl for boundsChecks() |
| 2178 |
|
| 2179 |
* AU_Matcher.cc (matchRigidSubterm): added |
| 2180 |
(matchRigidPart): rewrittem using matchRigidSubterm |
| 2181 |
|
| 2182 |
Fri Jan 16 16:23:14 1998 Steven Eker <[email protected]> |
| 2183 |
|
| 2184 |
* AU_Term.cc (insertAbstractionVariables): changed |
| 2185 |
AdvisoryCheck() to DebugAdvisoryCheck() |
| 2186 |
|
| 2187 |
* AU_Subproblem.cc (fillOutExtensionInfo): call setExtraIdentity(false) |
| 2188 |
as a temporary hack |
| 2189 |
|
| 2190 |
* AU_LhsCompiler.cc (compileLhs): use oneSidedId() |
| 2191 |
(analyseConstraintPropagation): use oneSidedId() |
| 2192 |
|
| 2193 |
* AU_DagNode.cc (matchVariableWithExtension): use oneSidedId() |
| 2194 |
|
| 2195 |
* AU_Symbol.cc (AU_Symbol): initialize oneSidedIdFlag |
| 2196 |
|
| 2197 |
* AU_Symbol.hh (oneSidedId): added |
| 2198 |
(class AU_Symbol): added data member oneSidedIdFlag and decl for oneSidedId() |
| 2199 |
|
| 2200 |
* AU_DagNode.cc (partialReplace): removed Assert that we don't |
| 2201 |
replace a single arg |
| 2202 |
(partialConstruct): removed Assert that we don't replace a single arg |
| 2203 |
(matchVariableWithExtension): allow variable to match just one |
| 2204 |
thing if we have a one sided identity |
| 2205 |
|
| 2206 |
* AU_ExtensionInfo.cc (makeClone): copy extraIdentityFlag |
| 2207 |
(copy): copy extraIdentityFlag |
| 2208 |
(buildMatchedPortion): handle extra identity case |
| 2209 |
|
| 2210 |
* AU_ExtensionInfo.hh (setExtraIdentity): added |
| 2211 |
(class AU_ExtensionInfo): added data member extraIdentityFlag and |
| 2212 |
decl for setExtraIdentity() |
| 2213 |
|
| 2214 |
Tue Jan 13 10:57:17 1998 Steven Eker <[email protected]> |
| 2215 |
|
| 2216 |
* AU_LhsCompiler.cc (compileLhs): don't employ greedy or lone |
| 2217 |
variable strategies if we have a one sided identity |
| 2218 |
(analyseConstraintPropagation): don't propagate constraints on a |
| 2219 |
lone variable if we have a one sided identity |
| 2220 |
|
| 2221 |
* AU_DagOperations.cc (eliminateForward): fixed bugs where we were |
| 2222 |
not testing compare result against 0 |
| 2223 |
(eliminateBackward): fixed symmtric bugs |
| 2224 |
|
| 2225 |
* AU_Matcher.cc (matchRigidPart): rewrote bound variable case |
| 2226 |
using eliminateForward() and eliminateBackward() |
| 2227 |
|
| 2228 |
Mon Jan 12 17:44:19 1998 Steven Eker <[email protected]> |
| 2229 |
|
| 2230 |
* AU_DagNode.hh (class AU_DagNode): added decls for |
| 2231 |
eliminateForward() and eliminateBackward() |
| 2232 |
|
| 2233 |
* AU_DagOperations.cc (eliminateForward): added; the idea is that |
| 2234 |
this function will match a target (typically avariable binding) |
| 2235 |
against our dag node from a given position taking into to account |
| 2236 |
the following possibilities: |
| 2237 |
(a) the target might be our identity |
| 2238 |
(b) the target might have our top symbol |
| 2239 |
(c) the target might have our top symbol and have our identity |
| 2240 |
underneath it (in first or last position). This pathogical case |
| 2241 |
arises if we have a one sided identity. |
| 2242 |
(eliminateBackward): added; symmetric to eliminateForward() for |
| 2243 |
use in matchinging the rigid part. |
| 2244 |
|
| 2245 |
Fri Jan 9 11:13:19 1998 Steven Eker <[email protected]> |
| 2246 |
|
| 2247 |
* AU_LhsAutomaton.cc (dump): use bool() to make takeIdentity and |
| 2248 |
awkward flags print correctly |
| 2249 |
|
| 2250 |
* AU_Layer.cc (buildPartition): handle case where variable is |
| 2251 |
bound to identity (may be by previous subproblem). |
| 2252 |
|
| 2253 |
Thu Jan 8 11:03:26 1998 Steven Eker <[email protected]> |
| 2254 |
|
| 2255 |
* AU_Subproblem.cc (fillOutExtensionInfo): rewritten; only check |
| 2256 |
matched portion if pattern ws in the error sort. |
| 2257 |
|
| 2258 |
* AU_Layer.cc (bindVariables): don't return out of loop with |
| 2259 |
anything other than false otherwise we may return a solution with |
| 2260 |
unbound variables |
| 2261 |
|
| 2262 |
Wed Jan 7 15:25:37 1998 Steven Eker <[email protected]> |
| 2263 |
|
| 2264 |
* AU_FullMatcher.cc (fullMatchRigidBlock2): implemented |
| 2265 |
(fullMatchFixedLengthBlock): implemented |
| 2266 |
(fullMatch): need to call AU_Subproblem::complete() after |
| 2267 |
subproblem has all the nodes added to do downTarget calculations |
| 2268 |
|
| 2269 |
* AU_DagNode.cc (eliminateSubject): handle the possibility that |
| 2270 |
the target may be our identity |
| 2271 |
|
| 2272 |
* AU_FullMatcher.cc (addRemainingPaths): implemented |
| 2273 |
|
| 2274 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added data member |
| 2275 |
nrSubjectsForRightVars |
| 2276 |
|
| 2277 |
* AU_FullMatcher.cc (determineRigidBlocks): treat awkward |
| 2278 |
variables bound to identity as if they were bound to an alien |
| 2279 |
(buildLeftmostPath): implemented |
| 2280 |
(determineRigidBlocks): calculate nrSubjectsForRightVars |
| 2281 |
|
| 2282 |
Fri Jan 2 14:30:02 1998 Steven Eker <[email protected]> |
| 2283 |
|
| 2284 |
* AU_LhsCompiler.cc (compileLhs): chnaged code to reflect new |
| 2285 |
conventions for addFlexVariable() and addRigidVariable() regarding |
| 2286 |
awkward variables |
| 2287 |
|
| 2288 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): updated |
| 2289 |
addFlexAbstractionVariable() decl |
| 2290 |
|
| 2291 |
* AU_LhsAutomaton.cc (addRigidVariable): set awkward = false |
| 2292 |
(addFlexVariable): set awkward flag correctly |
| 2293 |
(dump): print awkward flag |
| 2294 |
(addFlexAbstractionVariable): take awkward arg and set awkward flag |
| 2295 |
|
| 2296 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added awkward flag |
| 2297 |
to struct TopVariable |
| 2298 |
|
| 2299 |
* AU_CollapseMatcher.cc (uniqueCollapseMatch): deal with rigid |
| 2300 |
part since it is NOT the case that the rigid part need be empty |
| 2301 |
for collapse to occur. |
| 2302 |
(multiwayCollapseMatch): deal with rigid part; in particular the |
| 2303 |
case where we have a matching variable in the rigid part. |
| 2304 |
nrTopVariables replaced by nrFlexVariables throughout file. |
| 2305 |
(bindUnboundVariablesToIdentity): assert that variables in flex |
| 2306 |
part can take identity. |
| 2307 |
(multiwayCollapseMatch): changed many comments to reflect that |
| 2308 |
repeated variables are not a problem and that they are handled |
| 2309 |
correctly implicity though in some cases inefficiently. Removed |
| 2310 |
some commented out code related to repeated variables |
| 2311 |
|
| 2312 |
Wed Dec 24 14:26:24 1997 Steven Eker <[email protected]> |
| 2313 |
|
| 2314 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added decls for |
| 2315 |
uniqueCollapseMatch() and multiwayCollapseMatch() |
| 2316 |
|
| 2317 |
* AU_CollapseMatcher.cc: created |
| 2318 |
|
| 2319 |
* AU_FullMatcher.cc (determineRigidBlocks): take identity into |
| 2320 |
account when calculating number of subjects used up by variable and |
| 2321 |
rigid blocks. |
| 2322 |
|
| 2323 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): struct RigidBlock |
| 2324 |
now has nrSubjectsForUs rather than nrExtraSubjects since bound |
| 2325 |
variable may be bound to our identity |
| 2326 |
|
| 2327 |
* AU_FullMatcher.cc (fullMatch): need to add our AU_Subproblem to |
| 2328 |
subproblems before we let addVariableBlocks() add variable |
| 2329 |
abstraction subproblems |
| 2330 |
|
| 2331 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): updated decl for addVariableBlocks() |
| 2332 |
|
| 2333 |
* AU_FullMatcher.cc: created |
| 2334 |
|
| 2335 |
* AU_LhsAutomaton.cc (dump): dump uniqueCollapseAutomaton if it exists |
| 2336 |
|
| 2337 |
* AU_LhsCompiler.cc (compileLhs): make uniqueCollapseAutomaton if |
| 2338 |
needed |
| 2339 |
|
| 2340 |
* AU_LhsAutomaton.cc (AU_LhsAutomaton): added |
| 2341 |
uniqueCollapseAutomaton arg |
| 2342 |
|
| 2343 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added data member |
| 2344 |
uniqueCollapseAutomaton |
| 2345 |
(class AU_LhsAutomaton): added uniqueCollapseAutomaton arg to ctor |
| 2346 |
decl |
| 2347 |
|
| 2348 |
Tue Dec 23 10:58:30 1997 Steven Eker <[email protected]> |
| 2349 |
|
| 2350 |
* AU_LhsAutomaton.cc (addFlexAbstractionVariable): removed |
| 2351 |
shiftFactor arg |
| 2352 |
(dump): don't try to print name of an abstraction variable |
| 2353 |
|
| 2354 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): removed shiftFactor |
| 2355 |
arg from addFlexAbstractionVariable() decl |
| 2356 |
|
| 2357 |
* AU_LhsCompiler.cc (compileLhs): when we add a flex variable in |
| 2358 |
the general case we have to pass idPossible = true if matchAtTop |
| 2359 |
because of extension. |
| 2360 |
(compileLhs): don't pass shiftFactor to |
| 2361 |
addFlexAbstractionVariable() since this will always be UNDEFINED |
| 2362 |
(2 places). |
| 2363 |
(addFixedLengthBlock): always pass idPossible = false to |
| 2364 |
addFlexVariable() variable in fixed part can never take identity. |
| 2365 |
|
| 2366 |
* AU_Term.hh (class AU_Term): updated unitVariable() decl |
| 2367 |
|
| 2368 |
* AU_LhsCompiler.cc (compileLhs): handle flex lengths of 0 and 1 specially. |
| 2369 |
(compileLhs): use greedySafe() |
| 2370 |
(compileLhs): added Asserts |
| 2371 |
(findConstraintPropagationSequence): code cleaning |
| 2372 |
(compileLhs): code cleaning |
| 2373 |
(unitVariable): removed matchAtTop argument and simplified; made local_inline |
| 2374 |
(findConstraintPropagationSequence): don't pass matchAtTop |
| 2375 |
argument to unitVariable() |
| 2376 |
(compileLhs): rewritten; now explicity look for awkward variables; |
| 2377 |
|
| 2378 |
Mon Dec 22 14:40:40 1997 Steven Eker <[email protected]> |
| 2379 |
|
| 2380 |
* AU_LhsCompiler.cc (compileLhs): handle identity/variable |
| 2381 |
abstraction in flex part. |
| 2382 |
|
| 2383 |
* AU_Term.hh (class AU_Term): added decl for unitVariable() |
| 2384 |
|
| 2385 |
* AU_LhsCompiler.cc (unitVariable): added |
| 2386 |
(findConstraintPropagationSequence): simplified using unitVariable() |
| 2387 |
|
| 2388 |
Fri Dec 19 10:18:25 1997 Steven Eker <[email protected]> |
| 2389 |
|
| 2390 |
* AU_Term.hh (idPossible): made const |
| 2391 |
(class AU_Term): updated decl for idPossible() |
| 2392 |
|
| 2393 |
* AU_LhsCompiler.cc (compileLhs): simplfied using idPossible() (2 places) |
| 2394 |
(addFixedLengthBlock): simplfied using idPossible() |
| 2395 |
(findConstraintPropagationSequence): rewritten do deal with |
| 2396 |
abstracted aliens and variables that can take identity |
| 2397 |
|
| 2398 |
* AU_Term.cc (normalize): use idPossible() |
| 2399 |
(analyseCollapses): use idPossible() |
| 2400 |
(analyseCollapses): simplified |
| 2401 |
|
| 2402 |
* AU_Term.hh (idPossible): added |
| 2403 |
(class AU_Term): added decl for idPossible() |
| 2404 |
|
| 2405 |
* AU_LhsCompiler.cc (compileLhs): pass idPossible args to |
| 2406 |
addRigidVariable() and addFlexVariable() |
| 2407 |
(addFixedLengthBlock): pass idPossible args to addFlexVariable() |
| 2408 |
|
| 2409 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): updated decls for |
| 2410 |
addRigidVariable() and addFlexVariable() |
| 2411 |
|
| 2412 |
* AU_LhsAutomaton.cc (addRigidVariable): added idPossible arg so |
| 2413 |
that we can rule out left end variable taking id if left id |
| 2414 |
missing and similarly with right |
| 2415 |
(addFlexVariable): added idPossible arg |
| 2416 |
|
| 2417 |
Thu Dec 18 11:32:31 1997 Steven Eker <[email protected]> |
| 2418 |
|
| 2419 |
* AU_LhsCompiler.cc (compileLhs): pass collapsePossible flag to |
| 2420 |
AU_LhsAutomaton |
| 2421 |
(compileLhs): inErrorSort implies not greedy |
| 2422 |
|
| 2423 |
* AU_LhsAutomaton.cc (dump): updated |
| 2424 |
|
| 2425 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added decl for |
| 2426 |
addFlexAbstractionVariable() |
| 2427 |
|
| 2428 |
* AU_LhsAutomaton.cc (AU_LhsAutomaton): take collapsePossible arg |
| 2429 |
(addRigidVariable): deal with variables that may take identity; |
| 2430 |
clear abstracted pointer. |
| 2431 |
(addFlexVariable): deal with variables that may take identity; |
| 2432 |
clear abstracted pointer. |
| 2433 |
(addFlexAbstractionVariable): added |
| 2434 |
|
| 2435 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): added |
| 2436 |
collapsePossible arg to ctor |
| 2437 |
|
| 2438 |
* AU_LhsCompiler.cc: created |
| 2439 |
(analyseConstraintPropagation): handle the case where flex part |
| 2440 |
conatins a lone abstracted term |
| 2441 |
|
| 2442 |
* AU_Term.cc (normalize): handle collapse case |
| 2443 |
|
| 2444 |
Sun Dec 14 15:28:05 1997 Steven Eker <[email protected]> |
| 2445 |
|
| 2446 |
* AU_Layer.cc (bindVariables): handle the case where a variable is |
| 2447 |
already bound to our identity. |
| 2448 |
|
| 2449 |
* AU_Subproblem.cc (solvePatterns): use AU_Layer::reset() |
| 2450 |
|
| 2451 |
* AU_Layer.hh (reset): added |
| 2452 |
(class AU_Layer): added reset() decl |
| 2453 |
(class AU_Layer): class AU_Subproblem is no longer a friend |
| 2454 |
|
| 2455 |
* AU_Subproblem.cc (AU_Subproblem): use initializeFirst() |
| 2456 |
and initializeLast() |
| 2457 |
|
| 2458 |
* AU_Layer.hh (class AU_Layer): added decls for initializeFirst() |
| 2459 |
and initializeLast() |
| 2460 |
|
| 2461 |
* AU_Layer.cc (initializeFirst): added |
| 2462 |
(initializeLast): added |
| 2463 |
|
| 2464 |
* AU_Subproblem.cc (fillOutExtensionInfo): use |
| 2465 |
firstSubtermMatched() and lastSubtermMatched(); |
| 2466 |
|
| 2467 |
* AU_Layer.hh (lastSubtermMatched): added |
| 2468 |
(firstSubtermMatched): added |
| 2469 |
(class AU_Subproblem): added decls |
| 2470 |
|
| 2471 |
Sat Dec 13 17:03:07 1997 Steven Eker <[email protected]> |
| 2472 |
|
| 2473 |
* AU_DagNode.cc (matchVariableWithExtension): pass Sort* rather |
| 2474 |
than SortCode to addTopVariable(); |
| 2475 |
(matchVariableWithExtension): call complete(); |
| 2476 |
|
| 2477 |
* AU_Subproblem.hh (class AU_Subproblem): added decl for |
| 2478 |
fillOutExtensionInfo() |
| 2479 |
|
| 2480 |
* AU_Subproblem.cc (fillOutExtensionInfo): added |
| 2481 |
(solveVariables): simplify using fillOutExtensionInfo() |
| 2482 |
|
| 2483 |
Fri Dec 12 16:49:13 1997 Steven Eker <[email protected]> |
| 2484 |
|
| 2485 |
* AU_Subproblem.cc (solveVariables): check to see if matched |
| 2486 |
portion in error sort |
| 2487 |
(solveVariables): check to see if matched portion is too small |
| 2488 |
(less than two terms). This is possible because pattern could be |
| 2489 |
variable or parts of big pattern could match take identity. |
| 2490 |
|
| 2491 |
* AU_Subproblem.hh (class AU_Subproblem): added decl for complete() |
| 2492 |
|
| 2493 |
* AU_Subproblem.cc (complete): added |
| 2494 |
(addNode): deleted |
| 2495 |
|
| 2496 |
* AU_Subproblem.hh (addNode): added |
| 2497 |
|
| 2498 |
* AU_Layer.cc (solvePatterns2): use Assert(d >= totalLowerBound) |
| 2499 |
rather than Assert(d >= prevVariables.length()) since some |
| 2500 |
variables may be able to take identity and may not need any subterm |
| 2501 |
(addTopVariable): update totalLowerBound |
| 2502 |
(AU_Layer): initialize totalLowerBound |
| 2503 |
|
| 2504 |
* AU_Layer.hh (class AU_Layer): added decls for addTopVariable(), |
| 2505 |
addNode(), complete() |
| 2506 |
(class AU_Layer): added data member totalLowerBound |
| 2507 |
|
| 2508 |
* AU_Layer.cc (addNode): added |
| 2509 |
(complete): added |
| 2510 |
|
| 2511 |
* AU_Subproblem.hh (class AU_Subproblem): deleted |
| 2512 |
~AU_Subproblem() decl |
| 2513 |
|
| 2514 |
* AU_Subproblem.cc (~AU_Subproblem): deleted |
| 2515 |
(addTopVariable): deleted |
| 2516 |
|
| 2517 |
* AU_Subproblem.hh (addTopVariable): added |
| 2518 |
(class AU_Subproblem): updated addTopVariable() decl |
| 2519 |
|
| 2520 |
* AU_Layer.cc (addTopVariable): added |
| 2521 |
|
| 2522 |
Thu Dec 11 18:08:35 1997 Steven Eker <[email protected]> |
| 2523 |
|
| 2524 |
* AU_DagNode.hh (class AU_DagNode): AU_Layer replaces |
| 2525 |
AU_Subproblem as a friend |
| 2526 |
(class AU_DagNode): checkArguments() 1st arg made const |
| 2527 |
|
| 2528 |
* AU_Layer.cc: heavily rewritten to handle identity case |
| 2529 |
|
| 2530 |
Wed Dec 10 11:12:56 1997 Steven Eker <[email protected]> |
| 2531 |
|
| 2532 |
* AU_Layer.cc: created |
| 2533 |
|
| 2534 |
* AU_Layer.hh (class AU_Layer): created |
| 2535 |
|
| 2536 |
* AU_Subproblem.hh (class AU_Subproblem): redesigned using AU_Layer |
| 2537 |
|
| 2538 |
* AU_Subproblem.cc: created |
| 2539 |
|
| 2540 |
* AU_DagNode.hh (class AU_DagNode): target arg of checkArguments() |
| 2541 |
should be a reference |
| 2542 |
|
| 2543 |
* AU_DagNode.cc (checkArguments): added |
| 2544 |
|
| 2545 |
Tue Dec 9 16:07:04 1997 Steven Eker <[email protected]> |
| 2546 |
|
| 2547 |
* AU_DagNode.hh (class AU_DagNode): added checkArguments() decl |
| 2548 |
|
| 2549 |
* AU_Matcher.cc (forcedLoneVariableCase): heavily rewritten |
| 2550 |
|
| 2551 |
* AU_LhsAutomaton.hh (class AU_LhsAutomaton): deleted |
| 2552 |
boundsChecks() decl |
| 2553 |
(class AU_LhsAutomaton): added collapseMatch() decl |
| 2554 |
|
| 2555 |
* AU_Matcher.cc: created |
| 2556 |
(boundsChecks): deleted |
| 2557 |
(match): heavily rewritten |
| 2558 |
(matchRigidPart): heavily rewritten; removed several bugs |
| 2559 |
inherited from A_Theory version |
| 2560 |
|
| 2561 |
Mon Dec 8 10:59:23 1997 Steven Eker <[email protected]> |
| 2562 |
|
| 2563 |
* AU_Term.cc (dump): added |
| 2564 |
(analyseCollapses): added |
| 2565 |
(normalize): make sure we contract argArray after deleting |
| 2566 |
identity elements |
| 2567 |
(insertAbstractionVariables): added |
| 2568 |
|
| 2569 |
* AU_Term.hh (class AU_Term): added decls for analyseCollapses() |
| 2570 |
insertAbstractionVariables(), and dump() |
| 2571 |
|
| 2572 |
* AU_Term.cc: created |
| 2573 |
(normalize): fixed serious bug that was hand over from A_Term: we |
| 2574 |
use wrong argArray length for computing hash value. |
| 2575 |
|
| 2576 |
* AU_ArgumentIterator.hh (class AU_ArgumentIterator): use AU_Term::tuple |
| 2577 |
(AU_ArgumentIterator): use AU_Term::tuple |
| 2578 |
|
| 2579 |
* AU_ArgumentIterator.cc (argument): use AU_Term::tuple |
| 2580 |
|
| 2581 |
* AU_Term.hh (class AU_Term): added struct Tuple, argArray becomes |
| 2582 |
Vector<Tuple> |
| 2583 |
|
| 2584 |
Sun Dec 7 15:02:26 1997 Steven Eker <[email protected]> |
| 2585 |
|
| 2586 |
* AU_DagNode.cc (overwriteWithClone): don't put symbol() in local |
| 2587 |
Symbol* variable |
| 2588 |
(makeClone): don't put symbol() in local Symbol* variable |
| 2589 |
|
| 2590 |
* AU_DagNode.hh (class AU_DagNode): ctor takes AU_Symbol* rather |
| 2591 |
than Symbol* |
| 2592 |
|
| 2593 |
* AU_RhsAutomaton.cc: created |
| 2594 |
|
| 2595 |
* AU_RhsAutomaton.hh (class AU_RhsAutomaton): created |
| 2596 |
|
| 2597 |
* AU_ArgumentIterator.cc: created |
| 2598 |
|
| 2599 |
* AU_Subproblem.hh (class AU_Subproblem): created |
| 2600 |
|
| 2601 |
* AU_ArgumentIterator.hh (class AU_ArgumentIterator): created |
| 2602 |
|
| 2603 |
Fri Dec 5 10:46:19 1997 Steven Eker <[email protected]> |
| 2604 |
|
| 2605 |
* AU_Term.hh (class AU_Term): created |
| 2606 |
|
| 2607 |
* AU_ExtensionInfo.cc: created |
| 2608 |
|
| 2609 |
* AU_ExtensionInfo.hh (class AU_ExtensionInfo): created |
| 2610 |
|
| 2611 |
* AU_DagArgumentIterator.cc: created |
| 2612 |
|
| 2613 |
* AU_DagNode.hh (symbol): added |
| 2614 |
|
| 2615 |
* AU_DagArgumentIterator.hh (class AU_DagArgumentIterator): created |
| 2616 |
|
| 2617 |
* AU_Theory.hh: created |
| 2618 |
|
| 2619 |
* AU_DagNode.cc: created |
| 2620 |
|
| 2621 |
* AU_Symbol.cc (eqRewrite): rewritten along the lines of ACU_Symbol::eqRewrite() |
| 2622 |
(computeBaseSort): use producedByAssignment() optimization in |
| 2623 |
uniform sort case |
| 2624 |
|
| 2625 |
* AU_DagNode.hh (class AU_DagNode): created |
| 2626 |
|
| 2627 |
* AU_Symbol.cc (computeBaseSort): use local static sortIndexBuffer |
| 2628 |
in place of utilityBuffer |
| 2629 |
deleted utilityBuffer |
| 2630 |
|
| 2631 |
* AU_Symbol.hh (class AU_Symbol): deleted utilityBuffer decl |
| 2632 |
|
| 2633 |
* AU_Symbol.cc: created |
| 2634 |
|
| 2635 |
* AU_Symbol.hh (class AU_Symbol): created |
| 2636 |
|