| 1 |
2024-03-05 Steven Eker <eker@pup> |
| 2 |
|
| 3 |
* ACU_Term.cc (ACU_Term::arguments): made const |
| 4 |
|
| 5 |
* ACU_Term.hh (class ACU_Term): made arguments() const |
| 6 |
|
| 7 |
===================================Maude158=========================================== |
| 8 |
|
| 9 |
2024-01-16 Steven Eker <eker@pup> |
| 10 |
|
| 11 |
* ACU_Symbol.cc (ACU_Symbol::stackArguments): support |
| 12 |
respectUnstackable argument |
| 13 |
(ACU_Symbol::stackPhysicalArguments): ditto |
| 14 |
|
| 15 |
* ACU_Symbol.hh (class ACU_Symbol): updated decls for stackArguments() |
| 16 |
and stackPhysicalArguments() |
| 17 |
|
| 18 |
===================================Maude156=========================================== |
| 19 |
|
| 20 |
2023-07-24 Steven Eker <eker@pup> |
| 21 |
|
| 22 |
* ACU_Symbol.cc (ACU_Symbol::determineGround): added |
| 23 |
|
| 24 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for determineGround() |
| 25 |
|
| 26 |
===================================Maude151=========================================== |
| 27 |
|
| 28 |
2023-06-02 Steven Eker <eker@pup> |
| 29 |
|
| 30 |
* ACU_UnificationSubproblem2.cc |
| 31 |
(ACU_UnificationSubproblem2::nextSelectionWithIdentity): replaced |
| 32 |
FOR_EACH_CONST with regular for loop; use push_back() |
| 33 |
(ACU_UnificationSubproblem2::nextSelection): make a local copy of |
| 34 |
basis.end(); use push_back() |
| 35 |
|
| 36 |
2023-06-01 Steven Eker <eker@pup> |
| 37 |
|
| 38 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): updated |
| 39 |
decl for fillOutExtensionInfo() |
| 40 |
|
| 41 |
* ACU_NonLinearLhsAutomaton.cc |
| 42 |
(ACU_NonLinearLhsAutomaton::fillOutExtensionInfo): take Index rather than |
| 43 |
const ArgVec<ACU_DagNode::Pair>::const_iterator |
| 44 |
(ACU_NonLinearLhsAutomaton::match): rewritten to use Index rather |
| 45 |
that FOR_EACH_CONST |
| 46 |
|
| 47 |
* ACU_GreedyMatcher.cc (ACU_LhsAutomaton::greedyMatch): rewritten |
| 48 |
to use range-based for loop rather the FOR_EACH_CONST |
| 49 |
|
| 50 |
2023-05-19 Steven Eker <eker@pup> |
| 51 |
|
| 52 |
* ACU_TreeGreedyMatcher.cc (ACU_LhsAutomaton::greedyMatch): rewritten |
| 53 |
to use range-based for loop rather the FOR_EACH_CONST |
| 54 |
|
| 55 |
===================================Maude150=========================================== |
| 56 |
|
| 57 |
2023-05-04 Steven Eker <eker@pup> |
| 58 |
|
| 59 |
* ACU_TreeVariableSubproblem.cc (ACU_TreeVariableSubproblem::solve): set |
| 60 |
stripperAlreadyBound, collectorAlreadyBound in findFirst case; otherwise |
| 61 |
use them to decide whether to clear bindings; this fixes a bug where |
| 62 |
we were never setting stripperBound to false |
| 63 |
(ACU_TreeVariableSubproblem::bindCollector): don't set collectorBound |
| 64 |
(ACU_TreeVariableSubproblem::handleBoundCollector): don't set stripperBound |
| 65 |
(ACU_TreeVariableSubproblem::handleBoundCollector): added Assert() |
| 66 |
|
| 67 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): switched |
| 68 |
stripperBound -> stripperAlreadyBound, collectorBound -> |
| 69 |
collectorAlreadyBound |
| 70 |
|
| 71 |
* ACU_TreeVariableSubproblem.cc (ACU_TreeVariableSubproblem::solve): code |
| 72 |
cleaning |
| 73 |
(ACU_TreeVariableSubproblem::handleBoundCollector): fix bug where we were |
| 74 |
comparing pointer rather that using DagNode::equal() |
| 75 |
(ACU_TreeVariableSubproblem::handleBoundCollector): code cleaning |
| 76 |
(ACU_TreeVariableSubproblem::markReachableNodes): added comment |
| 77 |
(ACU_TreeVariableSubproblem::solve): fix a bug where we never set |
| 78 |
collectorBound to false |
| 79 |
|
| 80 |
2023-05-02 Steven Eker <eker@pup> |
| 81 |
|
| 82 |
* ACU_TreeVariableSubproblem.cc |
| 83 |
(ACU_TreeVariableSubproblem::handleBoundCollector): don't set oneSolution; |
| 84 |
set stripperBound if we bind it |
| 85 |
|
| 86 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): deleted |
| 87 |
data member oneSolution |
| 88 |
|
| 89 |
* ACU_TreeVariableSubproblem.cc (ACU_TreeVariableSubproblem::solve): use |
| 90 |
stripperBound and collectorBound rather than oneSolution |
| 91 |
|
| 92 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): added |
| 93 |
data members stripperBound and collectorBound |
| 94 |
|
| 95 |
* ACU_TreeVariableSubproblem.cc (ACU_TreeVariableSubproblem): Assert() |
| 96 |
that we have at least two arguments remaining |
| 97 |
(ACU_TreeVariableSubproblem::handleBoundCollector): rewritten |
| 98 |
|
| 99 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): |
| 100 |
deleted decl for ~ACU_TreeVariableSubproblem() |
| 101 |
|
| 102 |
* ACU_TreeVariableSubproblem.cc: take const ACU_TreeDagNode*; don't |
| 103 |
initialized currentPath, previous or previousIndex |
| 104 |
(ACU_TreeVariableSubproblem::handleBoundStripper): no need to protect |
| 105 |
new dagnode from GC because checkSort() does this if needed |
| 106 |
(ACU_TreeVariableSubproblem::bindCollector): ditto |
| 107 |
(ACU_TreeVariableSubproblem::handleBoundStripper): use bindCollector() |
| 108 |
(~ACU_TreeVariableSubproblem): deleted |
| 109 |
|
| 110 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): added |
| 111 |
decls for handleBoundCollector(), handleBoundStripper(), bindCollector(); |
| 112 |
deleted decl for collect(); deleted data members previousIndex and |
| 113 |
previous; added data member oneSolution; updated decl for ctor |
| 114 |
|
| 115 |
* ACU_TreeVariableSubproblem.cc (ACU_TreeVariableSubproblem::collect): |
| 116 |
deleted |
| 117 |
(ACU_TreeVariableSubproblem::handleBoundCollector): added |
| 118 |
(ACU_TreeVariableSubproblem::handleBoundStripper): added |
| 119 |
(ACU_TreeVariableSubproblem::bindCollector): added |
| 120 |
(ACU_TreeVariableSubproblem::solve): reimplemented using |
| 121 |
handleBoundCollector(), handleBoundStripper() and bindCollector(); don't |
| 122 |
cache previous solutions; fix bug where we were not protecting newly |
| 123 |
created ACU_TreeDagNode from the garbage collector during checkSort() |
| 124 |
|
| 125 |
2023-05-01 Steven Eker <eker@pup> |
| 126 |
|
| 127 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton::complete): fix bug by doing |
| 128 |
stripper/collector calculations here, after variables have been sorted |
| 129 |
(ACU_LhsAutomaton::addTopVariable): don't do stripper/collector |
| 130 |
calculations here |
| 131 |
(ACU_LhsAutomaton::addTopVariable): store willBeBound |
| 132 |
|
| 133 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added data member |
| 134 |
willBeBound to struct TopVariable; rearrange data members of |
| 135 |
struct TopVariable |
| 136 |
|
| 137 |
===================================Maude148=========================================== |
| 138 |
|
| 139 |
2023-04-28 Steven Eker <eker@pup> |
| 140 |
|
| 141 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::loneSubjectNGA_Case): need to |
| 142 |
bind the collector variable before attempting a match() which might |
| 143 |
also want to bind it |
| 144 |
|
| 145 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 146 |
loneSubjectNGA_Case() |
| 147 |
|
| 148 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::loneSubjectVariableCase): added |
| 149 |
(ACU_LhsAutomaton::treeMatch): use loneSubjectVariableCase() rather than |
| 150 |
returing UNDECIDED |
| 151 |
(ACU_LhsAutomaton::loneSubjectNGA_Case): added |
| 152 |
(ACU_LhsAutomaton::treeMatch): use loneSubjectNGA_Case(); don't return |
| 153 |
UNDECIDED once we're in FULL match case |
| 154 |
|
| 155 |
* ACU_TreeGreedyMatcher.cc (ACU_LhsAutomaton::greedyMatch) |
| 156 |
(ACU_LhsAutomaton::tryToBindVariable) |
| 157 |
(ACU_LhsAutomaton::makeHighMultiplicityAssignment) |
| 158 |
(ACU_LhsAutomaton::tryToBindLastVariable) |
| 159 |
(ACU_LhsAutomaton::greedyPureMatch): moved here |
| 160 |
|
| 161 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::eliminateGroundedOutAliens): |
| 162 |
code cleaning |
| 163 |
(ACU_LhsAutomaton::eliminateBoundVariables): go back to local_inline |
| 164 |
so we can control this if the compiler supports control of inlining |
| 165 |
|
| 166 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): deleted decls for |
| 167 |
fullVariableMatch() and fullNGA_Match() |
| 168 |
|
| 169 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::treeMatch): create |
| 170 |
ACU_TreeVariableSubproblem directly; don't call fullVariableMatch() |
| 171 |
(ACU_LhsAutomaton::treeMatch): create ACU_LazySubproblem directly; |
| 172 |
don't call fullNGA_Match() |
| 173 |
(ACU_LhsAutomaton::fullVariableMatch): deleted |
| 174 |
(ACU_LhsAutomaton::fullNGA_Match): deleted |
| 175 |
(ACU_LhsAutomaton::eliminateBoundVariables): code cleaning |
| 176 |
(ACU_LhsAutomaton::treeMatch): need to use variable index in substitution, |
| 177 |
not in automaton |
| 178 |
|
| 179 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton::addTopVariable): fill out |
| 180 |
collectorIndex and stripperIndex rather than collectorSeen and |
| 181 |
stripperVariableSeen |
| 182 |
(ACU_LhsAutomaton::complete): use collectorIndex and stripperIndex |
| 183 |
rather than collectorSeen and stripperVariableSeen |
| 184 |
(ACU_LhsAutomaton::dump): print collectorIndex and stripperIndex; |
| 185 |
don't print collectorSeen |
| 186 |
|
| 187 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added data members |
| 188 |
collectorIndex and stripperIndex; deleted data members collectorSeen |
| 189 |
and stripperVariableSeen |
| 190 |
|
| 191 |
2023-04-27 Steven Eker <eker@pup> |
| 192 |
|
| 193 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 194 |
fullVariableMatch(); added decl for fullNGA_Match() |
| 195 |
|
| 196 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::fullNGA_Match): added to hold |
| 197 |
the NAG case code |
| 198 |
(ACU_LhsAutomaton::treeMatch): use fullNGA_Match() |
| 199 |
(ACU_LhsAutomaton::fullVariableMatch): don't return value |
| 200 |
(ACU_LhsAutomaton::treeMatch): use new fullVariableMatch(); bail if |
| 201 |
we are in two variable case and we only have 0 or 1 subject arguments left |
| 202 |
|
| 203 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton::addTopVariable): fix bug where |
| 204 |
we were not requiring stripper variable to have multiplicity 1 |
| 205 |
(ACU_LhsAutomaton::complete): fix bug where we were not requiring |
| 206 |
nonGroundAliens.length() == 0 for varStripper to be true |
| 207 |
|
| 208 |
===================================Maude147=========================================== |
| 209 |
|
| 210 |
2023-04-26 Steven Eker <eker@pup> |
| 211 |
|
| 212 |
* ACU_CollectorLhsAutomaton.cc: use COLLECT_THRESHOLD rather than magic |
| 213 |
number |
| 214 |
|
| 215 |
* ACU_CollectorLhsAutomaton.hh (class ACU_CollectorLhsAutomaton): added |
| 216 |
COLLECT_THRESHOLD |
| 217 |
|
| 218 |
* ACU_DagNode.hh (class ACU_DagNode): revert MERGE_THRESHOLD to 16 |
| 219 |
now that we have ACU_TreeVariableSubproblem |
| 220 |
|
| 221 |
2023-04-25 Steven Eker <eker@pup> |
| 222 |
|
| 223 |
* ACU_TreeVariableSubproblem.cc |
| 224 |
(ACU_TreeVariableSubproblem::~ACU_TreeVariableSubproblem): restored |
| 225 |
|
| 226 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): |
| 227 |
restored dtor decl |
| 228 |
|
| 229 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::fullVariableMatch): don't pass |
| 230 |
solution to ACU_TreeVariableSubproblem() |
| 231 |
|
| 232 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): |
| 233 |
deleted data members matchTime, local; bindCollector() -> collect(); |
| 234 |
updated decl for ctor; deleted decl for dtor |
| 235 |
|
| 236 |
* ACU_TreeVariableSubproblem.cc |
| 237 |
(ACU_TreeVariableSubproblem::ACU_TreeVariableSubproblem): don't initialize |
| 238 |
matchTime; reserve() space in previous |
| 239 |
(ACU_TreeVariableSubproblem::~ACU_TreeVariableSubproblem): deleted |
| 240 |
(ACU_TreeVariableSubproblem::bindCollector): becomes collect() |
| 241 |
(ACU_TreeVariableSubproblem::solve): rewritten |
| 242 |
|
| 243 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton::addTopVariable): added comment; |
| 244 |
update stripperVariableSeen |
| 245 |
(ACU_LhsAutomaton::ACU_LhsAutomaton): added comment; initialize |
| 246 |
stripperVariableSeen |
| 247 |
(ACU_LhsAutomaton::complete): allow treeMatchOK variable stripper-collector |
| 248 |
case |
| 249 |
|
| 250 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 251 |
fullVariableMatch() |
| 252 |
|
| 253 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::eliminateBoundVariables): added |
| 254 |
comments; switched from local_inline to inline to check if outlined |
| 255 |
version still included in binary |
| 256 |
(ACU_LhsAutomaton::fullVariableMatch): added |
| 257 |
(ACU_LhsAutomaton::treeMatch): use fullVariableMatch() |
| 258 |
|
| 259 |
2023-04-24 Steven Eker <eker@pup> |
| 260 |
|
| 261 |
* ACU_Theory.hh: added class ACU_LazySubproblem and class |
| 262 |
ACU_TreeVariableSubproblem |
| 263 |
|
| 264 |
* ACU_TreeVariableSubproblem.cc: created |
| 265 |
|
| 266 |
* ACU_TreeVariableSubproblem.hh (class ACU_TreeVariableSubproblem): |
| 267 |
store Vector<LocalBinding*> and get rid of struct Alternative |
| 268 |
|
| 269 |
2023-04-21 Steven Eker <eker@pup> |
| 270 |
|
| 271 |
* ACU_TreeVariableSubproblem.hh: created |
| 272 |
|
| 273 |
* ACU_LhsCompiler0.cc (ACU_Term::tryToMakeCollectorLhsAutomaton): |
| 274 |
code cleaning, fixed mistake in comments |
| 275 |
|
| 276 |
2023-04-20 Steven Eker <eker@pup> |
| 277 |
|
| 278 |
* ACU_CollectorLhsAutomaton.cc (ACU_CollectorLhsAutomaton::collect): |
| 279 |
don't need to check for sortConstraintFree() in uniform sort case; |
| 280 |
reorganized |
| 281 |
|
| 282 |
* ACU_CollectorLhsAutomaton.hh (class ACU_CollectorLhsAutomaton): added |
| 283 |
decl for finishTreeCollect() |
| 284 |
|
| 285 |
* ACU_CollectorLhsAutomaton.cc |
| 286 |
(ACU_CollectorLhsAutomaton::finishTreeCollect): added |
| 287 |
(ACU_CollectorLhsAutomaton::collect): use finishTreeCollect() |
| 288 |
|
| 289 |
2023-04-19 Steven Eker <eker@pup> |
| 290 |
|
| 291 |
* ACU_Subproblem.cc (ACU_Subproblem::oneVariableCase): test for uniform |
| 292 |
sort property first since this in the most likely to fail |
| 293 |
|
| 294 |
* ACU_CollectorLhsAutomaton.cc (ACU_CollectorLhsAutomaton::collect): |
| 295 |
added fast path for uniform sort structure |
| 296 |
|
| 297 |
* ACU_Subproblem.cc (ACU_Subproblem::oneVariableCase): cleaned up |
| 298 |
fast path and added explanation |
| 299 |
|
| 300 |
2023-04-18 Steven Eker <eker@pup> |
| 301 |
|
| 302 |
* ACU_Subproblem.cc (ACU_Subproblem::oneVariableCase): added fast |
| 303 |
path |
| 304 |
|
| 305 |
* ACU_Normalize.cc (ACU_DagNode::normalizeAtTop): rewrote two theory |
| 306 |
normal forms subcase to always consider conversion to tree form |
| 307 |
|
| 308 |
* ACU_DagNode.hh (class ACU_DagNode): set MERGE_THRESHOLD to 24 based |
| 309 |
on experiments - territory above 24 is very spikey |
| 310 |
|
| 311 |
===================================Maude146=========================================== |
| 312 |
|
| 313 |
2023-04-13 Steven Eker <eker@pup> |
| 314 |
|
| 315 |
* ACU_LhsCompiler1.cc (ACU_Term::analyseConstraintPropagation): use |
| 316 |
empty() (2 places) |
| 317 |
|
| 318 |
2023-04-12 Steven Eker <eker@pup> |
| 319 |
|
| 320 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): Bool -> bool |
| 321 |
|
| 322 |
* ACU_Term.hh (class ACU_Term): Bool -> bool |
| 323 |
|
| 324 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 325 |
Bool -> bool |
| 326 |
|
| 327 |
===================================Maude145=========================================== |
| 328 |
|
| 329 |
2023-03-27 Steven Eker <eker@pup> |
| 330 |
|
| 331 |
* ACU_RhsAutomaton.cc (ACU_RhsAutomaton::ACU_RhsAutomaton): use |
| 332 |
reserve() rather than preallocate ctor |
| 333 |
|
| 334 |
===================================Maude144=========================================== |
| 335 |
|
| 336 |
2023-03-20 Steven Eker <eker@pup> |
| 337 |
|
| 338 |
* ACU_UnificationSubproblem2.cc |
| 339 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): |
| 340 |
globalAdvisoryFlag -> globalDebugFlag (2 places) |
| 341 |
(ACU_UnificationSubproblem2::buildSolution): globalAdvisoryFlag -> |
| 342 |
globalDebugFlag |
| 343 |
|
| 344 |
2023-03-10 Steven Eker <eker@pup> |
| 345 |
|
| 346 |
* ACU_ExtensionInfo.cc: initialize lastNonZero to avoid a compiler |
| 347 |
warning |
| 348 |
|
| 349 |
===================================Maude143=========================================== |
| 350 |
|
| 351 |
2021-09-21 Steven Eker <eker@pup> |
| 352 |
|
| 353 |
* ACU_ExtensionInfo.cc (ACU_ExtensionInfo::copy): take const arg |
| 354 |
|
| 355 |
* ACU_ExtensionInfo.hh (class ACU_ExtensionInfo): updated decl for copy() |
| 356 |
|
| 357 |
===================================Maude137=========================================== |
| 358 |
|
| 359 |
2021-06-02 Steven Eker <eker2@eker10> |
| 360 |
|
| 361 |
* ACU_UnificationSubproblem2.cc |
| 362 |
(ACU_UnificationSubproblem2::solve): added comment to explain why |
| 363 |
we need a separate branch for the identity case |
| 364 |
|
| 365 |
2021-05-11 Steven Eker <eker2@eker10> |
| 366 |
|
| 367 |
* ACU_Subproblem.cc (ACU_Subproblem::ACU_Subproblem): deleted |
| 368 |
commented out print statement |
| 369 |
(ACU_Symbol::~ACU_Subproblem): deleted commented out print |
| 370 |
statement |
| 371 |
|
| 372 |
* ACU_Symbol.cc (ACU_Symbol::normalize): undid previous |
| 373 |
range-based for loop because iterators aren't safe here due to |
| 374 |
garbage collector |
| 375 |
(ACU_Symbol::copyReduceSubtermsAndNormalize): ditto |
| 376 |
(ACU_Symbol::reduceArgumentsAndNormalize): ditto |
| 377 |
(ACU_Symbol::eqRewrite): ditto |
| 378 |
(ACU_Symbol::memoStrategy): ditto |
| 379 |
|
| 380 |
2021-04-14 Steven Eker <eker2@eker10> |
| 381 |
|
| 382 |
* ACU_TreeMatcher.cc (ACU_LhsAutomaton::eliminateBoundVariables): |
| 383 |
use range-based for loop |
| 384 |
(ACU_LhsAutomaton::eliminateGroundAliens): use range-based for |
| 385 |
loop |
| 386 |
(ACU_LhsAutomaton::eliminateGroundedOutAliens): use range-based |
| 387 |
for loop |
| 388 |
(ACU_LhsAutomaton::makeHighMultiplicityAssignment): use |
| 389 |
range-based for loop |
| 390 |
(ACU_LhsAutomaton::greedyPureMatch): use range-based for loop |
| 391 |
(ACU_LhsAutomaton::treeMatch): use range-based for loop (2 places) |
| 392 |
|
| 393 |
* ACU_Term.cc (ACU_Term::compileRhs2): use range-based for loop |
| 394 |
(ACU_Term::ACU_Term): pre-increment (three versions) |
| 395 |
(ACU_Term::deepSelfDestruct): use range-based for loop |
| 396 |
(ACU_Term::normalizeAliensAndFlatten): pre-increment; pre-decrement |
| 397 |
(ACU_Term::normalize): pre-increment; pre-decrement |
| 398 |
|
| 399 |
* ACU_UnificationSubproblem2.cc |
| 400 |
(ACU_UnificationSubproblem2::addUnification): use range-based for |
| 401 |
loop (3 places) |
| 402 |
(ACU_UnificationSubproblem2::unsolve): use range-based for loop |
| 403 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): use |
| 404 |
range-based for loop |
| 405 |
(ACU_UnificationSubproblem2::markReachableNodes): pre-increment |
| 406 |
(ACU_UnificationSubproblem2::addUnification): use range-based for |
| 407 |
loop to clear multiplicities |
| 408 |
(ACU_UnificationSubproblem2::unsolve): use range-based for loop to |
| 409 |
clear multiplicities |
| 410 |
(ACU_UnificationSubproblem2::computeLegalSelections): use |
| 411 |
range-based for loop (2 places) |
| 412 |
|
| 413 |
2021-04-13 Steven Eker <eker2@eker10> |
| 414 |
|
| 415 |
* ACU_Matcher.cc (ACU_LhsAutomaton::handleElementVariables): |
| 416 |
insert missing & in range-based for loop |
| 417 |
|
| 418 |
* ACU_Symbol.cc (ACU_Symbol::stackArguments): use range-based for |
| 419 |
loop |
| 420 |
(ACU_Symbol::termify): use range-based for loop |
| 421 |
(ACU_Symbol::computeGeneralizedSort): use range-based for loop |
| 422 |
(ACU_Symbol::computeGeneralizedSort2): use range-based for loop |
| 423 |
(ACU_Symbol::normalize): use range-based for loop |
| 424 |
(ACU_Symbol::copyReduceSubtermsAndNormalize): use range-based for |
| 425 |
loop |
| 426 |
(ACU_Symbol::makeDagNode): pre-increment (both versions) |
| 427 |
(ACU_Symbol::reduceArgumentsAndNormalize): use range-based for |
| 428 |
loop |
| 429 |
(ACU_Symbol::eqRewrite): use range-based for loop |
| 430 |
(ACU_Symbol::memoStrategy): use range-based for loop |
| 431 |
(ACU_Symbol::stackArguments): pre-decrement (2 places) |
| 432 |
(ACU_Symbol::makeCanonical): pre-increment |
| 433 |
(ACU_Symbol::makeCanonicalCopy): pre-increment |
| 434 |
(ACU_Symbol::makeDagNode): replace ACU_DagNode::Pair with ACU_Pair |
| 435 |
(2 places, both versions) |
| 436 |
(ACU_Symbol::termify): replace ACU_DagNode::Pair with ACU_Pair (2 |
| 437 |
places) |
| 438 |
(ACU_Symbol::makeCanonicalCopy): replace ACU_DagNode::Pair with |
| 439 |
ACU_Pair |
| 440 |
|
| 441 |
* ACU_Subproblem.cc (ACU_Subproblem): use range-based for loop (2 |
| 442 |
places) |
| 443 |
(ACU_Subproblem::solveVariables): use range-based for loop |
| 444 |
(ACU_Subproblem::solveVariables): pre-increment |
| 445 |
(ACU_Subproblem::noVariableCase): pre-increment (4 places) |
| 446 |
(ACU_Subproblem::extractDiophantineSystem): pre-increment (3 |
| 447 |
places) |
| 448 |
(ACU_Subproblem::computeAssignment): pre-increment (2 places) |
| 449 |
(ACU_Subproblem::fillOutExtensionInfo): pre-increment |
| 450 |
|
| 451 |
* ACU_Matcher.cc (ACU_LhsAutomaton::eliminateGroundAliens): use |
| 452 |
range-based for loop |
| 453 |
(ACU_LhsAutomaton::eliminateGroundedOutAliens): use range-based |
| 454 |
for loop |
| 455 |
(ACU_LhsAutomaton::computeTotalMultiplicity): use range-based for |
| 456 |
loop |
| 457 |
(ACU_LhsAutomaton::match): use range-based for loop |
| 458 |
(ACU_LhsAutomaton::fullMatch): use range-based for loop (2 places) |
| 459 |
(ACU_LhsAutomaton::handleElementVariables): use range-based for |
| 460 |
loop |
| 461 |
|
| 462 |
2021-04-12 Steven Eker <eker2@eker10> |
| 463 |
|
| 464 |
* ACU_LazySubproblem.cc (~ACU_LazySubproblem): use range-based for |
| 465 |
loop |
| 466 |
|
| 467 |
* ACU_ExtensionInfo.cc (ACU_ExtensionInfo::buildMatchedPortion): |
| 468 |
use range-based for loop (3 places) |
| 469 |
(ACU_ExtensionInfo::buildUnmatchedPortion): use range-based for |
| 470 |
loop; rewrote excessively complicated first loop |
| 471 |
|
| 472 |
* ACU_DagNode.cc (ACU_DagNode::markArguments): use range-based for |
| 473 |
loop |
| 474 |
(ACU_DagNode::getHashValue): use range-based for loop |
| 475 |
(ACU_DagNode::clearCopyPointers2): use range-based for loop |
| 476 |
(ACU_DagNode::argVecComputeBaseSort): use range-based for loop |
| 477 |
(ACU_DagNode::computeBaseSortForGroundSubterms): use range-based |
| 478 |
for loop |
| 479 |
(ACU_DagNode::insertVariables2): use range-based for loop |
| 480 |
(ACU_DagNode::indexVariables2): use range-based for loop |
| 481 |
(ACU_DagNode::matchVariableWithExtension): post increment |
| 482 |
|
| 483 |
===================================Maude136=========================================== |
| 484 |
|
| 485 |
2020-12-11 Steven Eker <eker2@eker10> |
| 486 |
|
| 487 |
* ACU_DagNode.cc (ACU_DagNode::instantiate2): take and pass |
| 488 |
maintainInvariants arg; only normalize and compute sort for ground |
| 489 |
dag if true |
| 490 |
(ACU_DagNode::instantiate2): remove comment about computing sorts |
| 491 |
in the narrowing case since now maintainInvariants will be false |
| 492 |
(ACU_DagNode::instantiateWithCopies2): pass maintainInvariants = |
| 493 |
false to instantiate() |
| 494 |
|
| 495 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 496 |
instantiate2() |
| 497 |
|
| 498 |
===================================Maude132=========================================== |
| 499 |
|
| 500 |
2020-06-18 Steven Eker <eker2@eker10> |
| 501 |
|
| 502 |
* ACU_UnificationSubproblem2.cc |
| 503 |
(ACU_UnificationSubproblem2::buildSolution): turn cerr into |
| 504 |
DebugInfo() |
| 505 |
|
| 506 |
2020-06-06 Steven Eker <eker2@eker10> |
| 507 |
|
| 508 |
* ACU_UnificationSubproblem2.cc |
| 509 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): |
| 510 |
DebugAdvisory() -> DebugInfo() |
| 511 |
|
| 512 |
2020-06-05 Steven Eker <eker2@eker10> |
| 513 |
|
| 514 |
* ACU_UnificationSubproblem2.cc |
| 515 |
(ACU_UnificationSubproblem2::buildSolution): don't |
| 516 |
computeBaseSortForGroundSubterms for identity here |
| 517 |
|
| 518 |
* ACU_Symbol.cc (ACU_Symbol::makeUnificationSubproblem): call |
| 519 |
computeBaseSortForGroundSubterms for identity here |
| 520 |
|
| 521 |
* ACU_UnificationSubproblem2.hh (class |
| 522 |
ACU_UnificationSubproblem2): added decl for reuseVariable() |
| 523 |
|
| 524 |
* ACU_UnificationSubproblem2.cc |
| 525 |
(ACU_UnificationSubproblem2::setMultiplicity): replace variables |
| 526 |
bound to aliens by their bindings |
| 527 |
(ACU_UnificationSubproblem2::setMultiplicity): unmade above change |
| 528 |
and added detail comment with example to explain why eager |
| 529 |
replacement fails |
| 530 |
(ACU_UnificationSubproblem2::reuseVariable): added |
| 531 |
(ACU_UnificationSubproblem2::buildSolution): added optional code |
| 532 |
to use reuseVariable() optimization |
| 533 |
|
| 534 |
2020-06-02 Steven Eker <eker2@eker10> |
| 535 |
|
| 536 |
* ACU_DagNode.cc (ACU_DagNode::computeSolvedForm2): added DebugEnter() |
| 537 |
|
| 538 |
2020-05-27 Steven Eker <eker2@eker10> |
| 539 |
|
| 540 |
* ACU_UnificationSubproblem2.cc |
| 541 |
(ACU_UnificationSubproblem2::solve): added DebugInfo()s for branch |
| 542 |
on hasUnequalLeftIdentityCollapse() |
| 543 |
|
| 544 |
===================================Maude128a=========================================== |
| 545 |
|
| 546 |
2019-12-03 Steven Eker <eker@mu> |
| 547 |
|
| 548 |
* ACU_BaseDagNode.cc (getSize): use safeCastNonNull<>() (2 places) |
| 549 |
|
| 550 |
===================================Maude127=========================================== |
| 551 |
|
| 552 |
2019-11-11 Steven Eker <eker@mu> |
| 553 |
|
| 554 |
* ACU_DagNode.cc (computeBaseSortForGroundSubterms): no early termination |
| 555 |
in UNIMPLEMENTED case |
| 556 |
|
| 557 |
* ACU_UnificationSubproblem2.cc (buildSolution): pass false to |
| 558 |
warnAboutUnimplemented arg |
| 559 |
|
| 560 |
* ACU_DagNode.hh (ACU_BaseDagNode): updated decl for |
| 561 |
computeBaseSortForGroundSubterms() |
| 562 |
|
| 563 |
* ACU_DagNode.cc (computeBaseSortForGroundSubterms): take and pass |
| 564 |
warnAboutUnimplemented flag; simplified |
| 565 |
|
| 566 |
===================================Maude125=========================================== |
| 567 |
|
| 568 |
2019-07-24 Steven Eker <eker@mu> |
| 569 |
|
| 570 |
* ACU_Term.cc (compareArguments): added comment about static analyzer |
| 571 |
warning |
| 572 |
|
| 573 |
* ACU_DagNode.cc (compareArguments): added comment about static analyzer |
| 574 |
warning |
| 575 |
|
| 576 |
===================================Maude123=========================================== |
| 577 |
|
| 578 |
2019-05-23 Steven Eker <[email protected]> |
| 579 |
|
| 580 |
* ACU_UnificationSubproblem2.cc (buildSolution): fix compiler warnings |
| 581 |
|
| 582 |
===================================Maude121=========================================== |
| 583 |
|
| 584 |
2018-10-23 Steven Eker <[email protected]> |
| 585 |
|
| 586 |
* ACU_Symbol.hh (AssociativeSymbol): added decl for |
| 587 |
stackPhysicalArguments() |
| 588 |
|
| 589 |
* ACU_Symbol.cc (stackPhysicalArguments): added |
| 590 |
|
| 591 |
2018-10-18 Steven Eker <[email protected]> |
| 592 |
|
| 593 |
* ACU_DagNode.cc (copyWithReplacement): added Assert() on |
| 594 |
argIndex |
| 595 |
|
| 596 |
===================================Maude119=========================================== |
| 597 |
|
| 598 |
2017-04-20 Steven Eker <[email protected]> |
| 599 |
|
| 600 |
* ACU_Matcher.cc (buildBipartiteGraph): fixed symmetric bug |
| 601 |
(eliminateGroundedOutAliens): fixed symmetric bug |
| 602 |
(aliensOnlyMatch): fixed symmetric bug |
| 603 |
|
| 604 |
* ACU_GreedyMatcher.cc (greedyMatch): fixed symmetric bug |
| 605 |
|
| 606 |
* ACU_NGA_LhsAutomaton.cc (match): fixed two symmetric bugs |
| 607 |
|
| 608 |
* ACU_TreeMatcher.cc (eliminateGroundedOutAliens): fixed bug where we had |
| 609 |
the test for going past the last potential match the wrong way around |
| 610 |
(greedyMatch): fixed symmetric bug |
| 611 |
|
| 612 |
* ACU_DagOperations.cc (findFirstPotentialMatch): added comments |
| 613 |
|
| 614 |
* ACU_LazySubproblem.cc (solve): fix bug where we had the test for going |
| 615 |
pass last potential match the wrong way around |
| 616 |
|
| 617 |
2017-04-19 Steven Eker <[email protected]> |
| 618 |
|
| 619 |
* ACU_LazySubproblem.cc (solve): added comments; end search early, as soon |
| 620 |
as stripperTerm is definitely greater than subject on current path |
| 621 |
|
| 622 |
* ACU_TreeMatcher.cc (treeMatch): added comment |
| 623 |
(treeMatch): changed comments "could be smarter" to explanations |
| 624 |
of why it's not worth being smarter (3 places) |
| 625 |
|
| 626 |
* ACU_CollectorLhsAutomaton.cc (collect): added comments |
| 627 |
|
| 628 |
2017-04-17 Steven Eker <[email protected]> |
| 629 |
|
| 630 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): added support |
| 631 |
for ACU_BndVarLhsAutomaton |
| 632 |
|
| 633 |
* ACU_DagNode.hh (ACU_BaseDagNode): added friend class |
| 634 |
ACU_BndVarLhsAutomaton |
| 635 |
|
| 636 |
* ACU_Theory.hh: added class ACU_BndVarLhsAutomaton |
| 637 |
|
| 638 |
* ACU_BndVarLhsAutomaton.cc: created |
| 639 |
|
| 640 |
* ACU_BndVarLhsAutomaton.hh: created |
| 641 |
|
| 642 |
2017-04-14 Steven Eker <[email protected]> |
| 643 |
|
| 644 |
* ACU_VarLhsAutomaton.cc (match): updated comments |
| 645 |
|
| 646 |
===================================Maude112a=========================================== |
| 647 |
|
| 648 |
2017-02-23 Steven Eker <[email protected]> |
| 649 |
|
| 650 |
* ACU_DagNode.cc (instantiateWithCopies2): ifdef'd out normal form, sort and |
| 651 |
ground flag computation and added comment to explain why |
| 652 |
|
| 653 |
2017-02-21 Steven Eker <[email protected]> |
| 654 |
|
| 655 |
* ACU_DagNode.hh (ACU_BaseDagNode): updated decl for |
| 656 |
instantiateWithReplacement() |
| 657 |
|
| 658 |
* ACU_DagNode.cc (instantiateWithReplacement): handle lazy contexts |
| 659 |
|
| 660 |
2017-02-17 Steven Eker <[email protected]> |
| 661 |
|
| 662 |
* ACU_TreeDagNode.hh (ACU_BaseDagNode): deleted decl for stackArguments() |
| 663 |
|
| 664 |
* ACU_TreeDagNode.cc (stackArguments): deleted |
| 665 |
|
| 666 |
* ACU_DagNode.cc (stackArguments): deleted |
| 667 |
|
| 668 |
* ACU_DagNode.hh (ACU_BaseDagNode): deleted decl for stackArguments() |
| 669 |
|
| 670 |
* ACU_Symbol.hh (AssociativeSymbol): updated decl for stackArguments() |
| 671 |
|
| 672 |
* ACU_Symbol.cc (stackArguments): handle respectFrozen and |
| 673 |
eagerContext arguments |
| 674 |
|
| 675 |
===================================Maude111b=========================================== |
| 676 |
|
| 677 |
2016-12-20 Steven Eker <[email protected]> |
| 678 |
|
| 679 |
* ACU_TreeDagNode.cc (copyAll2): added missing return statement |
| 680 |
|
| 681 |
2016-11-10 Steven Eker <[email protected]> |
| 682 |
|
| 683 |
* ACU_TreeDagNode.hh (ACU_BaseDagNode): added decl for copyAll2() |
| 684 |
|
| 685 |
* ACU_TreeDagNode.cc (copyAll2): added |
| 686 |
|
| 687 |
* ACU_DagNode.hh (ACU_BaseDagNode): added decl for copyAll2() |
| 688 |
|
| 689 |
* ACU_DagNode.cc (copyAll2): added |
| 690 |
|
| 691 |
===================================Maude111=========================================== |
| 692 |
|
| 693 |
2016-05-18 Steven Eker <[email protected]> |
| 694 |
|
| 695 |
* ACU_UnificationSubproblem2.cc (addUnification): check for subtermIndex |
| 696 |
!= NONE |
| 697 |
(setMultiplicity): check for variable bound to identity; this fixes |
| 698 |
a bug introduced in Maude108 where classify assumes such things |
| 699 |
have already canceled |
| 700 |
|
| 701 |
===================================Maude110=========================================== |
| 702 |
|
| 703 |
2016-05-17 Steven Eker <[email protected]> |
| 704 |
|
| 705 |
* ACU_Symbol.cc (computeGeneralizedSort2): fixed nasty FMR bug |
| 706 |
where we were appending a reference to the same Vector which |
| 707 |
became stale if the append forced reallocation |
| 708 |
|
| 709 |
2016-03-24 Steven Eker <[email protected]> |
| 710 |
|
| 711 |
* ACU_Symbol.cc (computeGeneralizedSort2): rewritten |
| 712 |
|
| 713 |
2016-03-18 Steven Eker <[email protected]> |
| 714 |
|
| 715 |
* ACU_Symbol.cc (computeGeneralizedSort2): added |
| 716 |
|
| 717 |
===================================Maude109=========================================== |
| 718 |
|
| 719 |
2015-08-07 Steven Eker <[email protected]> |
| 720 |
|
| 721 |
* ACU_Symbol.cc (unificationPriority): make ACU have a lower |
| 722 |
priority than AC |
| 723 |
|
| 724 |
2015-07-31 Steven Eker <[email protected]> |
| 725 |
|
| 726 |
* ACU_UnificationSubproblem2.cc (classify): handle ground aliens |
| 727 |
specially |
| 728 |
|
| 729 |
2015-07-30 Steven Eker <[email protected]> |
| 730 |
|
| 731 |
* ACU_DagNode.cc (computeBaseSortForGroundSubterms): call |
| 732 |
setGround() in the ground case |
| 733 |
|
| 734 |
===================================Maude108=========================================== |
| 735 |
|
| 736 |
2014-06-20 Steven Eker <[email protected]> |
| 737 |
|
| 738 |
* ACU_UnificationSubproblem2.cc (solve): added comment with new |
| 739 |
insight into why solved forms must be unsolved |
| 740 |
|
| 741 |
===================================Maude104=========================================== |
| 742 |
|
| 743 |
2013-02-28 Steven Eker <[email protected]> |
| 744 |
|
| 745 |
* ACU_UnificationSubproblem2.cc (addUnification): call killCancelledSubterms() |
| 746 |
|
| 747 |
* ACU_UnificationSubproblem2.hh (SimpleRootContainer): added decl |
| 748 |
for killCancelledSubterms() |
| 749 |
|
| 750 |
* ACU_UnificationSubproblem2.cc (killCancelledSubterms): added |
| 751 |
|
| 752 |
2013-02-27 Steven Eker <[email protected]> |
| 753 |
|
| 754 |
* ACU_UnificationSubproblem2.cc (ACU_UnificationSubproblem2): |
| 755 |
removed pointless #ifndef |
| 756 |
(addUnification): code cleaning |
| 757 |
(markReachableNodes): code cleaning |
| 758 |
(solve): fix performance bug where we were checking subterms |
| 759 |
rather than unifications for emptiness to detect the degenerate |
| 760 |
case |
| 761 |
(markReachableNodes): protect preSolveSubstitution rather than |
| 762 |
savedSubstitution since it will have a superset of bindings |
| 763 |
|
| 764 |
2013-02-07 Steven Eker <[email protected]> |
| 765 |
|
| 766 |
* ACU_UnificationSubproblem2.cc: only bind variables to dags which |
| 767 |
are in our theory - leave everything else to |
| 768 |
computeSolvedForm() - This is to fix a bug where we bind a variable |
| 769 |
to itself, or form an occurs check problem in an alien theory |
| 770 |
|
| 771 |
===================================Maude96c=========================================== |
| 772 |
|
| 773 |
2012-07-10 Steven Eker <[email protected]> |
| 774 |
|
| 775 |
* ACU_BaseDagNode.hh (DagNode): update comment on ASSIGNMENT now |
| 776 |
that we can have variables at the kind level, and thus we don't |
| 777 |
guarentee non-error sort this NormalizationStatus |
| 778 |
|
| 779 |
===================================Maude96a=========================================== |
| 780 |
|
| 781 |
2012-04-30 Steven Eker <[email protected]> |
| 782 |
|
| 783 |
* ACU_Term.cc (ACU_Term): multiplicities version: fix Assert(), |
| 784 |
now that we can have a single argument with multiplicity >= 2 |
| 785 |
|
| 786 |
2012-04-13 Steven Eker <[email protected]> |
| 787 |
|
| 788 |
* ACU_DagNode.hh (ACU_BaseDagNode): updated decl for |
| 789 |
instantiateWithReplacement(); added decl for |
| 790 |
instantiateWithCopies2() |
| 791 |
|
| 792 |
* ACU_DagNode.cc (instantiateWithReplacement): rewritten to |
| 793 |
respect eager positions |
| 794 |
(instantiateWithCopies2): added |
| 795 |
|
| 796 |
2012-03-30 Steven Eker <[email protected]> |
| 797 |
|
| 798 |
* ACU_Symbol.cc (termify): code cleaning |
| 799 |
|
| 800 |
2012-03-29 Steven Eker <[email protected]> |
| 801 |
|
| 802 |
* ACU_Symbol.hh (AssociativeSymbol): added decl for termify() |
| 803 |
|
| 804 |
* ACU_Term.hh (Term): added decl for new ctor |
| 805 |
|
| 806 |
* ACU_Term.cc (ACU_Term): added version that takes multiplicities |
| 807 |
|
| 808 |
* ACU_Symbol.cc (termify): added |
| 809 |
|
| 810 |
===================================Maude96=========================================== |
| 811 |
|
| 812 |
2011-11-22 Steven Eker <eker@rho> |
| 813 |
|
| 814 |
* ACU_UnificationSubproblem2.cc (ACU_UnificationSubproblem2::solve): use restoreFromClone() |
| 815 |
to make sure that sort and dagnode information for variable created on the branch we are |
| 816 |
backtracking get purged from our UnificationContext object (4 places) |
| 817 |
|
| 818 |
===================================Maude95c=========================================== |
| 819 |
|
| 820 |
2010-12-09 Steven Eker <eker@rho> |
| 821 |
|
| 822 |
* ACU_Symbol.cc (ACU_Symbol::postOpDeclarationPass): don't call |
| 823 |
rightIdentitySortCheck() since we are commutative |
| 824 |
|
| 825 |
===================================Maude95b=========================================== |
| 826 |
|
| 827 |
2010-10-19 Steven Eker <eker@rho> |
| 828 |
|
| 829 |
* ACU_Symbol.cc (ACU_Symbol::makeCanonicalCopyEagerUptoReduced): |
| 830 |
becomes makeCanonicalCopy() |
| 831 |
|
| 832 |
* ACU_Symbol.hh (class ACU_Symbol): |
| 833 |
makeCanonicalCopyEagerUptoReduced() -> makeCanonicalCopy() |
| 834 |
|
| 835 |
===================================Maude95a=========================================== |
| 836 |
|
| 837 |
2010-09-29 Steven Eker <eker@rho> |
| 838 |
|
| 839 |
* ACU_Symbol.cc (ACU_Symbol::makeCanonicalCopyEagerUptoReduced): |
| 840 |
simplifed now that we only get unreduced nodes; use |
| 841 |
getCanonicalCopyEagerUptoReduced(); fix bug where we were not |
| 842 |
copying flags and sort |
| 843 |
|
| 844 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for |
| 845 |
makeCanonicalCopyEagerUptoReduced() |
| 846 |
|
| 847 |
* ACU_Symbol.cc (ACU_Symbol::makeCanonicalCopyEagerUptoReduced): |
| 848 |
added |
| 849 |
(ACU_Symbol::makeCanonical): removed commment out tree->array |
| 850 |
conversion |
| 851 |
|
| 852 |
2010-09-23 Steven Eker <eker@rho> |
| 853 |
|
| 854 |
* ACU_LazySubproblem.cc (ACU_LazySubproblem::bindCollector): fix |
| 855 |
bug where we weren't handling the case where our collector |
| 856 |
variable had become bound by our stripper automaton |
| 857 |
|
| 858 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton::complete): fixed out of |
| 859 |
date comment |
| 860 |
|
| 861 |
2010-09-10 Steven Eker <eker@rho> |
| 862 |
|
| 863 |
* ACU_UnificationSubproblem2.cc |
| 864 |
(ACU_UnificationSubproblem2::solve): don't exclude the null |
| 865 |
solution in the unequal identity collapse case |
| 866 |
|
| 867 |
2010-09-09 Steven Eker <eker@rho> |
| 868 |
|
| 869 |
* ACU_UnificationSubproblem2.cc |
| 870 |
(ACU_UnificationSubproblem2::solve): check |
| 871 |
hasUnequalLeftIdentityCollapse() and force generation of |
| 872 |
non-maximal solutions when it is true |
| 873 |
|
| 874 |
2010-08-18 Steven Eker <eker@rho> |
| 875 |
|
| 876 |
* ACU_UnificationSubproblem2.cc |
| 877 |
(ACU_UnificationSubproblem2::nextSelectionWithIdentity): deleted |
| 878 |
commented out old verions |
| 879 |
|
| 880 |
* ACU_DagNode.cc (ACU_DagNode::nonVariableSize): deleted |
| 881 |
|
| 882 |
* ACU_DagNode.hh (class ACU_DagNode): deleted decl for |
| 883 |
nonVariableSize() |
| 884 |
|
| 885 |
===================================Maude95=========================================== |
| 886 |
|
| 887 |
2010-08-11 Steven Eker <eker@rho> |
| 888 |
|
| 889 |
* ACU_DagNode.cc (ACU_DagNode::computeSolvedForm2): handle |
| 890 |
unification agaist bound variable by unifying against variables |
| 891 |
binding to avoid nontermination |
| 892 |
|
| 893 |
2010-08-04 Steven Eker <eker@rho> |
| 894 |
|
| 895 |
* ACU_UnificationSubproblem2.cc |
| 896 |
(ACU_UnificationSubproblem2::buildSolution): handle <oldvar> =? d |
| 897 |
the old way when the representative variable of <oldvar> is bound |
| 898 |
to avoid generating problems of the same size as we solve |
| 899 |
(ACU_UnificationSubproblem2::addUnification): handle variable rhs |
| 900 |
even when we don't have an identity |
| 901 |
|
| 902 |
2010-08-03 Steven Eker <eker@rho> |
| 903 |
|
| 904 |
* ACU_DagNode.cc (ACU_DagNode::computeSolvedForm2): rewritten to |
| 905 |
push problems of the form f(...) = X on the pending stack rather |
| 906 |
than pass them to VariableDagNode::computeSolvedForm2() |
| 907 |
|
| 908 |
* ACU_UnificationSubproblem2.hh (class |
| 909 |
ACU_UnificationSubproblem2): updated decl for addUnification() |
| 910 |
|
| 911 |
* ACU_UnificationSubproblem2.cc |
| 912 |
(ACU_UnificationSubproblem2::addUnification): handle marked |
| 913 |
argument |
| 914 |
|
| 915 |
2010-07-29 Steven Eker <eker@rho> |
| 916 |
|
| 917 |
* ACU_UnificationSubproblem2.hh (class |
| 918 |
ACU_UnificationSubproblem2): updated decl for classify(); |
| 919 |
deleleted decl for isRestrictedSubterm(); updated decl for |
| 920 |
unsolve(); updated decl for setMultiplicity() |
| 921 |
(class ACU_UnificationSubproblem2): deleted data member |
| 922 |
restrictedSubterms; added data member markedSubterms |
| 923 |
|
| 924 |
* ACU_UnificationSubproblem2.cc |
| 925 |
(ACU_UnificationSubproblem2::addUnification): take solution as |
| 926 |
argument |
| 927 |
(ACU_UnificationSubproblem2::addUnification): simplified; keep set |
| 928 |
of indices for marked subterms |
| 929 |
(ACU_UnificationSubproblem2::setMultiplicity): use representative |
| 930 |
variable in a chain; return subterm index |
| 931 |
(ACU_UnificationSubproblem2::unsolve): simplified; never fail - we |
| 932 |
let Diophantine solver worry about pathological X = f(..., X,...) |
| 933 |
case |
| 934 |
(ACU_UnificationSubproblem2::solve): simplified using new |
| 935 |
unsolve() symantics |
| 936 |
(ACU_UnificationSubproblem2::classify): simplified - no longer |
| 937 |
chase variable chains as we should only have representative |
| 938 |
variables in our system |
| 939 |
(ACU_UnificationSubproblem2::isRestrictedSubterm): deleted |
| 940 |
|
| 941 |
* ACU_UnificationSubproblem2.hh (class |
| 942 |
ACU_UnificationSubproblem2): updated decl for addUnification() |
| 943 |
|
| 944 |
2010-07-21 Steven Eker <eker@rho> |
| 945 |
|
| 946 |
* ACU_UnificationSubproblem2.cc |
| 947 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): |
| 948 |
comment out the case where with fail because we only have one |
| 949 |
Diophantine variable since even with no basis elements we can |
| 950 |
still get a unifier |
| 951 |
|
| 952 |
2010-07-20 Steven Eker <eker@rho> |
| 953 |
|
| 954 |
* ACU_UnificationSubproblem2.hh (class |
| 955 |
ACU_UnificationSubproblem2): added decl for isRestrictedSubterm |
| 956 |
|
| 957 |
* ACU_UnificationSubproblem2.cc |
| 958 |
(ACU_UnificationSubproblem2::classify): use equal() rather than == |
| 959 |
for checking for restricted subterms |
| 960 |
(ACU_UnificationSubproblem2::isRestrictedSubterm): added |
| 961 |
(ACU_UnificationSubproblem2::classify): rewritten using |
| 962 |
isRestrictedSubterm() to ensure that variables can be restricted |
| 963 |
|
| 964 |
2010-07-19 Steven Eker <eker@rho> |
| 965 |
|
| 966 |
* ACU_UnificationSubproblem2.cc |
| 967 |
(ACU_UnificationSubproblem2::markReachableNodes): fix bug where we |
| 968 |
were deleting maximalSelections here rather than in |
| 969 |
~ACU_UnificationSubproblem2() |
| 970 |
|
| 971 |
2010-07-09 Steven Eker <eker@rho> |
| 972 |
|
| 973 |
* ACU_UnificationSubproblem2.cc |
| 974 |
(ACU_UnificationSubproblem2::buildSolution): add an Assert to |
| 975 |
detect trivial bounds violation |
| 976 |
(ACU_UnificationSubproblem2::computeLegalSelections): use index |
| 977 |
member of basis element rather than separately maintained index |
| 978 |
which is incorrect |
| 979 |
|
| 980 |
2010-07-08 Steven Eker <eker@rho> |
| 981 |
|
| 982 |
* ACU_UnificationSubproblem2.cc |
| 983 |
(ACU_UnificationSubproblem2::solve): set maximalSelections |
| 984 |
(ACU_UnificationSubproblem2::ACU_UnificationSubproblem2): clear |
| 985 |
maximalSelections |
| 986 |
|
| 987 |
* ACU_UnificationSubproblem2.hh (class |
| 988 |
ACU_UnificationSubproblem2): added data member maximalSelections |
| 989 |
|
| 990 |
* ACU_UnificationSubproblem2.cc |
| 991 |
(ACU_UnificationSubproblem2::addUnification): use hasIdentity() |
| 992 |
(ACU_UnificationSubproblem2::unsolve): use hasIdentity() |
| 993 |
(ACU_UnificationSubproblem2::solve): use hasIdentity() |
| 994 |
|
| 995 |
* ACU_DagNode.cc (ACU_DagNode::computeBaseSortForGroundSubterms): |
| 996 |
removed commented out code |
| 997 |
|
| 998 |
2010-07-07 Steven Eker <eker@rho> |
| 999 |
|
| 1000 |
* ACU_UnificationSubproblem2.hh (class |
| 1001 |
ACU_UnificationSubproblem2): added decl for |
| 1002 |
computeLegalSelections() |
| 1003 |
|
| 1004 |
===================================Maude94a=========================================== |
| 1005 |
|
| 1006 |
2010-06-29 Steven Eker <eker@rho> |
| 1007 |
|
| 1008 |
* ACU_Symbol.cc (ACU_Symbol::canResolveTheoryClash): added |
| 1009 |
|
| 1010 |
* ACU_DagNode.cc (ACU_DagNode::computeSolvedForm2): try using |
| 1011 |
resolveTheoryClash() |
| 1012 |
|
| 1013 |
2010-06-25 Steven Eker <eker@rho> |
| 1014 |
|
| 1015 |
* ACU_UnificationSubproblem2.cc |
| 1016 |
(ACU_UnificationSubproblem2::addUnification): handle the theory |
| 1017 |
clash case where the rhs is actually our identity |
| 1018 |
|
| 1019 |
* ACU_DagNode.cc (ACU_DagNode::computeSolvedForm2): quick hack to |
| 1020 |
handle theory clashes asymetrically |
| 1021 |
|
| 1022 |
* ACU_UnificationSubproblem2.hh (class |
| 1023 |
ACU_UnificationSubproblem2): added data member restrictedSubterms |
| 1024 |
|
| 1025 |
* ACU_UnificationSubproblem2.cc |
| 1026 |
(ACU_UnificationSubproblem2::unsolve): handle X = f(..., X, ...) |
| 1027 |
case where collapse might be possible |
| 1028 |
(ACU_UnificationSubproblem2::addUnification): rewritten to handle |
| 1029 |
theory clash unifications |
| 1030 |
(ACU_UnificationSubproblem2::classify): handle restricted subterms |
| 1031 |
|
| 1032 |
2010-06-24 Steven Eker <eker@rho> |
| 1033 |
|
| 1034 |
* ACU_UnificationSubproblem2.cc |
| 1035 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): |
| 1036 |
given each basis element a unique index |
| 1037 |
|
| 1038 |
* ACU_UnificationSubproblem2.hh (class |
| 1039 |
ACU_UnificationSubproblem2): added index field to struct Entry |
| 1040 |
|
| 1041 |
* ACU_UnificationSubproblem2.cc |
| 1042 |
(ACU_UnificationSubproblem2::nextSelectionWithIdentity): avoid |
| 1043 |
generating subsets of previous selections |
| 1044 |
|
| 1045 |
* ACU_UnificationSubproblem2.hh (class |
| 1046 |
ACU_UnificationSubproblem2): added data member old |
| 1047 |
(class ACU_UnificationSubproblem2): added NatSetList typedef |
| 1048 |
(class ACU_UnificationSubproblem2): added date member selectionSet |
| 1049 |
|
| 1050 |
* ACU_UnificationSubproblem2.cc |
| 1051 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): |
| 1052 |
change criteria for failing due to lack of coverage |
| 1053 |
|
| 1054 |
* ACU_UnificationSubproblem2.hh (class |
| 1055 |
ACU_UnificationSubproblem2): added data member needToCover |
| 1056 |
|
| 1057 |
* ACU_UnificationSubproblem2.cc: fill out needToCover |
| 1058 |
|
| 1059 |
* ACU_UnificationSubproblem2.hh (class |
| 1060 |
ACU_UnificationSubproblem2): added decl for |
| 1061 |
nextSelectionWithIdentity() |
| 1062 |
|
| 1063 |
* ACU_UnificationSubproblem2.cc |
| 1064 |
(ACU_UnificationSubproblem2::buildSolution): handle null |
| 1065 |
assignments by using getIdentityDag() |
| 1066 |
(ACU_UnificationSubproblem2::nextSelectionWithIdentity): added |
| 1067 |
(ACU_UnificationSubproblem2::solve): use |
| 1068 |
nextSelectionWithIdentity() in identity case |
| 1069 |
|
| 1070 |
2010-06-23 Steven Eker <eker@rho> |
| 1071 |
|
| 1072 |
* ACU_UnificationSubproblem2.hh (class |
| 1073 |
ACU_UnificationSubproblem2): update decl for classify() |
| 1074 |
|
| 1075 |
* ACU_UnificationSubproblem2.cc |
| 1076 |
(ACU_UnificationSubproblem2::classify): fixed bug where we were |
| 1077 |
not checking for unbound variable |
| 1078 |
(ACU_UnificationSubproblem2::classify): fixed bug where we assume |
| 1079 |
we could treat our own top symbol as a stable symbol, even though |
| 1080 |
in any combination of basis elements it could take multiple things |
| 1081 |
and not be forced to unify against a single specific thing |
| 1082 |
(ACU_UnificationSubproblem2::classify): pass canTakeIdentity flag |
| 1083 |
rather than needToCover flag; fix bug where we could have left |
| 1084 |
needToCover false even when there was no identity |
| 1085 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): use |
| 1086 |
new classify() semantics |
| 1087 |
|
| 1088 |
2010-06-22 Steven Eker <eker@rho> |
| 1089 |
|
| 1090 |
* ACU_UnificationSubproblem2.cc |
| 1091 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): |
| 1092 |
rewritten using classify() to fix bug in basis element killing |
| 1093 |
code |
| 1094 |
|
| 1095 |
* ACU_UnificationSubproblem2.hh (class |
| 1096 |
ACU_UnificationSubproblem2): added decl for classify() |
| 1097 |
|
| 1098 |
* ACU_UnificationSubproblem2.cc |
| 1099 |
(ACU_UnificationSubproblem2::classify): added |
| 1100 |
|
| 1101 |
2010-06-07 Steven Eker <eker@rho> |
| 1102 |
|
| 1103 |
* ACU_UnificationSubproblem2.cc |
| 1104 |
(ACU_UnificationSubproblem2::buildAndSolveDiophantineSystem): |
| 1105 |
added code to exclude basis elements that force unresolvable |
| 1106 |
theory clashes |
| 1107 |
|
| 1108 |
2010-05-21 Steven Eker <eker@rho> |
| 1109 |
|
| 1110 |
* ACU_DagNode.cc (ACU_DagNode::computeBaseSortForGroundSubterms): |
| 1111 |
hack to allow unification to proceed on non-ground ACU dags |
| 1112 |
|
| 1113 |
===================================Maude94=========================================== |
| 1114 |
|
| 1115 |
2010-04-16 Steven Eker <eker@rho> |
| 1116 |
|
| 1117 |
* ACU_LhsCompiler1.cc (ACU_Term::analyseConstraintPropagation): |
| 1118 |
code cleaning |
| 1119 |
|
| 1120 |
2010-04-15 Steven Eker <eker@rho> |
| 1121 |
|
| 1122 |
* ACU_LhsCompiler2.cc |
| 1123 |
(ACU_Term::findConstraintPropagationSequence): minor code cleaning |
| 1124 |
|
| 1125 |
2010-04-14 Steven Eker <eker@rho> |
| 1126 |
|
| 1127 |
* ACU_LhsCompiler2.cc |
| 1128 |
(ACU_Term::findConstraintPropagationSequence): amongst sequences |
| 1129 |
that bind uniquely the same number of variables, perfer the longer |
| 1130 |
sequence |
| 1131 |
|
| 1132 |
* ACU_Term.hh (class ACU_Term): deleted decl for |
| 1133 |
addIndependentAliens() |
| 1134 |
|
| 1135 |
* ACU_LhsCompiler2.cc (ACU_Term::compileAliensOnlyCase): code |
| 1136 |
cleaning |
| 1137 |
(ACU_Term::findConstraintPropagationSequence): rewritten to avoid |
| 1138 |
exponential blow up in more cases. |
| 1139 |
(ACU_Term::findConstraintPropagationSequence): allow current |
| 1140 |
forceable NGA to be pruned if we've already explored a path and |
| 1141 |
there is nothing to be gained by matching it now |
| 1142 |
(ACU_Term::compileAliensOnlyCase): don't call |
| 1143 |
addIndependentAliens() since we assume best sequence will already |
| 1144 |
contain all forceable NGAs |
| 1145 |
(ACU_Term::addIndependentAliens): deleted |
| 1146 |
|
| 1147 |
===================================Maude93a=========================================== |
| 1148 |
|
| 1149 |
2010-03-12 Steven Eker <eker@rho> |
| 1150 |
|
| 1151 |
* ACU_RhsAutomaton.cc (ACU_RhsAutomaton::buildArguments): use |
| 1152 |
nrArguments |
| 1153 |
|
| 1154 |
* ACU_Term.cc (ACU_Term::compileRhs2): rewritten to compile/build |
| 1155 |
larger subterms first, to avoid quadratic conflict arcs on clt's |
| 1156 |
example |
| 1157 |
|
| 1158 |
* ACU_RhsAutomaton.cc (ACU_RhsAutomaton::close): set nrArguments |
| 1159 |
(ACU_RhsAutomaton::construct, ACU_RhsAutomaton::replace): use |
| 1160 |
nrArguments rather than arguments.size() to avoid checking for a |
| 1161 |
null Vector |
| 1162 |
|
| 1163 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): added date element |
| 1164 |
nrArguments |
| 1165 |
|
| 1166 |
===================================Maude93=========================================== |
| 1167 |
|
| 1168 |
2010-02-26 Steven Eker <eker@rho> |
| 1169 |
|
| 1170 |
* ACU_DagOperations.cc (ACU_DagNode::binarySearch): removed |
| 1171 |
setOnLs()/setOnGeq() since it seems to be a pessimization (both |
| 1172 |
versions) |
| 1173 |
|
| 1174 |
2010-02-24 Steven Eker <eker@rho> |
| 1175 |
|
| 1176 |
* ACU_Normalize.cc (ACU_DagNode::copyAndBinaryInsert): use new |
| 1177 |
binarySearch() convention |
| 1178 |
|
| 1179 |
2010-02-19 Steven Eker <eker@rho> |
| 1180 |
|
| 1181 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for DagNode* |
| 1182 |
version of binarySearch() |
| 1183 |
|
| 1184 |
* ACU_DagOperations.cc (ACU_DagNode::binarySearch): rewrote |
| 1185 |
DagNode* version |
| 1186 |
(ACU_DagNode::eliminateSubject): use new binarySearch() convention |
| 1187 |
|
| 1188 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for Term* |
| 1189 |
version of binarySearch() |
| 1190 |
|
| 1191 |
* ACU_GndLhsAutomaton.cc (ACU_GndLhsAutomaton::match): use new |
| 1192 |
binarySearch() convention |
| 1193 |
|
| 1194 |
* ACU_Matcher.cc (ACU_LhsAutomaton::eliminateGroundAliens): use |
| 1195 |
new binarySearch() convention |
| 1196 |
|
| 1197 |
* ACU_DagOperations.cc (ACU_DagNode::binarySearch): rewritten to |
| 1198 |
return position rather than pass it back through a reference argument |
| 1199 |
(ACU_DagNode::eliminateArgument): use new binarySearch semantics |
| 1200 |
|
| 1201 |
2010-02-18 Steven Eker <eker@rho> |
| 1202 |
|
| 1203 |
* ACU_DagOperations.cc (ACU_DagNode::binarySearch): use unsigned |
| 1204 |
sum optimization in both versions |
| 1205 |
|
| 1206 |
2010-01-06 Steven Eker <[email protected]> |
| 1207 |
|
| 1208 |
* ACU_Term.cc (compileRhs2): experiment code to check my |
| 1209 |
understanding of clt's extreme right nesting example |
| 1210 |
|
| 1211 |
===================================Maude92c=========================================== |
| 1212 |
|
| 1213 |
2009-12-09 Steven Eker <[email protected]> |
| 1214 |
|
| 1215 |
* ACU_TreeDagNode.cc (makeCanonical): added |
| 1216 |
|
| 1217 |
* ACU_Symbol.cc (makeCanonical): use |
| 1218 |
ACU_TreeDagNode::makeCanonical() |
| 1219 |
|
| 1220 |
2009-12-03 Steven Eker <[email protected]> |
| 1221 |
|
| 1222 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for makeCanonical() |
| 1223 |
|
| 1224 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): make ACU_Symbol a |
| 1225 |
friend |
| 1226 |
|
| 1227 |
* ACU_Symbol.cc (makeCanonical): added |
| 1228 |
|
| 1229 |
===================================Maude92b=========================================== |
| 1230 |
|
| 1231 |
2008-12-22 Steven Eker <[email protected]> |
| 1232 |
|
| 1233 |
* ACU_Symbol.cc (computeGeneralizedSort): new getSortFunction() |
| 1234 |
convention |
| 1235 |
|
| 1236 |
2008-12-19 Steven Eker <[email protected]> |
| 1237 |
|
| 1238 |
* ACU_Subproblem.hh: derive from DelayedSubproblem |
| 1239 |
|
| 1240 |
===================================Maude92=========================================== |
| 1241 |
|
| 1242 |
2008-09-24 Steven Eker <[email protected]> |
| 1243 |
|
| 1244 |
* ACU_Matcher.cc (fullMatch): fix bug where we weren't setting up |
| 1245 |
the extensionInfo in the new fast success case |
| 1246 |
|
| 1247 |
2008-09-23 Steven Eker <[email protected]> |
| 1248 |
|
| 1249 |
* ACU_Matcher.cc (fullMatch): catch the case where we have no |
| 1250 |
patterns, one variable that can't take identity, one subject and |
| 1251 |
extension |
| 1252 |
(fullMatch): catch the same case where we can take identity but |
| 1253 |
we're not allowed to since there were only two things in the |
| 1254 |
subject |
| 1255 |
|
| 1256 |
===================================Maude91c=========================================== |
| 1257 |
|
| 1258 |
2008-09-11 Steven Eker <[email protected]> |
| 1259 |
|
| 1260 |
* ACU_DagNode.cc (computeBaseSortForGroundSubterms): added default |
| 1261 |
case to avoid compiler warning |
| 1262 |
|
| 1263 |
2008-05-08 Steven Eker <[email protected]> |
| 1264 |
|
| 1265 |
* ACU_UnificationSubproblem2.cc (buildAndSolveDiophantineSystem): |
| 1266 |
use IntSystem rather than MpzSystem |
| 1267 |
(buildAndSolveDiophantineSystem): use new IntSystem semantics to |
| 1268 |
avoid making a zero padded copy of each equation |
| 1269 |
|
| 1270 |
===================================Maude91a=========================================== |
| 1271 |
|
| 1272 |
2008-04-18 Steven Eker <[email protected]> |
| 1273 |
|
| 1274 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for unificationPriority() |
| 1275 |
|
| 1276 |
* ACU_Symbol.cc (unificationPriority): added |
| 1277 |
|
| 1278 |
===================================Maude91=========================================== |
| 1279 |
|
| 1280 |
2008-03-23 Steven Eker <[email protected]> |
| 1281 |
|
| 1282 |
* ACU_DagNode.hh (class ACU_DagNode): ACU_UnificationSubproblem, |
| 1283 |
ACU_UnificationWithExtensionSubproblem no longer friends |
| 1284 |
|
| 1285 |
* ACU_UnificationWithExtensionSubproblem.cc: deleted |
| 1286 |
|
| 1287 |
* ACU_UnificationWithExtensionSubproblem.hh: deleted |
| 1288 |
|
| 1289 |
* ACU_UnificationWithExtensionSubproblem.cc: deleted |
| 1290 |
|
| 1291 |
* ACU_UnificationWithExtensionSubproblem.hh: deleted |
| 1292 |
|
| 1293 |
* ACU_Theory.hh: removed classes ACU_UnificationSubproblem, |
| 1294 |
ACU_UnificationWithUnificationSubproblem |
| 1295 |
|
| 1296 |
* ACU_DagNode.hh (class ACU_DagNode): deleted commented out decl |
| 1297 |
for old version of computeSolvedForm2() |
| 1298 |
|
| 1299 |
* ACU_DagNode.cc (computeSolvedForm2): deleted commented out old |
| 1300 |
version |
| 1301 |
|
| 1302 |
===================================Maude90a=========================================== |
| 1303 |
|
| 1304 |
2008-02-08 Steven Eker <[email protected]> |
| 1305 |
|
| 1306 |
* ACU_UnificationSubproblem2.hh (class |
| 1307 |
ACU_UnificationSubproblem2): added date member |
| 1308 |
preSolveSubstitution; added decl for unsolve() |
| 1309 |
|
| 1310 |
* ACU_UnificationSubproblem2.cc (solve): unsolve solved forms in |
| 1311 |
our theory |
| 1312 |
(unsolve): added |
| 1313 |
|
| 1314 |
* ACU_DagNode.cc (computeSolvedForm2): Substitution -> |
| 1315 |
UnificationContext |
| 1316 |
|
| 1317 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 1318 |
computeSolvedForm2() |
| 1319 |
|
| 1320 |
2008-02-05 Steven Eker <[email protected]> |
| 1321 |
|
| 1322 |
* ACU_Symbol.cc (makeUnificationSubproblem): added |
| 1323 |
|
| 1324 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for |
| 1325 |
makeUnificationSubproblem() |
| 1326 |
|
| 1327 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for computeSolvedForm2() |
| 1328 |
|
| 1329 |
* ACU_DagNode.cc (computeSolvedForm2): rewritten |
| 1330 |
|
| 1331 |
2008-02-04 Steven Eker <[email protected]> |
| 1332 |
|
| 1333 |
* ACU_UnificationSubproblem2.cc: created |
| 1334 |
|
| 1335 |
* ACU_UnificationSubproblem2.hh: created |
| 1336 |
|
| 1337 |
2008-01-17 Steven Eker <[email protected]> |
| 1338 |
|
| 1339 |
* ACU_UnificationSubproblem.cc (ACU_UnificationSubproblem): |
| 1340 |
initialize savedSubstitution with 0 entries rather than with a |
| 1341 |
single entry (that will end up being marked in GC) |
| 1342 |
|
| 1343 |
===================================Maude90=========================================== |
| 1344 |
|
| 1345 |
2007-11-20 Steven Eker <[email protected]> |
| 1346 |
|
| 1347 |
* ACU_UnificationSubproblem.cc (ACU_UnificationSubproblem): |
| 1348 |
savedSubstitution needs to be at least size 1 in new Substitution |
| 1349 |
handling |
| 1350 |
(unificationSolve): fix bug by using clone() to restore old |
| 1351 |
substitution |
| 1352 |
|
| 1353 |
2007-11-07 Steven Eker <[email protected]> |
| 1354 |
|
| 1355 |
* ACU_TreeDagNode.cc (indexVariables2): added |
| 1356 |
|
| 1357 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): added decl for |
| 1358 |
indexVariables2() |
| 1359 |
|
| 1360 |
2007-11-05 Steven Eker <[email protected]> |
| 1361 |
|
| 1362 |
* ACU_DagNode.cc (indexVariables2, instantiateWithReplacement): added |
| 1363 |
(instantiate2): use isGround() rather than checking for an unknown |
| 1364 |
sort |
| 1365 |
(instantiate2): call setGround() |
| 1366 |
|
| 1367 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 1368 |
indexVariables2() and instantiateWithReplacement() |
| 1369 |
|
| 1370 |
2007-11-01 Steven Eker <[email protected]> |
| 1371 |
|
| 1372 |
* ACU_DagNode.cc (instantiate2): updated |
| 1373 |
|
| 1374 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 1375 |
instantiate2() |
| 1376 |
|
| 1377 |
2007-09-28 Steven Eker <[email protected]> |
| 1378 |
|
| 1379 |
* ACU_UnificationSubproblem.cc (unificationSolve): replaced two |
| 1380 |
clone() calls with copy() calls since when we copy back a saved |
| 1381 |
substitution, both substitutions should have the same copy size |
| 1382 |
|
| 1383 |
===================================Maude89h=========================================== |
| 1384 |
|
| 1385 |
2007-08-24 Steven Eker <[email protected]> |
| 1386 |
|
| 1387 |
* ACU_DagNode.cc (computeBaseSortForGroundSubterms): rewritten |
| 1388 |
|
| 1389 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 1390 |
computeBaseSortForGroundSubterms() |
| 1391 |
|
| 1392 |
* ACU_UnificationSubproblem.cc (unificationSolve): added comments |
| 1393 |
to indicate that fresh variables are deallocated when done with |
| 1394 |
|
| 1395 |
2007-08-23 Steven Eker <[email protected]> |
| 1396 |
|
| 1397 |
* ACU_UnificationSubproblem.cc (buildSolution): use |
| 1398 |
sortAndUniquize() in place of dumbNormalizeAtTop() |
| 1399 |
|
| 1400 |
* ACU_DagNode.cc (computeSolvedForm): becomes computeSolvedForm2() |
| 1401 |
|
| 1402 |
* ACU_DagNode.hh (class ACU_DagNode): computeSolvedForm() -> |
| 1403 |
computeSolvedForm2() |
| 1404 |
|
| 1405 |
2007-08-21 Steven Eker <[email protected]> |
| 1406 |
|
| 1407 |
* ACU_UnificationSubproblem.cc (initialize): simplify and comment |
| 1408 |
(initialize): fix nasty bug by clearing previous selections |
| 1409 |
|
| 1410 |
2007-08-17 Steven Eker <[email protected]> |
| 1411 |
|
| 1412 |
* ACU_UnificationSubproblem.hh (class ACU_UnificationSubproblem): |
| 1413 |
update decl for addBasisElement() |
| 1414 |
|
| 1415 |
* ACU_UnificationSubproblem.cc (addBasisElement): pass element by |
| 1416 |
reference; made assignment in if statement obvious |
| 1417 |
|
| 1418 |
===================================Maude89g=========================================== |
| 1419 |
|
| 1420 |
2007-08-09 Steven Eker <[email protected]> |
| 1421 |
|
| 1422 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 1423 |
dumbNormalizeAtTop() |
| 1424 |
|
| 1425 |
* ACU_DagNode.cc (instantiate2): use dumbNormalizeAtTop() to avoid |
| 1426 |
getting a tree form |
| 1427 |
|
| 1428 |
* ACU_UnificationSubproblem.cc (buildSolution): use |
| 1429 |
dumbNormalizeAtTop() to avoid getting a tree form |
| 1430 |
|
| 1431 |
* ACU_Normalize.cc (dumbNormalizeAtTop): added |
| 1432 |
(normalizeAtTop): use dumbNormalizeAtTop() for general case |
| 1433 |
|
| 1434 |
* ACU_UnificationSubproblem.cc (buildSolution): added Assert() to |
| 1435 |
protect against getting a tree form from normalizeAtTop() |
| 1436 |
|
| 1437 |
===================================Maude89f=========================================== |
| 1438 |
|
| 1439 |
2007-07-06 Steven Eker <[email protected]> |
| 1440 |
|
| 1441 |
* ACU_DagNode.cc (computeSolvedForm): use |
| 1442 |
ACU_UnificationWithExtensionSubproblem() |
| 1443 |
|
| 1444 |
* ACU_Theory.hh: added ACU_UnificationWithUnificationSubproblem |
| 1445 |
|
| 1446 |
2007-06-29 Steven Eker <[email protected]> |
| 1447 |
|
| 1448 |
* ACU_UnificationWithExtensionSubproblem.cc (generateUnificationSubproblem) |
| 1449 |
(fillOutExtensionInfo, nextSelection): added |
| 1450 |
|
| 1451 |
2007-06-28 Steven Eker <[email protected]> |
| 1452 |
|
| 1453 |
* ACU_UnificationWithExtensionSubproblem.cc: created |
| 1454 |
|
| 1455 |
* ACU_UnificationWithExtensionSubproblem.hh: created |
| 1456 |
|
| 1457 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 1458 |
computeSolvedForm() |
| 1459 |
|
| 1460 |
* ACU_DagNode.cc (computeSolvedForm): added extensionInfo arg |
| 1461 |
|
| 1462 |
===================================Maude89c=========================================== |
| 1463 |
|
| 1464 |
2007-03-16 Steven Eker <[email protected]> |
| 1465 |
|
| 1466 |
* ACU_Symbol.cc (computeGeneralizedSort): reuse bddPair between |
| 1467 |
iterations |
| 1468 |
|
| 1469 |
2007-03-15 Steven Eker <[email protected]> |
| 1470 |
|
| 1471 |
* ACU_Symbol.cc (computeGeneralizedSort): pass realToBdd by ref |
| 1472 |
|
| 1473 |
* ACU_Symbol.hh (class ACU_Symbol): fix decl for |
| 1474 |
computeGeneralizedSort() |
| 1475 |
|
| 1476 |
===================================Maude89a=========================================== |
| 1477 |
|
| 1478 |
2007-03-14 Steven Eker <[email protected]> |
| 1479 |
|
| 1480 |
* ACU_UnificationSubproblem.hh (class ACU_UnificationSubproblem): |
| 1481 |
added decl for markReachableNodes() |
| 1482 |
|
| 1483 |
* ACU_UnificationSubproblem.cc (markReachableNodes): added |
| 1484 |
|
| 1485 |
* ACU_UnificationSubproblem.hh (class ACU_UnificationSubproblem): |
| 1486 |
derive from SimpleRootContainer |
| 1487 |
|
| 1488 |
* ACU_UnificationSubproblem.cc (ACU_UnificationSubproblem): |
| 1489 |
initialize savedSubstitution |
| 1490 |
(unificationSolve): don't call deallocateFreshVariables(); restore |
| 1491 |
original substitution after we're done with selection |
| 1492 |
|
| 1493 |
2007-03-13 Steven Eker <[email protected]> |
| 1494 |
|
| 1495 |
* ACU_Symbol.cc (computeGeneralizedSort): added |
| 1496 |
|
| 1497 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for |
| 1498 |
computeGeneralizedSort() |
| 1499 |
|
| 1500 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 1501 |
instantiate2() |
| 1502 |
|
| 1503 |
* ACU_DagNode.cc (instantiate2): added |
| 1504 |
|
| 1505 |
* ACU_UnificationSubproblem.cc (unificationSolve): keep a copy of |
| 1506 |
the solution and restore is each time we give up on the current |
| 1507 |
basis selection |
| 1508 |
|
| 1509 |
* ACU_UnificationSubproblem.hh (class ACU_UnificationSubproblem): |
| 1510 |
added data member savedSubstitution |
| 1511 |
|
| 1512 |
* ACU_UnificationSubproblem.cc (buildSolution): added |
| 1513 |
(unificationSolve): fix bug that we were clearing selection that |
| 1514 |
we needed for backtracking |
| 1515 |
|
| 1516 |
* ACU_UnificationSubproblem.hh (class ACU_UnificationSubproblem): |
| 1517 |
added decl for buildSolution() |
| 1518 |
|
| 1519 |
* ACU_DagNode.hh (class ACU_DagNode): ACU_UnificationSubproblem |
| 1520 |
becomes a friend |
| 1521 |
|
| 1522 |
* ACU_Theory.hh: added class ACU_UnificationSubproblem |
| 1523 |
|
| 1524 |
2007-03-12 Steven Eker <[email protected]> |
| 1525 |
|
| 1526 |
* ACU_DagNode.cc (computeSolvedForm): use coverable() check |
| 1527 |
|
| 1528 |
* ACU_UnificationSubproblem.cc (coverable): added |
| 1529 |
|
| 1530 |
* ACU_DagNode.cc (computeSolvedForm): use |
| 1531 |
ACU_UnificationSubproblem |
| 1532 |
|
| 1533 |
* ACU_UnificationSubproblem.cc: created |
| 1534 |
|
| 1535 |
* ACU_UnificationSubproblem.hh: created |
| 1536 |
|
| 1537 |
2007-03-09 Steven Eker <[email protected]> |
| 1538 |
|
| 1539 |
* ACU_DagNode.cc (computeBaseSortForGroundSubterms): added |
| 1540 |
(computeSolvedForm): take car of upper bounds |
| 1541 |
|
| 1542 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 1543 |
computeBaseSortForGroundSubterms() |
| 1544 |
|
| 1545 |
* ACU_DagNode.cc (nonVariableSize): added |
| 1546 |
(insertVariables2): added |
| 1547 |
(computeSolvedForm): added stub |
| 1548 |
|
| 1549 |
* ACU_DagNode.hh (class ACU_DagNode): added decls for |
| 1550 |
computeSolvedForm(), nonVariableSize(), insertVariables2() |
| 1551 |
|
| 1552 |
===================================Maude89=========================================== |
| 1553 |
|
| 1554 |
2006-10-10 Steven Eker <[email protected]> |
| 1555 |
|
| 1556 |
* ACU_DagNode.hh: added declaration for getACU_DagNode() to |
| 1557 |
appease gcc 4.1 |
| 1558 |
|
| 1559 |
===================================Maude88b=========================================== |
| 1560 |
|
| 1561 |
2005-10-06 Steven Eker <[email protected]> |
| 1562 |
|
| 1563 |
* ACU_Term.cc (deepCopy2): fix bug where we were testing s rather |
| 1564 |
than s2 for 0 |
| 1565 |
|
| 1566 |
===================================Maude86c=========================================== |
| 1567 |
|
| 1568 |
2005-07-28 Steven Eker <[email protected]> |
| 1569 |
|
| 1570 |
* ACU_Term.hh (class ACU_Term): updated decl for SymbolMap* |
| 1571 |
version of ctor |
| 1572 |
|
| 1573 |
* ACU_Term.cc (deepCopy2): handle translation to a non-ACU_Symbol |
| 1574 |
(ACU_Term): force symbol arg to be a ACU_Symbol* |
| 1575 |
|
| 1576 |
2005-07-01 Steven Eker <[email protected]> |
| 1577 |
|
| 1578 |
* ACU_Term.hh (class ACU_Term): updated decls for deepCopy2() and |
| 1579 |
SymbolMap* version of ctor |
| 1580 |
|
| 1581 |
* ACU_Term.cc (deepCopy2): rewritten |
| 1582 |
(ACU_Term): (SymbolMap* version) rewritten |
| 1583 |
|
| 1584 |
===================================Maude86b=========================================== |
| 1585 |
|
| 1586 |
2003-08-28 Steven Eker <[email protected]> |
| 1587 |
|
| 1588 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for |
| 1589 |
rewriteAtTopNoOwise() |
| 1590 |
|
| 1591 |
* ACU_Symbol.cc (complexStrategy): rewritten to use |
| 1592 |
rewriteAtTopNoOwise() for first 0 in semi-eager case |
| 1593 |
(memoStrategy): ditto |
| 1594 |
(rewriteAtTopNoOwise): added |
| 1595 |
|
| 1596 |
===================================Maude82=========================================== |
| 1597 |
|
| 1598 |
2003-07-31 Steven Eker <[email protected]> |
| 1599 |
|
| 1600 |
* ACU_LazySubproblem.cc (bindCollector): fixed nasty bug where we |
| 1601 |
were binding local rather than solution |
| 1602 |
(solve): need to retract() after a successful assert() followed by |
| 1603 |
subproblem failure (2 places) |
| 1604 |
|
| 1605 |
===================================Maude81=========================================== |
| 1606 |
|
| 1607 |
2003-05-29 Steven Eker <[email protected]> |
| 1608 |
|
| 1609 |
* ACU_TreeMatcher.cc (treeMatch): added extra Assert()s for FULL case |
| 1610 |
|
| 1611 |
* ACU_LhsAutomaton.cc (addTopVariable): update nrExpectedUnboundVariables |
| 1612 |
(ACU_LhsAutomaton): clear nrExpectedUnboundVariables |
| 1613 |
(addTopVariable): fix bug where we were not checking that |
| 1614 |
multiplicity == 1 in order to set collectorSeen |
| 1615 |
|
| 1616 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): data member |
| 1617 |
nrExpectedUnboundVariables |
| 1618 |
|
| 1619 |
* ACU_LhsAutomaton.cc (complete): fix bug where we weren't |
| 1620 |
checking that single nga had multiplicity 1 before enabling |
| 1621 |
treeMatchOK in FULL case |
| 1622 |
|
| 1623 |
* ACU_TreeMatcher.cc (treeMatch): check for only 1 thing left in |
| 1624 |
FULL case |
| 1625 |
|
| 1626 |
* ACU_LazySubproblem.cc (ACU_LazySubproblem): call ctors for |
| 1627 |
matchTime and local |
| 1628 |
(bindCollector): use checkSort() |
| 1629 |
(bindCollector): added Assert() for empty tree |
| 1630 |
|
| 1631 |
* ACU_LhsAutomaton.cc (complete): allow the use of tree matching |
| 1632 |
in some FULL cases |
| 1633 |
|
| 1634 |
* ACU_LazySubproblem.cc (bindCollector): simplified as |
| 1635 |
collectorSort will never be 0 |
| 1636 |
|
| 1637 |
* ACU_TreeMatcher.cc (treeMatch): use ACU_LazySubproblem() |
| 1638 |
|
| 1639 |
* ACU_LazySubproblem.hh (class ACU_LazySubproblem): added decl for |
| 1640 |
bindCollector() |
| 1641 |
(class ACU_LazySubproblem): replaced topSymbol with subject; |
| 1642 |
updated decls for bindCollector() and ctor |
| 1643 |
|
| 1644 |
* ACU_LazySubproblem.cc (ACU_LazySubproblem): init topSymbol |
| 1645 |
|
| 1646 |
* ACU_LazySubproblem.hh (class ACU_LazySubproblem): added data |
| 1647 |
member topSymbol; updated decl for ctor |
| 1648 |
|
| 1649 |
* ACU_LazySubproblem.cc (ACU_LazySubproblem): remaining arg is now |
| 1650 |
a const ACU_Tree&; use copy() to initialize matchTime |
| 1651 |
(bindCollector): added |
| 1652 |
|
| 1653 |
* ACU_LazySubproblem.hh (class ACU_LazySubproblem): data member |
| 1654 |
remaining becomes ACU_Tree; updated decl for ctor |
| 1655 |
|
| 1656 |
2003-05-19 Steven Eker <[email protected]> |
| 1657 |
|
| 1658 |
* ACU_Normalize.cc (normalizeAtTop): use useTree() |
| 1659 |
(insertAlien): use useTree() |
| 1660 |
|
| 1661 |
* ACU_Symbol.hh (class ACU_Symbol): updated decl for ACU_Symbol() |
| 1662 |
(useTree): added |
| 1663 |
|
| 1664 |
* ACU_Symbol.cc (ACU_Symbol): initialize useTreeFlag |
| 1665 |
|
| 1666 |
* ACU_Symbol.hh (class ACU_Symbol): added data member useTreeFlag |
| 1667 |
|
| 1668 |
2003-05-16 Steven Eker <[email protected]> |
| 1669 |
|
| 1670 |
* ACU_Symbol.cc (stackArguments): rewritten; handle tree case; use |
| 1671 |
FOR_EACH_CONST() in ArgVec case |
| 1672 |
(ruleRewrite): use ruleFree(); don't use getACU_DagNode() |
| 1673 |
|
| 1674 |
2003-05-15 Steven Eker <[email protected]> |
| 1675 |
|
| 1676 |
* ACU_Symbol.cc (reduceArgumentsAndNormalize): rewritten; now |
| 1677 |
return true for collapse and false owise |
| 1678 |
|
| 1679 |
* ACU_Symbol.hh (class ACU_Symbol): added decls for normalize() |
| 1680 |
and copyReduceSubtermsAndNormalize() |
| 1681 |
|
| 1682 |
* ACU_Symbol.cc (memoStrategy): rewritten |
| 1683 |
(normalize): added |
| 1684 |
(complexStrategy): simplified using normalize() |
| 1685 |
(memoStrategy): simplified using normalize() |
| 1686 |
(normalizeAndComputeTrueSort): simplified using normalize() |
| 1687 |
(copyAndReduceSubterms): rewritten |
| 1688 |
(copyAndReduceSubterms): becomes copyReduceSubtermsAndNormalize() |
| 1689 |
(memoStrategy): simplified using copyReduceSubtermsAndNormalize() |
| 1690 |
(complexStrategy): simplified using |
| 1691 |
copyReduceSubtermsAndNormalize() |
| 1692 |
|
| 1693 |
* ACU_TreeDagNode.cc (treeToArgVec): pass ASSIGNMENT to |
| 1694 |
ACU_DagNode() |
| 1695 |
|
| 1696 |
* ACU_Symbol.cc (reduceArgumentsAndNormalize): use isFresh() |
| 1697 |
(eqRewrite): use isFresh() |
| 1698 |
(complexStrategy): use isFresh() |
| 1699 |
(memoStrategy): use isFresh() (2 places) |
| 1700 |
(normalizeAndComputeTrueSort): rewritten; only call |
| 1701 |
computeTrueSort() on args and normalize if our normalization |
| 1702 |
status is FRESH |
| 1703 |
|
| 1704 |
* ACU_BaseDagNode.hh (isFresh): added |
| 1705 |
|
| 1706 |
* ACU_Symbol.cc (computeBaseSort): use isTree() |
| 1707 |
|
| 1708 |
2003-05-14 Steven Eker <[email protected]> |
| 1709 |
|
| 1710 |
* ACU_ExtensionInfo.hh (useUnmatched): deleted |
| 1711 |
(class ACU_ExtensionInfo): deleted decls for convertToUnmatched(0 |
| 1712 |
and useUnmatched() |
| 1713 |
|
| 1714 |
* ACU_ExtensionInfo.cc (buildMatchedPortion): rewritten using |
| 1715 |
iterators |
| 1716 |
(convertToUnmatched): deleted |
| 1717 |
|
| 1718 |
* ACU_DagNode.cc (partialReplace): need to set normalization |
| 1719 |
status to FRESH |
| 1720 |
|
| 1721 |
* ACU_TreeMatcher.cc (makeHighMultiplicityAssignment): use new |
| 1722 |
ACU_DagNode() convention |
| 1723 |
(tryToBindLastVariable): use new ACU_DagNode() convention |
| 1724 |
(forcedLoneVariableCase): use new ACU_DagNode() convention |
| 1725 |
|
| 1726 |
* ACU_Subproblem.cc (oneVariableCase): use new ACU_DagNode() |
| 1727 |
convention |
| 1728 |
(computeAssignment): use new ACU_DagNode() convention |
| 1729 |
(solveVariables): don't call setNormalizationStatus() |
| 1730 |
|
| 1731 |
* ACU_NonLinearLhsAutomaton.cc (match): use new ACU_DagNode() |
| 1732 |
convention |
| 1733 |
|
| 1734 |
* ACU_Matcher.cc (forcedLoneVariableCase): use new ACU_DagNode() |
| 1735 |
convention |
| 1736 |
|
| 1737 |
* ACU_ExtensionInfo.cc (buildUnmatchedPortion): use new |
| 1738 |
ACU_DagNode() convention |
| 1739 |
|
| 1740 |
* ACU_GreedyMatcher.cc (greedyPureMatch): use new ACU_DagNode() |
| 1741 |
convention |
| 1742 |
|
| 1743 |
* ACU_CollectorLhsAutomaton.cc (collect): use new ACU_DagNode() |
| 1744 |
convention |
| 1745 |
|
| 1746 |
* ACU_DagNode.hh (ACU_DagNode): take NormalizationStatus arg |
| 1747 |
|
| 1748 |
* ACU_ExtensionInfo.cc (buildUnmatchedPortion): rewritten to |
| 1749 |
handle tree case and use iterators |
| 1750 |
|
| 1751 |
* ACU_ExtensionInfo.hh (getUnmatched): deleted |
| 1752 |
|
| 1753 |
* ACU_MergeSort.cc (flattenSortAndUniquize): moved here |
| 1754 |
|
| 1755 |
* ACU_Normalize.cc (copyAndBinaryInsert): moved here |
| 1756 |
|
| 1757 |
* ACU_DagNode.hh (class ACU_DagNode): deleted decls for |
| 1758 |
extensionNormalizeAtTop() and binaryInsert() |
| 1759 |
|
| 1760 |
* ACU_DagNormalization.cc (extensionNormalizeAtTop): deleted |
| 1761 |
(binaryInsert): deleted |
| 1762 |
|
| 1763 |
* ACU_Symbol.cc (reduceArgumentsAndNormalize): removed EXTENSION |
| 1764 |
case |
| 1765 |
(complexStrategy): test for ACU_BaseDagNode::FRESH |
| 1766 |
(memoStrategy): removed EXTENSION case |
| 1767 |
|
| 1768 |
* ACU_BaseDagNode.hh (class ACU_BaseDagNode): deleted EXTENSION |
| 1769 |
from enum NormalizationStatus |
| 1770 |
|
| 1771 |
* ACU_DagNode.cc (partialReplace): simplified using |
| 1772 |
buildUnmatchedPortion(); don't use EXTENSION normalization status |
| 1773 |
(partialConstruct): simplified using buildUnmatchedPortion() |
| 1774 |
|
| 1775 |
* ACU_ExtensionInfo.hh (class ACU_ExtensionInfo): added decl for |
| 1776 |
buildUnmatchedPortion() |
| 1777 |
|
| 1778 |
* ACU_ExtensionInfo.cc (buildUnmatchedPortion): added |
| 1779 |
|
| 1780 |
2003-05-13 Steven Eker <[email protected]> |
| 1781 |
|
| 1782 |
* ACU_TreeDagNode.cc (copyEagerUptoReduced2): avoid treeToArgVec() |
| 1783 |
in the case that our symbol is not eager |
| 1784 |
(clearCopyPointers2): changed CantHappen() to Assert() now that we |
| 1785 |
handle non-eager copies ourself |
| 1786 |
|
| 1787 |
* ACU_DagNode.cc (clearCopyPointers2): only need to clear copy |
| 1788 |
pointer if we're eager - lazy argumnets don't get copied |
| 1789 |
|
| 1790 |
2003-05-12 Steven Eker <[email protected]> |
| 1791 |
|
| 1792 |
* ACU_Symbol.cc (eqRewrite): simplified |
| 1793 |
(complexStrategy): rewritten to avoid converting from tree to |
| 1794 |
argvec form unless we need to evaluate aour args |
| 1795 |
|
| 1796 |
* ACU_TreeDagNode.cc (getHashValue): cache hash value |
| 1797 |
|
| 1798 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): deleted decl for |
| 1799 |
treeComputeBaseSort() |
| 1800 |
(class ACU_TreeDagNode): added data member hashCache |
| 1801 |
|
| 1802 |
* ACU_TreeDagNode.cc (treeComputeBaseSort): deleted |
| 1803 |
|
| 1804 |
* ACU_Symbol.cc (computeBaseSort): use ACU_Tree::computeBaseSort() |
| 1805 |
|
| 1806 |
* ACU_TreeMatcher.cc (tryToBindLastVariable): use |
| 1807 |
ACU_Tree::computeBaseSort() |
| 1808 |
|
| 1809 |
* ACU_CollectorLhsAutomaton.cc (collect): (ACU_Tree version) |
| 1810 |
simplified |
| 1811 |
|
| 1812 |
* ACU_LhsAutomaton.cc (complete): removed SAT_MULT test and |
| 1813 |
comment |
| 1814 |
|
| 1815 |
* ACU_LhsCompiler0.cc (tryToMakeNonLinearLhsAutomaton): removed |
| 1816 |
SAT_MULT test and comment |
| 1817 |
|
| 1818 |
* ACU_NonLinearLhsAutomaton.cc (ACU_NonLinearLhsAutomaton): |
| 1819 |
removed SAT_MULT part of Assert() |
| 1820 |
|
| 1821 |
* ACU_TreeMatcher.cc (treeMatch): deleted SAT_MULT Assert() |
| 1822 |
|
| 1823 |
2003-05-06 Steven Eker <[email protected]> |
| 1824 |
|
| 1825 |
* ACU_DagOperations.cc (findFirstPotentialMatch): use |
| 1826 |
Term::UNKNOWN |
| 1827 |
|
| 1828 |
2003-05-05 Steven Eker <[email protected]> |
| 1829 |
|
| 1830 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): redBlackMatch() -> |
| 1831 |
treeMatch() |
| 1832 |
|
| 1833 |
* ACU_TreeMatcher.cc (redBlackMatch): becomes treeMatch() |
| 1834 |
|
| 1835 |
* ACU_Matcher.cc (match): redBlackOK -> treeMatchOK, |
| 1836 |
redBlackMatch() -> treeMatch() |
| 1837 |
|
| 1838 |
* ACU_LhsAutomaton.cc: redBlackOK -> treeMatchOK |
| 1839 |
|
| 1840 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): redBlackOK -> |
| 1841 |
treeMatchOK |
| 1842 |
|
| 1843 |
* ACU_TreeMatcher.cc: remamed from ACU_RedBlackMatcher.cc |
| 1844 |
|
| 1845 |
* ACU_RedBlackMatcher.cc (eliminateBoundVariables): use deleteMult() |
| 1846 |
(makeHighMultiplicityAssignment): use class ACU_Tree |
| 1847 |
(redBlackMatch): use getTree() |
| 1848 |
(eliminateGroundAliens): use deleteMult() |
| 1849 |
(eliminateGroundedOutAliens): use deleteMult() |
| 1850 |
(greedyMatch): use deleteMult() |
| 1851 |
(tryToBindVariable): use deleteMult() |
| 1852 |
(tryToBindLastVariable): use deleteMult() |
| 1853 |
(eliminateBoundVariables): use ACU_Tree::find() |
| 1854 |
(eliminateGroundAliens): use ACU_Tree::find() |
| 1855 |
(eliminateGroundedOutAliens): use |
| 1856 |
ACU_Tree::findFirstPotentialMatch() |
| 1857 |
(greedyMatch): use ACU_Tree::findFirstPotentialMatch() |
| 1858 |
(tryToBindVariable): use ACU_Tree::findGeqMult() |
| 1859 |
(tryToBindLastVariable): use getSoleDagNode() |
| 1860 |
|
| 1861 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): current becomes an |
| 1862 |
ACU_Tree |
| 1863 |
|
| 1864 |
* ACU_GndLhsAutomaton.cc (match): use getTree() |
| 1865 |
|
| 1866 |
* ACU_ExtensionInfo.cc (convertToUnmatched): use getTree() |
| 1867 |
|
| 1868 |
* ACU_Term.cc (compareArguments): use getTree() |
| 1869 |
|
| 1870 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 1871 |
makeHighMultiplicityAssignment() |
| 1872 |
|
| 1873 |
* ACU_NGA_LhsAutomaton.cc (match): use getTree() |
| 1874 |
|
| 1875 |
* ACU_NonLinearLhsAutomaton.cc (match): use getTree() |
| 1876 |
|
| 1877 |
* ACU_VarLhsAutomaton.cc (match): use getTree() |
| 1878 |
|
| 1879 |
* ACU_Flatten.cc (flattenSortAndUniquize): use getTree() |
| 1880 |
|
| 1881 |
* ACU_Normalize.cc (normalizeAtTop): use class ACU_Tree |
| 1882 |
|
| 1883 |
* ACU_FastMerge.cc (fastMerge): use getTree() (2 versions) |
| 1884 |
|
| 1885 |
* ACU_DagNode.hh (class ACU_DagNode): replace struct Pair with a |
| 1886 |
typedef from ACU_Pair |
| 1887 |
|
| 1888 |
* ACU_Normalize.cc (insertAlien): use class ACU_Tree |
| 1889 |
|
| 1890 |
* ACU_DagNode.cc (compareArguments): use getTree() |
| 1891 |
|
| 1892 |
* ACU_Convert.cc: deleted |
| 1893 |
|
| 1894 |
* ACU_DagNode.hh (class ACU_DagNode): deleted decls for |
| 1895 |
makeTree(), pow2min1(), makeTree() |
| 1896 |
|
| 1897 |
* ACU_BaseDagNode.cc (getSize): use getTree() |
| 1898 |
|
| 1899 |
* ACU_TreeDagNode.cc (recComputeBaseSort): deleted |
| 1900 |
(arguments): use tree data member |
| 1901 |
(getHashValue): use tree data member |
| 1902 |
(overwriteWithClone): use tree data member |
| 1903 |
(makeClone): use tree data member |
| 1904 |
(compareArguments): use tree data member |
| 1905 |
(stackArguments): use tree data member |
| 1906 |
(markArguments): use ACU_Tree::mark() |
| 1907 |
(treeToArgVec): use tree data member |
| 1908 |
|
| 1909 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): use ACU_Tree data |
| 1910 |
element |
| 1911 |
(getRoot): becomes getTree() |
| 1912 |
(class ACU_TreeDagNode): deleted decl for recComputeBaseSort() |
| 1913 |
|
| 1914 |
* ACU_Symbol.hh (computeMultSortIndex): deleted |
| 1915 |
(computeSortIndex): deleted |
| 1916 |
|
| 1917 |
===================================Maude80a=========================================== |
| 1918 |
|
| 1919 |
2003-05-02 Steven Eker <[email protected]> |
| 1920 |
|
| 1921 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for rewriteAtTop() |
| 1922 |
|
| 1923 |
* ACU_Symbol.cc (rewriteAtTop): added |
| 1924 |
(eqRewrite): use rewriteAtTop() to avoid having an |
| 1925 |
ACU_ExtensionInfo on our stack frame |
| 1926 |
(eqRewrite): simplified; we no longer assume that if we have |
| 1927 |
standard strategy and our subject was produced by an assignment |
| 1928 |
that we cannot be equation free; mbs can prevent exact sort |
| 1929 |
calculation and setting of reduced flag |
| 1930 |
(reduceArgumentsAndNormalize): only remove identity in |
| 1931 |
ACU_DagNode::EXTENSION case |
| 1932 |
|
| 1933 |
* ACU_DagNode.cc (markArguments): avoid recursing on the first arg |
| 1934 |
that shares our symbol |
| 1935 |
|
| 1936 |
2003-05-01 Steven Eker <[email protected]> |
| 1937 |
|
| 1938 |
* ACU_TreeDagNode.cc (overwriteWithClone): use |
| 1939 |
copySetRewritingFlags() |
| 1940 |
(makeClone): use copySetRewritingFlags() |
| 1941 |
|
| 1942 |
* ACU_DagNode.cc (overwriteWithClone): use copySetRewritingFlags() |
| 1943 |
and fastCopy() |
| 1944 |
(makeClone): use copySetRewritingFlags() and fastCopy() |
| 1945 |
|
| 1946 |
2003-04-30 Steven Eker <[email protected]> |
| 1947 |
|
| 1948 |
* ACU_LhsCompiler3.cc (findLongestIncreasingSequence): added |
| 1949 |
comment to explain why calling subsumes() is safe even in the |
| 1950 |
presence of external agencies that can bind variables in the |
| 1951 |
subsumer |
| 1952 |
|
| 1953 |
===================================Maude80=========================================== |
| 1954 |
|
| 1955 |
2003-03-28 Steven Eker <[email protected]> |
| 1956 |
|
| 1957 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): deleted decl for |
| 1958 |
copyMultiplicity() |
| 1959 |
|
| 1960 |
* ACU_Matcher.cc (fullMatch): call addSubjects() here |
| 1961 |
(aliensOnlyMatch): call addSubjects() here |
| 1962 |
(buildBipartiteGraph): don't call addSubjects() here |
| 1963 |
(aliensOnlyMatch): check for trivial graph |
| 1964 |
(match): expand copyMultiplicity() here since it's only called |
| 1965 |
from this one place |
| 1966 |
(copyMultiplicity): deleted |
| 1967 |
|
| 1968 |
2003-03-27 Steven Eker <[email protected]> |
| 1969 |
|
| 1970 |
* ACU_Matcher.cc (fullMatch): check for trivial bipartite graph |
| 1971 |
|
| 1972 |
2003-03-26 Steven Eker <[email protected]> |
| 1973 |
|
| 1974 |
* ACU_Subproblem.hh (noPatterns): added |
| 1975 |
|
| 1976 |
* ACU_Matcher.cc (forcedLoneVariableCase): now handle identity |
| 1977 |
case here; no longer local_inline |
| 1978 |
(match): don't handle lone variable identity case here |
| 1979 |
|
| 1980 |
* ACU_RedBlackMatcher.cc (forcedLoneVariableCase): code cleaning |
| 1981 |
|
| 1982 |
* ACU_Theory.hh: deleted fwd decl for class |
| 1983 |
ACU_AlienAlienLhsAutomaton |
| 1984 |
|
| 1985 |
* ACU_DagNode.hh (class ACU_DagNode): deleted decl for |
| 1986 |
findFirstOccurrence() |
| 1987 |
|
| 1988 |
* ACU_DagOperations.cc (findFirstOccurrence): deleted |
| 1989 |
|
| 1990 |
* ACU_Term.hh (class ACU_Term): deleted decl for |
| 1991 |
tryToMakeAlienAlienLhsAutomaton() |
| 1992 |
|
| 1993 |
* ACU_LhsCompiler0.cc (tryToMakeAlienAlienLhsAutomaton): deleted |
| 1994 |
(tryToMakeSpecialCaseAutomaton): don't call |
| 1995 |
tryToMakeAlienAlienLhsAutomaton() |
| 1996 |
|
| 1997 |
* ACU_AlienAlienLhsAutomaton.cc: deleted |
| 1998 |
|
| 1999 |
* ACU_AlienAlienLhsAutomaton.hh: deleted |
| 2000 |
|
| 2001 |
* ACU_Matcher.cc (buildBipartiteGraph): new ACU_Subproblem() |
| 2002 |
convention to get arround the probelm that currentMultipplicities |
| 2003 |
can change |
| 2004 |
|
| 2005 |
* ACU_DagNode.cc (matchVariableWithExtension): new |
| 2006 |
ACU_Subproblem() convention |
| 2007 |
|
| 2008 |
* ACU_Subproblem.hh (class ACU_Subproblem): added decl for |
| 2009 |
addSubjects(); updated decl for ctor |
| 2010 |
|
| 2011 |
* ACU_Subproblem.cc (addSubjects): added |
| 2012 |
(ACU_Subproblem): don't set currentMultiplicity here |
| 2013 |
|
| 2014 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 2015 |
buildBipartiteGraph() |
| 2016 |
|
| 2017 |
* ACU_Matcher.cc (buildBipartiteGraph): take SubproblemAccumulator |
| 2018 |
arg |
| 2019 |
(fullMatch): new buildBipartiteGraph() convention |
| 2020 |
(aliensOnlyMatch): new buildBipartiteGraph() convention |
| 2021 |
|
| 2022 |
* ACU_Subproblem.hh (class ACU_Subproblem): added decl for |
| 2023 |
removePatternNode() |
| 2024 |
|
| 2025 |
* ACU_Subproblem.cc (removePatternNode): added |
| 2026 |
|
| 2027 |
* ACU_Matcher.cc (buildBipartiteGraph): force patterns that only |
| 2028 |
have a single edge |
| 2029 |
|
| 2030 |
2003-03-25 Steven Eker <[email protected]> |
| 2031 |
|
| 2032 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decls for |
| 2033 |
forcedLoneVariableCase(), greedyPureMatch(), |
| 2034 |
tryToBindLastVariable(), tryToBindVariable(), greedyMatch(), |
| 2035 |
eliminateGroundedOutAliens(), eliminateGroundAliens(), |
| 2036 |
eliminateBoundVariables() |
| 2037 |
|
| 2038 |
* ACU_RedBlackMatcher.cc (eliminateBoundVariables): simplified |
| 2039 |
argument list |
| 2040 |
(eliminateGroundAliens): simplified argument list |
| 2041 |
(eliminateGroundedOutAliens): simplified argument list |
| 2042 |
(greedyMatch): simplified argument list |
| 2043 |
(greedyMatch): simpified call to greedyPureMatch() |
| 2044 |
(tryToBindVariable): simplified argument list |
| 2045 |
(makeHighMultiplicityAssignment): current -> root so we don't |
| 2046 |
confuse arg with data member |
| 2047 |
(tryToBindLastVariable): simplified argument list |
| 2048 |
(greedyPureMatch): simplified argument list |
| 2049 |
(greedyPureMatch): simplified calls to tryToBindLastVariable() and |
| 2050 |
tryToBindVariable() |
| 2051 |
(redBlackMatch): assignto data members rather than local variables |
| 2052 |
for current and matchedMultiplicity |
| 2053 |
(redBlackMatch): simplified calls to eliminateBoundVariables(), |
| 2054 |
eliminateGroundAliens(), eliminateGroundedOutAliens(), |
| 2055 |
forcedLoneVariableCase() and greedyMatch() |
| 2056 |
(forcedLoneVariableCase): simplified argument list |
| 2057 |
|
| 2058 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 2059 |
red-black version of forcedLoneVariableCase() |
| 2060 |
(class ACU_LhsAutomaton): added data members current, |
| 2061 |
nrUnboundVariables and matchedMultiplicity so we don't have to |
| 2062 |
drag these values around as arguments at match time |
| 2063 |
|
| 2064 |
* ACU_RedBlackMatcher.cc (forcedLoneVariableCase): added red-black |
| 2065 |
version |
| 2066 |
(redBlackMatch): use forcedLoneVariableCase() |
| 2067 |
|
| 2068 |
* ACU_Matcher.cc (match): pass returnedSubproblem arg to |
| 2069 |
redBlackMatch() |
| 2070 |
|
| 2071 |
* ACU_RedBlackMatcher.cc (redBlackMatch): now take |
| 2072 |
returnedSubproblem arg |
| 2073 |
|
| 2074 |
2003-03-24 Steven Eker <[email protected]> |
| 2075 |
|
| 2076 |
* ACU_AlienAlienLhsAutomaton.cc (match): use safeCast() |
| 2077 |
|
| 2078 |
* ACU_ExtensionInfo.cc (copy): use safeCast() |
| 2079 |
|
| 2080 |
* ACU_Matcher.cc (match): use safeCast() |
| 2081 |
|
| 2082 |
* ACU_Term.cc (normalizeAliensAndFlatten): use safeCast() (3 |
| 2083 |
places) |
| 2084 |
|
| 2085 |
* ACU_DagNode.cc (partialReplace): use safeCast() |
| 2086 |
(partialConstruct): use safeCast() |
| 2087 |
(matchVariableWithExtension): use safeCast() |
| 2088 |
|
| 2089 |
* ACU_NonLinearLhsAutomaton.cc (match): use safeCast() (2 places) |
| 2090 |
|
| 2091 |
* ACU_GndLhsAutomaton.cc (ACU_GndLhsAutomaton): don't initialize |
| 2092 |
trueFailure |
| 2093 |
(match): test extensionInfo == 0 rather than trueFailure |
| 2094 |
(dump): don't dump trueFailure |
| 2095 |
|
| 2096 |
* ACU_GndLhsAutomaton.hh (class ACU_GndLhsAutomaton): deleted data |
| 2097 |
member trueFailure |
| 2098 |
|
| 2099 |
* ACU_CollectorLhsAutomaton.cc (ACU_CollectorLhsAutomaton): added |
| 2100 |
Assert to check for sort constraint freeness |
| 2101 |
(collect): don't check for sort constraint freeness (both |
| 2102 |
versions) |
| 2103 |
(collect): use getUniqueSortIndex() (both versions) |
| 2104 |
|
| 2105 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): require |
| 2106 |
that top symbol be sort constraint free |
| 2107 |
|
| 2108 |
2003-03-21 Steven Eker <[email protected]> |
| 2109 |
|
| 2110 |
* ACU_Term.hh (class ACU_Term): added decl for |
| 2111 |
tryToMakeSpecialCaseAutomaton() |
| 2112 |
|
| 2113 |
* ACU_LhsCompiler0.cc (tryToMakeSpecialCaseAutomaton): added |
| 2114 |
(compileLhs2): simplified using tryToMakeSpecialCaseAutomaton() |
| 2115 |
|
| 2116 |
* ACU_NGA_LhsAutomaton.cc (match): call setValidAfterMatch() |
| 2117 |
|
| 2118 |
* ACU_VarLhsAutomaton.cc (match): call setValidAfterMatch() |
| 2119 |
|
| 2120 |
* ACU_GndLhsAutomaton.cc (match): call setValidAfterMatch() |
| 2121 |
|
| 2122 |
* ACU_TreeDagNode.hh (ACU_TreeDagNode): added Assert() to check |
| 2123 |
that we don't make an ACU_TreeDagNode with single argument |
| 2124 |
|
| 2125 |
* ACU_NonLinearLhsAutomaton.cc (match): fixed symmetric bug |
| 2126 |
(dump): dump pureSort |
| 2127 |
(match): deleted superfluous setValidAfterMatch() |
| 2128 |
|
| 2129 |
* ACU_RedBlackMatcher.cc (greedyPureMatch): fixed bug where we |
| 2130 |
were creating ACU node with single argument when setting extension |
| 2131 |
|
| 2132 |
* ACU_NonLinearLhsAutomaton.cc (match): restructured |
| 2133 |
|
| 2134 |
2003-03-20 Steven Eker <[email protected]> |
| 2135 |
|
| 2136 |
* ACU_Term.hh (class ACU_Term): updated decl for |
| 2137 |
tryToMakeNonLinearLhsAutomaton() |
| 2138 |
|
| 2139 |
* ACU_LhsCompiler0.cc (tryToMakeNonLinearLhsAutomaton): don't take |
| 2140 |
matchAtTop arg since now it must be true |
| 2141 |
(tryToMakeNonLinearLhsAutomaton): allow LIMIT_SORT, check that |
| 2142 |
multiplicity <= SAT_MULT; new ACU_NonLinearLhsAutomaton() calling |
| 2143 |
convention |
| 2144 |
(compileLhs2): use new tryToMakeNonLinearLhsAutomaton() convention |
| 2145 |
|
| 2146 |
* ACU_NonLinearLhsAutomaton.cc (match): check getMaxMult() here so |
| 2147 |
that we can return false if there is no subject with enough |
| 2148 |
multiplicity |
| 2149 |
|
| 2150 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 2151 |
updated decl for ctor |
| 2152 |
|
| 2153 |
* ACU_NonLinearLhsAutomaton.cc (ACU_NonLinearLhsAutomaton): don't |
| 2154 |
take matchAtTop (must be true) or collapsePossible (must be false) |
| 2155 |
|
| 2156 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 2157 |
deleted data members topSymbol and matched; added data member |
| 2158 |
pureSort |
| 2159 |
(class ACU_NonLinearLhsAutomaton): deleted decl for treeMatch() |
| 2160 |
|
| 2161 |
* ACU_NonLinearLhsAutomaton.cc (match): use |
| 2162 |
makeHighMultiplicityAssignment() rather than treeMatch() |
| 2163 |
(match): deleted non-extension case; this will now be handled in |
| 2164 |
the general greedy matcher |
| 2165 |
(dump): don't dump topSymbol |
| 2166 |
(match): use getSymbol rather than topSymbol |
| 2167 |
(ACU_NonLinearLhsAutomaton): init pureSort; allow LIMIT_SORT |
| 2168 |
(ACU_NonLinearLhsAutomaton): don't init topSymbol |
| 2169 |
(treeMatch): deleted |
| 2170 |
|
| 2171 |
* ACU_Subproblem.cc (~ACU_Subproblem): use FOR_EACH_CONST |
| 2172 |
(solveVariables): use FOR_EACH_CONST |
| 2173 |
|
| 2174 |
* ACU_RedBlackMatcher.cc (greedyMatch): new convention for |
| 2175 |
greedyPureMatch() |
| 2176 |
|
| 2177 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 2178 |
greedyPureMatch(); made makeHighMultiplicityAssignment() protected |
| 2179 |
|
| 2180 |
* ACU_RedBlackMatcher.cc (greedyPureMatch): return bool now that |
| 2181 |
we no longer try to make a distiction between true failure and |
| 2182 |
UNDECIDED |
| 2183 |
|
| 2184 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decls for |
| 2185 |
decidePhase1FailureMode() and decidePhase2FailureMode() |
| 2186 |
|
| 2187 |
* ACU_GreedyMatcher.cc (decidePhase1FailureMode): rewritten |
| 2188 |
(greedyPureMatch): use new decidePhase1FailureMode() convention |
| 2189 |
(decidePhase2FailureMode): simplified to avoid nasty bug where a |
| 2190 |
unit variable could be given a lower sort subject when it actually |
| 2191 |
needs a higher sort subject in order for the match to succeed and |
| 2192 |
we could end up returning false when a match is really possible |
| 2193 |
(greedyPureMatch): use new decidePhase2FailureMode() convention |
| 2194 |
|
| 2195 |
2003-03-19 Steven Eker <[email protected]> |
| 2196 |
|
| 2197 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decls for |
| 2198 |
decidePhase1FailureMode() and decidePhase2FailureMode() |
| 2199 |
|
| 2200 |
* ACU_GreedyMatcher.cc (decidePhase1FailureMode): added |
| 2201 |
(decidePhase2FailureMode): added |
| 2202 |
(greedyPureMatch): use decidePhase1FailureMode() and |
| 2203 |
decidePhase2FailureMode() |
| 2204 |
|
| 2205 |
* ACU_Matcher.cc (match): don't pass returnUndecidedOnFail arg to |
| 2206 |
greedyPureMatch() |
| 2207 |
|
| 2208 |
* ACU_GreedyMatcher.cc (greedyMatch): don't pass |
| 2209 |
returnUndecidedOnFail arg to greedyPureMatch() |
| 2210 |
|
| 2211 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 2212 |
greedyPureMatch() |
| 2213 |
|
| 2214 |
* ACU_GreedyMatcher.cc (greedyPureMatch): don't take |
| 2215 |
returnUndecidedOnFail since greedyMatch() already checks for true |
| 2216 |
and wasted effort is slight and rare |
| 2217 |
|
| 2218 |
* ACU_Matcher.cc (eliminateGroundAliens): use FOR_EACH_CONST |
| 2219 |
(eliminateGroundedOutAliens): use FOR_EACH_CONST |
| 2220 |
(eliminateGroundedOutAliens): rewritten to be almost symmetric |
| 2221 |
with red-black version |
| 2222 |
(computeTotalMultiplicity): use FOR_EACH_CONST |
| 2223 |
(copyMultiplicity): use FOR_EACH_CONST |
| 2224 |
(fullMatch): use FOR_EACH_CONST |
| 2225 |
(handleElementVariables): use FOR_EACH_CONST |
| 2226 |
|
| 2227 |
* ACU_GreedyMatcher.cc (greedyMatch): rewritten to be mostly |
| 2228 |
symmetric with red-black version |
| 2229 |
|
| 2230 |
* ACU_LhsAutomaton.cc (dump): dump redBlackOK and collectorSeen |
| 2231 |
|
| 2232 |
* ACU_LhsCompiler3.cc (compileGreedyAndFullCases): new complete() |
| 2233 |
convention |
| 2234 |
|
| 2235 |
* ACU_LhsCompiler2.cc (compileAliensOnlyCase): new complete() |
| 2236 |
convention |
| 2237 |
|
| 2238 |
* ACU_LhsCompiler1.cc (compileLhs3): new complete() convention |
| 2239 |
|
| 2240 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 2241 |
complete() |
| 2242 |
|
| 2243 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): init collectorSeen |
| 2244 |
(addTopVariable): update collectorSeen |
| 2245 |
(complete): new redBlackOK calculation |
| 2246 |
|
| 2247 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 2248 |
addTopVariable() |
| 2249 |
(class ACU_LhsAutomaton): added data member collectorSeen |
| 2250 |
|
| 2251 |
* ACU_LhsCompiler1.cc (compileLhs3): use new addTopVariable() |
| 2252 |
convention |
| 2253 |
|
| 2254 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): init redBlackOK = true |
| 2255 |
(addAbstractionVariable): falsify redBlackOK |
| 2256 |
(addGroundedOutAlien): falsify redBlackOK if alien unstable |
| 2257 |
(addNonGroundAlien): falsify redBlackOK if alien unstable |
| 2258 |
|
| 2259 |
2003-03-18 Steven Eker <[email protected]> |
| 2260 |
|
| 2261 |
* ACU_LhsCompiler3.cc (compileGreedyAndFullCases): use new |
| 2262 |
complete() convention |
| 2263 |
|
| 2264 |
* ACU_LhsCompiler2.cc (compileAliensOnlyCase): use new complete() |
| 2265 |
convention |
| 2266 |
|
| 2267 |
* ACU_LhsCompiler1.cc (compileLhs3): use new complete() convention |
| 2268 |
|
| 2269 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 2270 |
complete() |
| 2271 |
|
| 2272 |
* ACU_LhsAutomaton.cc (complete): take redBlackPossible arg; we |
| 2273 |
can't rely on strategy == LONE_VARIABLE beacuse of variable |
| 2274 |
abstraction |
| 2275 |
|
| 2276 |
* ACU_LhsCompiler1.cc (compileLhs3): use empty() rather than |
| 2277 |
length() == 0 |
| 2278 |
|
| 2279 |
2003-03-17 Steven Eker <[email protected]> |
| 2280 |
|
| 2281 |
* ACU_TreeDagNode.cc (recComputeBaseSort): fixed nasty bug where |
| 2282 |
we were using getLeft() twice instead of getRight() and computing |
| 2283 |
the wrong sort |
| 2284 |
|
| 2285 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): don't set redBlackOK |
| 2286 |
here |
| 2287 |
(complete): set redBlackOK here |
| 2288 |
|
| 2289 |
* ACU_RedBlackMatcher.cc (redBlackMatch): call greedyMatch() |
| 2290 |
|
| 2291 |
2003-03-12 Steven Eker <[email protected]> |
| 2292 |
|
| 2293 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 2294 |
makeHighMultiplicityAssignment() |
| 2295 |
(class ACU_LhsAutomaton): added data member matched |
| 2296 |
|
| 2297 |
* ACU_RedBlackMatcher.cc (makeHighMultiplicityAssignment): added |
| 2298 |
(tryToBindLastVariable): added high multiplicity cases |
| 2299 |
|
| 2300 |
2003-03-11 Steven Eker <[email protected]> |
| 2301 |
|
| 2302 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 2303 |
tryToBindLastVariable() |
| 2304 |
|
| 2305 |
* ACU_RedBlackMatcher.cc (tryToBindLastVariable): added |
| 2306 |
|
| 2307 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decls for |
| 2308 |
eliminateBoundVariables(), eliminateGroundAliens(), |
| 2309 |
eliminateGroundedOutAliens() and greedyMatch(); added decl for |
| 2310 |
tryToBindVariable() |
| 2311 |
(class ACU_LhsAutomaton): updated decl for greedyPureMatch() |
| 2312 |
|
| 2313 |
* ACU_RedBlackMatcher.cc (eliminateBoundVariables): update |
| 2314 |
matchedMultiplicity |
| 2315 |
(eliminateGroundAliens): update matchedMultiplicity |
| 2316 |
(greedyMatch): update matchedMultiplicity |
| 2317 |
(tryToBindVariable): added |
| 2318 |
|
| 2319 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decls for |
| 2320 |
red-black versions of greedyPureMatch() and greedyMatch(); updated |
| 2321 |
decl for eliminateBoundVariables() |
| 2322 |
|
| 2323 |
* ACU_RedBlackMatcher.cc (greedyMatch): added red-black version |
| 2324 |
(eliminateBoundVariables): keep track of number of unbound |
| 2325 |
variables rather than making a linked list of them. |
| 2326 |
(eliminateBoundVariables): use iterators |
| 2327 |
(eliminateBoundVariables): use FOR_EACH_CONST() macro |
| 2328 |
(eliminateGroundAliens): use FOR_EACH_CONST() macro |
| 2329 |
(eliminateGroundedOutAliens): use FOR_EACH_CONST() macro |
| 2330 |
(greedyPureMatch): added red-black version |
| 2331 |
|
| 2332 |
2003-03-10 Steven Eker <[email protected]> |
| 2333 |
|
| 2334 |
* ACU_Matcher.cc (eliminateGroundAliens): use iterators |
| 2335 |
(eliminateGroundedOutAliens): use iterators |
| 2336 |
(eliminateGroundedOutAliens): rearrange tests; now only look at |
| 2337 |
multiplicity after we have a match; if current multiplicity is too |
| 2338 |
small we can rewturn false since ground out alien must match a |
| 2339 |
unique subject subterm |
| 2340 |
|
| 2341 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decls for |
| 2342 |
red-black versions of eliminateBoundVariables(), |
| 2343 |
eliminateGroundAliens() and eliminateGroundedOutAliens() |
| 2344 |
|
| 2345 |
* ACU_RedBlackMatcher.cc (eliminateBoundVariables): added |
| 2346 |
red-black version |
| 2347 |
(eliminateGroundAliens): added red-black version |
| 2348 |
(eliminateGroundedOutAliens): added red-black version |
| 2349 |
|
| 2350 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): initialize redBlackOK |
| 2351 |
|
| 2352 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 2353 |
redBlackMatch() |
| 2354 |
|
| 2355 |
* ACU_RedBlackMatcher.cc (redBlackMatch): added stub |
| 2356 |
|
| 2357 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added data member |
| 2358 |
redBlackOK |
| 2359 |
|
| 2360 |
* ACU_Matcher.cc (match): use redBlackOK and redBlackMatch() |
| 2361 |
|
| 2362 |
2003-03-07 Steven Eker <[email protected]> |
| 2363 |
|
| 2364 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): delete |
| 2365 |
data memeber trueFailure |
| 2366 |
|
| 2367 |
* ACU_NGA_LhsAutomaton.cc (ACU_NGA_LhsAutomaton): added Assert()s |
| 2368 |
to check to stripper term is non-ground and stable |
| 2369 |
(match): do full match if collect() fails; this fixes a nasty bug |
| 2370 |
where we tried to continue but collect() has destroyed the |
| 2371 |
iterator |
| 2372 |
(ACU_NGA_LhsAutomaton): don't initialize trueFailure |
| 2373 |
|
| 2374 |
* ACU_VarLhsAutomaton.cc (ACU_VarLhsAutomaton): allow trueFailure |
| 2375 |
if stripper variable has pure sort |
| 2376 |
|
| 2377 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): no longer |
| 2378 |
require stripper variable to have unit or pure sort |
| 2379 |
|
| 2380 |
* ACU_VarLhsAutomaton.cc (match): do full match if collect() |
| 2381 |
fails; this fixes a nasty bug where we tried to continue but |
| 2382 |
collect() has destroyed the iterator |
| 2383 |
(ACU_VarLhsAutomaton): changed definition of trueFailure to take |
| 2384 |
account of the fact that failures due to collect() never test |
| 2385 |
trueFailure |
| 2386 |
(ACU_VarLhsAutomaton): added Assert() to check that stripper |
| 2387 |
variable can't take identity |
| 2388 |
|
| 2389 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): chnage |
| 2390 |
requirement on collect variable to have unbounded sort rather than |
| 2391 |
pure or limit sort. The is a wweaker condition that is now allowed |
| 2392 |
because we gave up on the fast sort computation trick. |
| 2393 |
|
| 2394 |
* ACU_GndLhsAutomaton.cc (ACU_GndLhsAutomaton): added Assert() to |
| 2395 |
check that stripper term is ground |
| 2396 |
|
| 2397 |
* ACU_CollectorLhsAutomaton.cc (ACU_CollectorLhsAutomaton): added |
| 2398 |
Assert() to check that collector has unbounded sort |
| 2399 |
|
| 2400 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): deleted |
| 2401 |
data member local |
| 2402 |
|
| 2403 |
* ACU_NGA_LhsAutomaton.cc (match): use getLocal() |
| 2404 |
(ACU_NGA_LhsAutomaton): don't initialize local |
| 2405 |
|
| 2406 |
* ACU_LhsAutomaton.hh (getLocal): added |
| 2407 |
(getLocal2): added |
| 2408 |
|
| 2409 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): deleted |
| 2410 |
data members topSymbol and collapsePossible; added data member |
| 2411 |
trueFailure |
| 2412 |
|
| 2413 |
* ACU_NGA_LhsAutomaton.cc (match): use getSymbol() |
| 2414 |
(match): use getCollapsePossible() |
| 2415 |
(dump): don't dump topSymbol or collapsePossible |
| 2416 |
(ACU_NGA_LhsAutomaton): don't initialize topSymbol or |
| 2417 |
collapsePossible; initialize trueFailure |
| 2418 |
(match): reorganized search loops using trueFailure |
| 2419 |
|
| 2420 |
2003-03-06 Steven Eker <[email protected]> |
| 2421 |
|
| 2422 |
* ACU_NGA_LhsAutomaton.cc (match): use new collapse() convention |
| 2423 |
|
| 2424 |
* ACU_GndLhsAutomaton.cc (ACU_GndLhsAutomaton): initialize |
| 2425 |
trueFailure |
| 2426 |
(match): use trueFailure |
| 2427 |
(dump): dump trueFailure |
| 2428 |
|
| 2429 |
* ACU_GndLhsAutomaton.hh (class ACU_GndLhsAutomaton): added data |
| 2430 |
member trueFailure |
| 2431 |
|
| 2432 |
* ACU_VarLhsAutomaton.cc (match): rewrote argVec case |
| 2433 |
(dump): dump trueFailure |
| 2434 |
|
| 2435 |
* ACU_VarLhsAutomaton.hh (class ACU_VarLhsAutomaton): added data |
| 2436 |
member trueFailure |
| 2437 |
|
| 2438 |
* ACU_VarLhsAutomaton.cc (ACU_VarLhsAutomaton): don't initialize |
| 2439 |
topSymbol or collapsePossible |
| 2440 |
(dump): don't dump topSymbol or collapsePossible |
| 2441 |
(match): use use getSymbol() and getCollapsePossible(); use new |
| 2442 |
collapse() convention |
| 2443 |
(match): fixed bug where we were returing false even though |
| 2444 |
assigning multiple things to stripper, or putting stuff in |
| 2445 |
extension or applying a membership might have produced a match. |
| 2446 |
(ACU_VarLhsAutomaton): initialize trueFailure |
| 2447 |
|
| 2448 |
* ACU_VarLhsAutomaton.hh (class ACU_VarLhsAutomaton): deleted data |
| 2449 |
members topSymbol and collapsePossible |
| 2450 |
|
| 2451 |
* ACU_GndLhsAutomaton.cc (match): use new collapse() convention |
| 2452 |
|
| 2453 |
* ACU_CollectorLhsAutomaton.hh (collapse): use getSymbol() |
| 2454 |
(class ACU_CollectorLhsAutomaton): updated decl for collapse() |
| 2455 |
|
| 2456 |
* ACU_GndLhsAutomaton.cc (ACU_GndLhsAutomaton): don't initialize |
| 2457 |
topSymbol or collapsePossible |
| 2458 |
(dump): don't dump topSymbol or collapsePossible |
| 2459 |
(match): fixed bug where we assumed red-black collect failing |
| 2460 |
implied no match, where as some of teh suff might have been put in |
| 2461 |
the extension |
| 2462 |
(match): use getSymbol() (two places) and getCollapsePossible() |
| 2463 |
|
| 2464 |
* ACU_GndLhsAutomaton.hh (class ACU_GndLhsAutomaton): deleted data |
| 2465 |
members topSymbol and collapsePossible |
| 2466 |
|
| 2467 |
* ACU_LhsAutomaton.hh (getSymbol): added |
| 2468 |
(getCollapsePossible): added |
| 2469 |
|
| 2470 |
* ACU_CollectorLhsAutomaton.cc (collect): major simplification; we |
| 2471 |
no longer try to do sort check as we build, instead we use |
| 2472 |
argVecComputeBaseSort() afterwards; this can lose in the case that |
| 2473 |
we are not in an error free component (argVecComputeBaseSort() has |
| 2474 |
to look at each arg) and we are not reduced (didn't need to have |
| 2475 |
th exact base sort); but it simplifies things greatly |
| 2476 |
(ACU_CollectorLhsAutomaton): swich of sort checks for kind |
| 2477 |
variables |
| 2478 |
|
| 2479 |
2003-03-05 Steven Eker <[email protected]> |
| 2480 |
|
| 2481 |
* ACU_Symbol.cc (computeBaseSort): complete rewrite using |
| 2482 |
argVecComputeBaseSort(); this fixes a nasty bug where we assumed |
| 2483 |
that ACU_DagNodes with getNormalizationStatus() == ASSIGNMENT |
| 2484 |
could not be in the error sort - no longer true since we allowed |
| 2485 |
variables at the kind level |
| 2486 |
|
| 2487 |
* ACU_DagNode.cc (argVecComputeBaseSort): unroll first iteration |
| 2488 |
of standand case loop to move initial case branch out of loop |
| 2489 |
|
| 2490 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 2491 |
argVecComputeBaseSort() |
| 2492 |
|
| 2493 |
* ACU_DagNode.cc (argVecComputeBaseSort): added |
| 2494 |
|
| 2495 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): deleted decl for |
| 2496 |
makeDelete(); updated decl for treeComputeBaseSort() |
| 2497 |
|
| 2498 |
* ACU_Symbol.cc (computeBaseSort): use new treeComputeBaseSort() |
| 2499 |
convention |
| 2500 |
|
| 2501 |
* ACU_TreeDagNode.cc (treeComputeBaseSort): return index of |
| 2502 |
computed sort rather than calling setSortIndex() |
| 2503 |
(makeDelete): deleted |
| 2504 |
|
| 2505 |
* ACU_CollectorLhsAutomaton.cc (collect): (tree version) use |
| 2506 |
treeComputeBaseSort(); don't use makeDelete(); use setSortIndex(); |
| 2507 |
don't use repudiateSortInfo() |
| 2508 |
|
| 2509 |
* ACU_Symbol.cc (computeBaseSort): use treeComputeBaseSort() |
| 2510 |
|
| 2511 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): updated decls for |
| 2512 |
recComputeBaseSort() and treeComputeBaseSort() |
| 2513 |
|
| 2514 |
* ACU_TreeDagNode.cc (computeBaseSort): computeMultBaseSort() -> |
| 2515 |
computeMultSortIndex(); computeBaseSort() -> computeSortIndex() (2 |
| 2516 |
places) |
| 2517 |
(computeBaseSort): becomes recComputeBaseSort() |
| 2518 |
(computeBaseSort): treeComputeBaseSort() |
| 2519 |
|
| 2520 |
* ACU_NonLinearLhsAutomaton.cc (treeMatch): computeMultBaseSort() |
| 2521 |
-> computeMultSortIndex() (2 places) |
| 2522 |
|
| 2523 |
* ACU_Symbol.hh (computeBaseSort): renamed to computeSortIndex() |
| 2524 |
to avoid confusion |
| 2525 |
(computeMultBaseSort): renamed to computeMultSortIndex() for the |
| 2526 |
sake on consistancy |
| 2527 |
|
| 2528 |
* ACU_TreeDagNode.cc (computeBaseSort): use new |
| 2529 |
computeMultBaseSort() calling convention |
| 2530 |
|
| 2531 |
* ACU_NonLinearLhsAutomaton.cc (treeMatch): use new |
| 2532 |
computeMultBaseSort() calling convention (2 places) |
| 2533 |
|
| 2534 |
* ACU_Symbol.hh (computeMultBaseSort): rewritten |
| 2535 |
(class ACU_Symbol): updated decl for computeMultBaseSort() |
| 2536 |
|
| 2537 |
2003-03-04 Steven Eker <[email protected]> |
| 2538 |
|
| 2539 |
* ACU_Term.hh (class ACU_Term): updated decl for |
| 2540 |
tryToMakeAlienAlienLhsAutomaton() |
| 2541 |
|
| 2542 |
* ACU_LhsCompiler0.cc (compileLhs2): use new alien-alien automata |
| 2543 |
convention |
| 2544 |
(tryToMakeAlienAlienLhsAutomaton): use new |
| 2545 |
ACU_AlienAlienLhsAutomaton() convention |
| 2546 |
|
| 2547 |
* ACU_AlienAlienLhsAutomaton.cc (ACU_AlienAlienLhsAutomaton): call |
| 2548 |
ACU_LhsAutomaton() |
| 2549 |
(match): call ACU_LhsAutomation::match() instead of fullMatch() |
| 2550 |
(dump): call ACU_LhsAutomaton::dump() rather than |
| 2551 |
HeuristicLhsAutomaton::dump() |
| 2552 |
|
| 2553 |
* ACU_AlienAlienLhsAutomaton.hh: derive from ACU_LhsAutomaton |
| 2554 |
rather than HeuristicLhsAutomaton; updated decl for ctor |
| 2555 |
|
| 2556 |
* ACU_CollectorLhsAutomaton.cc (dump): call |
| 2557 |
ACU_LhsAutomaton::dump() rather than HeuristicLhsAutomaton::dump() |
| 2558 |
|
| 2559 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): use new |
| 2560 |
ACU_GndLhsAutomaton() convention |
| 2561 |
(tryToMakeCollectorLhsAutomaton): use new ACU_VarLhsAutomaton() |
| 2562 |
convention |
| 2563 |
(tryToMakeCollectorLhsAutomaton): use new ACU_NGA_LhsAutomaton() |
| 2564 |
convention |
| 2565 |
(compileLhs2): use new compilation conventions for collector |
| 2566 |
automata |
| 2567 |
|
| 2568 |
* ACU_NGA_LhsAutomaton.cc (ACU_NGA_LhsAutomaton): use new |
| 2569 |
ACU_CollectorLhsAutomaton() convention |
| 2570 |
(match): call ACU_LhsAutomation::match() instead of fullMatch() (3 |
| 2571 |
places) |
| 2572 |
|
| 2573 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): updated |
| 2574 |
decl for ctor |
| 2575 |
|
| 2576 |
* ACU_VarLhsAutomaton.cc (ACU_VarLhsAutomaton): use new |
| 2577 |
ACU_CollectorLhsAutomaton() convention |
| 2578 |
(match): call ACU_LhsAutomation::match() instead of fullMatch() (2 |
| 2579 |
places) |
| 2580 |
|
| 2581 |
* ACU_VarLhsAutomaton.hh (class ACU_VarLhsAutomaton): updated decl |
| 2582 |
for ctor |
| 2583 |
|
| 2584 |
* ACU_GndLhsAutomaton.cc (ACU_GndLhsAutomaton): use new |
| 2585 |
ACU_CollectorLhsAutomaton() convention |
| 2586 |
(match): call ACU_LhsAutomation::match() instead of fullMatch() |
| 2587 |
|
| 2588 |
* ACU_GndLhsAutomaton.hh (class ACU_GndLhsAutomaton): updated decl |
| 2589 |
for ctor |
| 2590 |
|
| 2591 |
* ACU_CollectorLhsAutomaton.cc (ACU_CollectorLhsAutomaton): call |
| 2592 |
ACU_LhsAutomaton() |
| 2593 |
|
| 2594 |
* ACU_CollectorLhsAutomaton.hh (class ACU_CollectorLhsAutomaton): |
| 2595 |
derive from ACU_LhsAutomaton rather than HeuristicLhsAutomaton; |
| 2596 |
updated decl for ctor |
| 2597 |
|
| 2598 |
2003-03-03 Steven Eker <[email protected]> |
| 2599 |
|
| 2600 |
* ACU_LhsCompiler0.cc (compileLhs2): use new |
| 2601 |
ACU_NonLinearLhsAutomaton convention |
| 2602 |
(tryToMakeNonLinearLhsAutomaton): use new |
| 2603 |
ACU_NonLinearLhsAutomaton convention |
| 2604 |
|
| 2605 |
* ACU_NonLinearLhsAutomaton.cc (ACU_NonLinearLhsAutomaton): call |
| 2606 |
ACU_LhsAutomaton() |
| 2607 |
(treeMatch): call ACU_LhsAutomaton::match() instead of fullMatch() |
| 2608 |
(match): call ACU_LhsAutomaton::match() instead of fullMatch() |
| 2609 |
(dump): call instead ACU_LhsAutomaton::dump() of |
| 2610 |
HeuristicLhsAutomaton::dump() |
| 2611 |
|
| 2612 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 2613 |
derive from ACU_LhsAutomaton rather than HeuristicLhsAutomaton |
| 2614 |
(class ACU_NonLinearLhsAutomaton): updated decl for ctor |
| 2615 |
|
| 2616 |
* ACU_LhsCompiler1.cc (compileLhs3): don't return automaton |
| 2617 |
|
| 2618 |
* ACU_Term.hh (class ACU_Term): updated decl for compileLhs3() |
| 2619 |
|
| 2620 |
* ACU_LhsCompiler1.cc (compileLhs3): take ACU_LhsAutomaton rather |
| 2621 |
than creating it |
| 2622 |
|
| 2623 |
* ACU_LhsCompiler0.cc (compileLhs2): create ACU_LhsAutomaton; |
| 2624 |
use new compileLhs3() convention |
| 2625 |
|
| 2626 |
* ACU_LhsCompiler1.cc (compileLhs3): use new ACU_LhsAutomaton() |
| 2627 |
convention |
| 2628 |
|
| 2629 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): clear |
| 2630 |
uniqueCollapseAutomaton rather than setting it |
| 2631 |
|
| 2632 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated decl for |
| 2633 |
ctor; added decl for addUniqueCollapseAutomaton() |
| 2634 |
(addUniqueCollapseAutomaton): added |
| 2635 |
|
| 2636 |
2003-02-25 Steven Eker <[email protected]> |
| 2637 |
|
| 2638 |
* ACU_VarLhsAutomaton.cc: removed #pragma |
| 2639 |
(match): updated Assert() |
| 2640 |
|
| 2641 |
* ACU_VarLhsAutomaton.hh: removed #pragma |
| 2642 |
|
| 2643 |
* ACU_TreeDagNode.cc (computeBaseSort): updated Assert() |
| 2644 |
(treeToArgVec): updated Assert() |
| 2645 |
|
| 2646 |
* ACU_TreeDagArgumentIterator.cc (argument): updated Assert() |
| 2647 |
(next): updated Assert() |
| 2648 |
|
| 2649 |
* ACU_Term.cc: removed #pragma |
| 2650 |
(Term): updated Assert() |
| 2651 |
(normalizeAliensAndFlatten): updated Assert() |
| 2652 |
(compareArguments): updated Assert()s (both versions) |
| 2653 |
(insertAbstractionVariables): updated DebugAdvisoryCheck() |
| 2654 |
|
| 2655 |
* ACU_Term.hh: removed #pragma |
| 2656 |
|
| 2657 |
* ACU_Symbol.cc: removed #pragma |
| 2658 |
(makeDagNode): updated Assert() |
| 2659 |
(computeBaseSort): updated Assert()s |
| 2660 |
(normalizeAndComputeTrueSort): updated Assert() |
| 2661 |
|
| 2662 |
* ACU_Symbol.hh: removed #pragma |
| 2663 |
|
| 2664 |
* ACU_Subproblem.cc: removed #pragma |
| 2665 |
|
| 2666 |
* ACU_Subproblem.hh: removed #pragma |
| 2667 |
|
| 2668 |
* ACU_RhsAutomaton.cc: removed #pragma |
| 2669 |
(buildArguments): updated Assert()s |
| 2670 |
|
| 2671 |
* ACU_RhsAutomaton.hh: removed #pragma |
| 2672 |
|
| 2673 |
* ACU_NonLinearLhsAutomaton.cc: removed #pragma |
| 2674 |
(ACU_NonLinearLhsAutomaton): updated Assert() |
| 2675 |
(fillOutExtensionInfo): updated Assert() |
| 2676 |
(treeMatch): updated Assert()s |
| 2677 |
(match): updated Assert()s |
| 2678 |
|
| 2679 |
* ACU_NonLinearLhsAutomaton.hh: removed #pragma |
| 2680 |
|
| 2681 |
* ACU_NGA_LhsAutomaton.cc: removed #pragma |
| 2682 |
(match): updated Assert() |
| 2683 |
|
| 2684 |
* ACU_NGA_LhsAutomaton.hh: removed #pragma |
| 2685 |
|
| 2686 |
* ACU_MergeSort.cc (mergeSortAndUniquize): updated Assert() |
| 2687 |
|
| 2688 |
* ACU_Matcher.cc (eliminateGroundedOutAliens): updated Assert() |
| 2689 |
(forcedLoneVariableCase): updated Assert()s |
| 2690 |
(match): updated Assert()s |
| 2691 |
|
| 2692 |
* ACU_LhsCompiler3.cc (findGreedySequence): updated Assert() |
| 2693 |
|
| 2694 |
* ACU_LhsCompiler2.cc (compileAliensOnlyCase): updated Assert()s |
| 2695 |
(findConstraintPropagationSequence): updated Assert() |
| 2696 |
|
| 2697 |
* ACU_LhsCompiler1.cc (compileLhs3): updated Assert() |
| 2698 |
|
| 2699 |
* ACU_LhsAutomaton.cc: removed #pragma |
| 2700 |
(complete): updated Assert() |
| 2701 |
|
| 2702 |
* ACU_LhsAutomaton.hh: removed #pragma |
| 2703 |
|
| 2704 |
* ACU_GreedyMatcher.cc (greedyPureMatch): updated Assert()s |
| 2705 |
|
| 2706 |
* ACU_GndLhsAutomaton.cc: removed #pragma |
| 2707 |
(match): updated Assert() |
| 2708 |
|
| 2709 |
* ACU_GndLhsAutomaton.hh: removed #pragma |
| 2710 |
|
| 2711 |
* ACU_ExtensionInfo.cc (buildMatchedPortion): updated Assert()s |
| 2712 |
(convertToUnmatched): updated Assert()s |
| 2713 |
|
| 2714 |
* ACU_ExtensionInfo.hh (useUnmatched): updated Assert() |
| 2715 |
|
| 2716 |
* ACU_DagOperations.cc (findFirstOccurrence): updated Assert() |
| 2717 |
(findFirstPotentialMatch): updated Assert() |
| 2718 |
(binarySearch): updated Assert() (both versions) |
| 2719 |
|
| 2720 |
* ACU_DagNormalization.cc (extensionNormalizeAtTop): updated Assert() |
| 2721 |
|
| 2722 |
* ACU_DagNode.cc: removed #pragma |
| 2723 |
(compareArguments): updated Assert()s |
| 2724 |
(markArguments): updated Assert() |
| 2725 |
(copyWithReplacement): updated Assert() |
| 2726 |
(partialReplace): updated Assert()s |
| 2727 |
(partialConstruct): updated Assert() |
| 2728 |
|
| 2729 |
* ACU_DagNode.hh: removed #pragma |
| 2730 |
|
| 2731 |
* ACU_DagArgumentIterator.cc: removed #pragma |
| 2732 |
(argument): updated Assert() |
| 2733 |
(next): updated Assert() |
| 2734 |
|
| 2735 |
* ACU_DagArgumentIterator.hh: removed #pragma |
| 2736 |
|
| 2737 |
* ACU_CollectorLhsAutomaton.cc: removed #pragma |
| 2738 |
(collect): updated Assert()s |
| 2739 |
|
| 2740 |
* ACU_CollectorLhsAutomaton.hh: removed #pragma |
| 2741 |
|
| 2742 |
* ACU_CollapseMatcher.cc (uniqueCollapseMatch): updated Assert()s |
| 2743 |
(multiwayCollapseMatch): updated Assert()s |
| 2744 |
|
| 2745 |
* ACU_ArgumentIterator.cc: removed #pragma |
| 2746 |
(argument): updated Assert() |
| 2747 |
(next): updated Assert() |
| 2748 |
|
| 2749 |
* ACU_ArgumentIterator.hh: removed #pragma |
| 2750 |
|
| 2751 |
* ACU_AlienAlienLhsAutomaton.cc: removed #pragma |
| 2752 |
|
| 2753 |
* ACU_AlienAlienLhsAutomaton.hh: removed #pragma |
| 2754 |
|
| 2755 |
===================================Maude79=========================================== |
| 2756 |
|
| 2757 |
2003-02-20 Steven Eker <[email protected]> |
| 2758 |
|
| 2759 |
* ACU_Flatten.cc (flattenSortAndUniquize): use fastCopy(); handle |
| 2760 |
ACU_TreeDagNode* case; don't bother trying to combine flattened in |
| 2761 |
argument list with current run |
| 2762 |
(flattenSortAndUniquize): can't use fastCopy() after all - need to |
| 2763 |
multiply by multiplicity |
| 2764 |
(flattenSortAndUniquize): removed optimize involving d+1 as it |
| 2765 |
fails due to strict iterator checking |
| 2766 |
|
| 2767 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): don't treat |
| 2768 |
nrSourceArgs > 1 as a special case |
| 2769 |
(extensionNormalizeAtTop): fixed longstanding performance bug |
| 2770 |
where we were copying an argArray rather than taking its reference |
| 2771 |
(extensionNormalizeAtTop): handle ACU_TreeDagNode* case |
| 2772 |
|
| 2773 |
2003-02-13 Steven Eker <[email protected]> |
| 2774 |
|
| 2775 |
* ACU_Convert.cc (makeTree): don't use fast version of |
| 2776 |
ACU_RedBlackNode() since we don't have the maxMult value to hand |
| 2777 |
|
| 2778 |
2003-02-12 Steven Eker <[email protected]> |
| 2779 |
|
| 2780 |
* ACU_Flatten.cc (flattenSortAndUniquize): moved here |
| 2781 |
|
| 2782 |
* ACU_MergeSort.cc (mergeSortAndUniquize): moved here |
| 2783 |
(sortAndUniquize): moved here |
| 2784 |
|
| 2785 |
* ACU_Convert.cc (makeTree): added optional code for checking |
| 2786 |
red-black property |
| 2787 |
|
| 2788 |
* ACU_ExtensionInfo.cc (convertToUnmatched): reimplemented to |
| 2789 |
handle unmatched dag root case |
| 2790 |
|
| 2791 |
2003-02-11 Steven Eker <[email protected]> |
| 2792 |
|
| 2793 |
* ACU_ExtensionInfo.cc (copy): reimplemented to handle unmatched |
| 2794 |
dag root case |
| 2795 |
(makeClone): reimplemented to handle unmatched dag root case |
| 2796 |
(buildMatchedPortion): reimplemented to handle ACU_TreeDagNode |
| 2797 |
case |
| 2798 |
|
| 2799 |
* ACU_DagNode.hh (class ACU_DagNode): deleted decl for |
| 2800 |
makeExtensionInfo() |
| 2801 |
|
| 2802 |
* ACU_DagNode.cc (makeExtensionInfo): deleted |
| 2803 |
|
| 2804 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): deleted decl for |
| 2805 |
makeExtensionInfo() |
| 2806 |
|
| 2807 |
* ACU_TreeDagNode.cc (makeExtensionInfo): deleted |
| 2808 |
|
| 2809 |
* ACU_BaseDagNode.hh (class ACU_BaseDagNode): added decl for |
| 2810 |
makeExtensionInfo() |
| 2811 |
|
| 2812 |
* ACU_BaseDagNode.cc (makeExtensionInfo): added |
| 2813 |
|
| 2814 |
* ACU_TreeDagNode.cc (partialConstruct): reimplemented without |
| 2815 |
using treeToArgVec() |
| 2816 |
|
| 2817 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): deleted decls for |
| 2818 |
argVecToTree(), overwriteWithInsert() and makeTree() |
| 2819 |
|
| 2820 |
* ACU_TreeDagNode.cc (argVecToTree): deleted |
| 2821 |
(pow2min1): deleted |
| 2822 |
(makeTree): deleted |
| 2823 |
(overwriteWithInsert): deleted |
| 2824 |
|
| 2825 |
* ACU_NewNormalize.cc: deleted |
| 2826 |
|
| 2827 |
* ACU_Normalize.cc (insertAlien): use makeTree() in place of |
| 2828 |
argVecToTree() (2 places) |
| 2829 |
(insertAlien): use consInsert() in place of overwriteWithInsert() |
| 2830 |
(normalizeAtTop): use makeTree() in place of argVecToTree() |
| 2831 |
(normalizeAtTop): removed alternative merge case code |
| 2832 |
|
| 2833 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for makeTree() |
| 2834 |
(both versions) and pow2min1() |
| 2835 |
|
| 2836 |
* ACU_Convert.cc: created |
| 2837 |
|
| 2838 |
* ACU_Normalize.cc (insertAlien): use CONVERT_THRESHOLD |
| 2839 |
(insertAlien): fixed bug in alterate code when we fall below the |
| 2840 |
threshold |
| 2841 |
|
| 2842 |
* ACU_DagNode.hh (class ACU_DagNode): added MERGE_THRESHOLD to |
| 2843 |
enum Sizes; THRESHOLD -> CONVERT_THRESHOLD |
| 2844 |
|
| 2845 |
* ACU_Normalize.cc (normalizeAtTop): use MERGE_THRESHOLD |
| 2846 |
|
| 2847 |
2003-02-10 Steven Eker <[email protected]> |
| 2848 |
|
| 2849 |
* ACU_Normalize.cc (normalizeAtTop): don't convert back to |
| 2850 |
re-black ofer merging two red-black trees |
| 2851 |
|
| 2852 |
* ACU_NonLinearLhsAutomaton.cc (treeMatch): |
| 2853 |
setNormalizationStatus(ACU_DagNode::ASSIGNMENT) now that we are |
| 2854 |
extract hi mult arguments in order |
| 2855 |
|
| 2856 |
2003-02-07 Steven Eker <[email protected]> |
| 2857 |
|
| 2858 |
* ACU_DagNode.hh (class ACU_DagNode): added ctor decl for Pair |
| 2859 |
(Pair): added |
| 2860 |
(Pair): added default ctor |
| 2861 |
|
| 2862 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 2863 |
added data member matched |
| 2864 |
|
| 2865 |
* ACU_NonLinearLhsAutomaton.cc (treeMatch): rewritten |
| 2866 |
(match): use treeMatch() |
| 2867 |
|
| 2868 |
2003-02-06 Steven Eker <[email protected]> |
| 2869 |
|
| 2870 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 2871 |
added decl for treeMatch() |
| 2872 |
|
| 2873 |
* ACU_NonLinearLhsAutomaton.cc (treeMatch): added |
| 2874 |
|
| 2875 |
2003-02-05 Steven Eker <[email protected]> |
| 2876 |
|
| 2877 |
* ACU_TreeDagNode.cc (partialReplace): simplified using new |
| 2878 |
ACU_Extension interface |
| 2879 |
|
| 2880 |
* ACU_NonLinearLhsAutomaton.cc (match): use new ACU_Extension |
| 2881 |
interface |
| 2882 |
|
| 2883 |
* ACU_ExtensionInfo.hh (clearMatched): deleted |
| 2884 |
(addMatched): deleted |
| 2885 |
(getMatched): deleted |
| 2886 |
(clear): set unmatched to 0 rather than clearing matched |
| 2887 |
(reset): set unmatched to 0 rather than clearing matched |
| 2888 |
(class ACU_ExtensionInfo): deleted data member matched; added data |
| 2889 |
member unmatched |
| 2890 |
(setUnmatched): added DagNode* version |
| 2891 |
(getUnmatched): added DagNode* version |
| 2892 |
(useUnmatched): use unmatched |
| 2893 |
|
| 2894 |
2003-02-04 Steven Eker <[email protected]> |
| 2895 |
|
| 2896 |
* ACU_Symbol.cc: (complexStrategy): use new normalizeAtTop() (2 |
| 2897 |
places) |
| 2898 |
(reduceArgumentsAndNormalize): use new normalizeAtTop() |
| 2899 |
(eqRewrite): use new normalizeAtTop() |
| 2900 |
(memoStrategy): use new normalizeAtTop() (3 places) |
| 2901 |
(normalizeAndComputeTrueSort): use new normalizeAtTop() |
| 2902 |
|
| 2903 |
* ACU_DagNode.hh (class ACU_DagNode): added THRESHHOLD to enum Sizes |
| 2904 |
|
| 2905 |
* ACU_TreeDagNode.hh (class ACU_TreeDagNode): made ctor public |
| 2906 |
|
| 2907 |
* ACU_Normalize.cc (normalizeAtTop): reimplemented |
| 2908 |
(insertAlien): added |
| 2909 |
|
| 2910 |
2003-02-03 Steven Eker <[email protected]> |
| 2911 |
|
| 2912 |
* ACU_Normalize.cc: created |
| 2913 |
|
| 2914 |
* ACU_DagNode.hh (fastCopy): moved here |
| 2915 |
(fastCopy): added ACU_FastIter version |
| 2916 |
(class ACU_DagNode): added decls for additional versions of fastMerge() |
| 2917 |
|
| 2918 |
* ACU_FastMerge.cc: created |
| 2919 |
|
| 2920 |
* ACU_TreeDagNode.cc (markArguments): rewritten to do a preorder |
| 2921 |
traversal, ignoring marked red-black nodes |
| 2922 |
(partialReplace): added replacement == matched arg heuristic |
| 2923 |
|
| 2924 |
2003-01-31 Steven Eker <[email protected]> |
| 2925 |
|
| 2926 |
* ACU_NewNormalize.cc (normalizeAtTop): fixed stupid brace bug in |
| 2927 |
two red-black tree case |
| 2928 |
|
| 2929 |
* ACU_NonLinearLhsAutomaton.cc (match): fixed bug where we weren't |
| 2930 |
dealing with the case that we matched everything |
| 2931 |
|
| 2932 |
* ACU_TreeDagNode.cc (partialReplace): fixed bug where we were not |
| 2933 |
testing r->getMultiplicity() against 1 |
| 2934 |
|
| 2935 |
* ACU_NewNormalize.cc (normalizeAtTop): added code for two |
| 2936 |
red-black trees case |
| 2937 |
|
| 2938 |
* ACU_Term.cc (analyseCollapses): becomes analyseCollapses2() |
| 2939 |
|
| 2940 |
* ACU_Term.hh (class ACU_Term): analyseCollapses() -> |
| 2941 |
analyseCollapses2() |
| 2942 |
|
| 2943 |
* ACU_TreeDagArgumentIterator.cc: moved here |
| 2944 |
|
| 2945 |
* ACU_TreeDagArgumentIterator.hh: moved here |
| 2946 |
|
| 2947 |
* ACU_TreeDagNode.cc: moved here |
| 2948 |
|
| 2949 |
* ACU_TreeDagNode.hh: moved here |
| 2950 |
|
| 2951 |
* ACU_Theory.hh: added fwd decls for ACU_TreeDagNode and |
| 2952 |
ACU_TreeDagArgumentIterator |
| 2953 |
|
| 2954 |
2003-01-30 Steven Eker <[email protected]> |
| 2955 |
|
| 2956 |
* ACU_CollectorLhsAutomaton.cc (collect): ACU_SlowIter -> |
| 2957 |
ACU_Stack |
| 2958 |
|
| 2959 |
* ACU_CollectorLhsAutomaton.hh (class ACU_CollectorLhsAutomaton): |
| 2960 |
ACU_SlowIter -> ACU_Stack |
| 2961 |
|
| 2962 |
* ACU_NGA_LhsAutomaton.cc (match): use |
| 2963 |
ACU_RedBlackNode::findFirstPotentialMatch rather than |
| 2964 |
ACU_TreeDagNode::findFirstPotentialMatch |
| 2965 |
|
| 2966 |
2003-01-29 Steven Eker <[email protected]> |
| 2967 |
|
| 2968 |
* ACU_VarLhsAutomaton.cc (match): getArgument() -> getDagNode() |
| 2969 |
|
| 2970 |
* ACU_Term.cc (compareArguments): getArgument() -> getDagNode() |
| 2971 |
|
| 2972 |
* ACU_NonLinearLhsAutomaton.cc (match): getArgument() -> |
| 2973 |
getDagNode() |
| 2974 |
|
| 2975 |
* ACU_NGA_LhsAutomaton.cc (match): getArgument() -> getDagNode() |
| 2976 |
(2 places) |
| 2977 |
|
| 2978 |
* ACU_DagNode.cc (compareArguments): getArgument() -> getDagNode() |
| 2979 |
|
| 2980 |
2003-01-28 Steven Eker <[email protected]> |
| 2981 |
|
| 2982 |
* ACU_ExtensionInfo.hh (class ACU_ExtensionInfo): added decl for |
| 2983 |
convertToUnmatched() |
| 2984 |
|
| 2985 |
* ACU_ExtensionInfo.cc (convertToUnmatched): added |
| 2986 |
|
| 2987 |
* ACU_ExtensionInfo.hh (useUnmatched): added |
| 2988 |
|
| 2989 |
* ACU_NewNormalize.cc (normalizeAtTop): use isTree() (2 places) |
| 2990 |
|
| 2991 |
* ACU_DagNode.cc (getACU_DagNode): use isTree() |
| 2992 |
|
| 2993 |
* ACU_NonLinearLhsAutomaton.cc (match): added red-black case |
| 2994 |
|
| 2995 |
2003-01-27 Steven Eker <[email protected]> |
| 2996 |
|
| 2997 |
* ACU_VarLhsAutomaton.cc (match): added red-black case |
| 2998 |
|
| 2999 |
* ACU_GndLhsAutomaton.cc (match): added red-black case |
| 3000 |
|
| 3001 |
* ACU_NGA_LhsAutomaton.cc (match): fixed if nesting bug; it hadn't |
| 3002 |
bitten because collect() seldom return false; |
| 3003 |
|
| 3004 |
* ACU_Symbol.cc (eqRewrite): use isTree() |
| 3005 |
|
| 3006 |
* ACU_NGA_LhsAutomaton.cc (match): use isTree() |
| 3007 |
|
| 3008 |
* ACU_ExtensionInfo.hh (clear): use getSize() |
| 3009 |
(reset): use getSize() |
| 3010 |
(clearMatched): added |
| 3011 |
|
| 3012 |
* ACU_BaseDagNode.cc: created |
| 3013 |
|
| 3014 |
* ACU_ExtensionInfo.hh (ACU_ExtensionInfo): take ACU_BaseDagNode* |
| 3015 |
(class ACU_ExtensionInfo): added struct Matched and data member |
| 3016 |
matched |
| 3017 |
|
| 3018 |
2003-01-23 Steven Eker <[email protected]> |
| 3019 |
|
| 3020 |
* ACU_DagNode.cc (compareArguments): rewritten to use left to |
| 3021 |
right comparison and handle ACU_TreeDagNodes |
| 3022 |
|
| 3023 |
* ACU_Term.cc (compareArguments): (DagNode* version) rewritten to |
| 3024 |
use left to right comparison and handle ACU_TreeDagNodes |
| 3025 |
(compareArguments): (Term*) rewritten to use iterators and left to |
| 3026 |
right comparison |
| 3027 |
|
| 3028 |
2003-01-22 Steven Eker <[email protected]> |
| 3029 |
|
| 3030 |
* ACU_BaseDagNode.hh (isTree): added |
| 3031 |
|
| 3032 |
2003-01-14 Steven Eker <[email protected]> |
| 3033 |
|
| 3034 |
* ACU_Symbol.cc (eqRewrite): fixed casting bug in tree case |
| 3035 |
|
| 3036 |
2003-01-13 Steven Eker <[email protected]> |
| 3037 |
|
| 3038 |
* ACU_Symbol.hh (computeBaseSort): added |
| 3039 |
(computeMultBaseSort): added |
| 3040 |
|
| 3041 |
* ACU_ExtensionInfo.hh (ACU_ExtensionInfo): added ACU_TreeDagNode* |
| 3042 |
version |
| 3043 |
|
| 3044 |
* ACU_Symbol.cc (eqRewrite): handle TREE case |
| 3045 |
|
| 3046 |
* ACU_CollectorLhsAutomaton.cc (collect): added ACU_TreeDagNode* |
| 3047 |
version |
| 3048 |
|
| 3049 |
2003-01-12 Steven Eker <[email protected]> |
| 3050 |
|
| 3051 |
* ACU_NGA_LhsAutomaton.cc (match): added support for |
| 3052 |
ACU_TreeDagNodes |
| 3053 |
|
| 3054 |
* ACU_CollectorLhsAutomaton.hh (class ACU_CollectorLhsAutomaton): |
| 3055 |
added decl for ACU_TreeDagNode* version of collect |
| 3056 |
|
| 3057 |
2003-01-10 Steven Eker <[email protected]> |
| 3058 |
|
| 3059 |
* ACU_Symbol.cc (eqRewrite): rewritten to use new normalizeAtTop() |
| 3060 |
|
| 3061 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for new version |
| 3062 |
of normalizeAtTop() |
| 3063 |
|
| 3064 |
* ACU_NewNormalize.cc: created |
| 3065 |
|
| 3066 |
* ACU_DagNode.cc (getACU_DagNode): made into a global function |
| 3067 |
|
| 3068 |
* ACU_DagNode.hh (class ACU_DagNode): made getACU_DagNode() a |
| 3069 |
friend function rather than a static member function |
| 3070 |
|
| 3071 |
* ACU_VarLhsAutomaton.cc (match): used getACU_DagNode() |
| 3072 |
|
| 3073 |
* ACU_Term.cc (compareArguments): used getACU_DagNode() + |
| 3074 |
const_cast<DagNode*>() |
| 3075 |
|
| 3076 |
* ACU_Subproblem.cc (solveVariables): used getACU_DagNode() |
| 3077 |
|
| 3078 |
* ACU_NonLinearLhsAutomaton.cc (match): used getACU_DagNode() |
| 3079 |
|
| 3080 |
* ACU_NGA_LhsAutomaton.cc (match): used getACU_DagNode() |
| 3081 |
|
| 3082 |
* ACU_Matcher.cc (match): used getACU_DagNode() |
| 3083 |
|
| 3084 |
* ACU_GndLhsAutomaton.cc (match): used getACU_DagNode() |
| 3085 |
|
| 3086 |
* ACU_AlienAlienLhsAutomaton.cc (match): used getACU_DagNode() |
| 3087 |
|
| 3088 |
* ACU_Term.hh (symbol): replaced static_cast<ACU_Symbol>() with |
| 3089 |
safeCast() |
| 3090 |
|
| 3091 |
* ACU_Symbol.cc (ruleRewrite): used getACU_DagNode() |
| 3092 |
(reduceArgumentsAndNormalize): used getACU_DagNode() |
| 3093 |
(eqRewrite): used getACU_DagNode() |
| 3094 |
(complexStrategy): used getACU_DagNode() |
| 3095 |
(memoStrategy): used getACU_DagNode() |
| 3096 |
(computeBaseSort): used getACU_DagNode() |
| 3097 |
(normalizeAndComputeTrueSort): used getACU_DagNode() |
| 3098 |
(stackArguments): used getACU_DagNode() |
| 3099 |
|
| 3100 |
* ACU_DagNormalization.cc (flattenSortAndUniquize): used |
| 3101 |
getACU_DagNode() |
| 3102 |
(normalizeAtTop): used getACU_DagNode() in many places |
| 3103 |
(extensionNormalizeAtTop): used getACU_DagNode() |
| 3104 |
|
| 3105 |
* ACU_DagOperations.cc (eliminateSubject): use getACU_DagNode() |
| 3106 |
rather than static_cast<ACU_DagNode*> |
| 3107 |
|
| 3108 |
* ACU_DagNode.cc (compareArguments): handle TREE case |
| 3109 |
|
| 3110 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 3111 |
getACU_DagNode() |
| 3112 |
|
| 3113 |
* ACU_DagNode.cc (getACU_DagNode): added |
| 3114 |
|
| 3115 |
2003-01-08 Steven Eker <[email protected]> |
| 3116 |
|
| 3117 |
* ACU_Symbol.cc (eqRewrite): added crude hack to see if we can |
| 3118 |
convert to re-black form and back |
| 3119 |
|
| 3120 |
* ACU_DagNode.hh (class ACU_DagNode): made ACU_TreeDagNode a friend |
| 3121 |
|
| 3122 |
* ACU_Theory.hh: added ACU_BaseDagNode; |
| 3123 |
|
| 3124 |
* ACU_DagNode.cc (~ACU_DagNode): deleted |
| 3125 |
|
| 3126 |
* ACU_DagNode.hh (class ACU_DagNode): rewritten, deriving from |
| 3127 |
ACU_BaseDagNode |
| 3128 |
|
| 3129 |
* ACU_BaseDagNode.hh: created |
| 3130 |
|
| 3131 |
2003-01-07 Steven Eker <[email protected]> |
| 3132 |
|
| 3133 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): use new |
| 3134 |
ACU_NGA_LhsAutomaton() convention |
| 3135 |
|
| 3136 |
* ACU_NGA_LhsAutomaton.cc (ACU_NGA_LhsAutomaton): replaced |
| 3137 |
stripperTopSymbol with stripperTerm |
| 3138 |
(match): rewritten using stripperTerm |
| 3139 |
(dump): sump stripperTerm |
| 3140 |
|
| 3141 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): replaced |
| 3142 |
stripperTopSymbol with stripperTerm |
| 3143 |
(class ACU_NGA_LhsAutomaton): updated decl for |
| 3144 |
ACU_NGA_LhsAutomaton() |
| 3145 |
|
| 3146 |
* ACU_GreedyMatcher.cc (greedyMatch): use partialCompare() and |
| 3147 |
findFirstPotentialMatch() |
| 3148 |
|
| 3149 |
* ACU_Matcher.cc (eliminateGroundedOutAliens): use |
| 3150 |
partialCompare() and findFirstPotentialMatch() |
| 3151 |
(aliensOnlyMatch): use partialCompare() and |
| 3152 |
findFirstPotentialMatch() |
| 3153 |
(buildBipartiteGraph): use partialCompare() and |
| 3154 |
findFirstPotentialMatch() |
| 3155 |
|
| 3156 |
* ACU_LhsAutomaton.cc (addGroundedOutAlien): assign to term rather |
| 3157 |
than topSymbol |
| 3158 |
(addNonGroundAlien): assign to term rather than topSymbol |
| 3159 |
|
| 3160 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): term replaces |
| 3161 |
topSymbol in struct NonGroundAlien |
| 3162 |
|
| 3163 |
* ACU_DagOperations.cc (findFirstPotentialMatch): added |
| 3164 |
|
| 3165 |
===================================Maude78================================================== |
| 3166 |
|
| 3167 |
2003-01-02 Steven Eker <[email protected]> |
| 3168 |
|
| 3169 |
* ACU_Term.hh (class ACU_Term): updated decl for |
| 3170 |
tryToMakeCollectorLhsAutomaton() |
| 3171 |
|
| 3172 |
* ACU_LhsCompiler0.cc (compileLhs2): use new |
| 3173 |
tryToMakeCollectorLhsAutomaton() calling convention |
| 3174 |
(tryToMakeCollectorLhsAutomaton): Allow collector variable to |
| 3175 |
occur in context and/or condition as long as stripper is a ground |
| 3176 |
term and we have no extension. This is ok because the ground term |
| 3177 |
must strip exactly one occurence of itself from subject with the |
| 3178 |
rest of the subject providing a unique binding for the collector |
| 3179 |
|
| 3180 |
2002-12-20 Steven Eker <[email protected]> |
| 3181 |
|
| 3182 |
* ACU_CollectorLhsAutomaton.cc (collect): optimized no sort check |
| 3183 |
case |
| 3184 |
(collect): optimized sort check case |
| 3185 |
|
| 3186 |
2002-12-19 Steven Eker <[email protected]> |
| 3187 |
|
| 3188 |
* ACU_DagOperations.cc (binarySearch): (Term* version): use |
| 3189 |
setOnLs(), setOnGeq() |
| 3190 |
|
| 3191 |
2002-12-17 Steven Eker <[email protected]> |
| 3192 |
|
| 3193 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 3194 |
handleElementVariables() |
| 3195 |
|
| 3196 |
* ACU_Matcher.cc (handleElementVariables): added |
| 3197 |
(fullMatch): use handleElementVariables() |
| 3198 |
(buildBipartiteGraph): don't handle element variables here |
| 3199 |
|
| 3200 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): rewritten using |
| 3201 |
resizeWithoutPreservation() |
| 3202 |
(fastMerge): rewritten using resizeWithoutPreservation() |
| 3203 |
|
| 3204 |
2002-12-16 Steven Eker <[email protected]> |
| 3205 |
|
| 3206 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): use fastCopy() in |
| 3207 |
place of STL copy() (3 places) |
| 3208 |
(fastMerge): use use fastCopy() in place of STL copy() (2 places) |
| 3209 |
|
| 3210 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for fastCopy() |
| 3211 |
|
| 3212 |
* ACU_DagNormalization.cc (fastCopy): added |
| 3213 |
|
| 3214 |
* ACU_DagNode.cc (markArguments): rewritten to avoid seperate |
| 3215 |
iteration count |
| 3216 |
|
| 3217 |
2002-11-22 Steven Eker <[email protected]> |
| 3218 |
|
| 3219 |
* ACU_Subproblem.hh (class ACU_Subproblem): added decl for |
| 3220 |
noVariableCase(); updated decl for oneVariableCase() |
| 3221 |
|
| 3222 |
* ACU_Subproblem.cc (noVariableCase): added |
| 3223 |
(oneVariableCase): generalized to handle the case where there may |
| 3224 |
be multiple varibales but only one is unbound |
| 3225 |
(extractDiophantineSystem): rewritten to handle a number of |
| 3226 |
special cases efficiently |
| 3227 |
|
| 3228 |
* ACU_Matcher.cc (buildBipartiteGraph): use new addEdge() calling |
| 3229 |
convention |
| 3230 |
(buildBipartiteGraph): use new addEdge() calling convention |
| 3231 |
|
| 3232 |
* ACU_Subproblem.hh (class ACU_Subproblem): updated decl for |
| 3233 |
addEdge() |
| 3234 |
|
| 3235 |
* ACU_Subproblem.cc (addEdge): take difference rather than global |
| 3236 |
and local bindings |
| 3237 |
|
| 3238 |
2002-11-21 Steven Eker <[email protected]> |
| 3239 |
|
| 3240 |
* ACU_Matcher.cc (buildBipartiteGraph): fixed bug we introduced by |
| 3241 |
checking for matchable outside of the right scope |
| 3242 |
|
| 3243 |
* ACU_Subproblem.hh (class ACU_Subproblem): updated decl for |
| 3244 |
addPatternNode() |
| 3245 |
|
| 3246 |
* ACU_Subproblem.cc (addPatternNode): return index to created |
| 3247 |
pattern node |
| 3248 |
|
| 3249 |
* ACU_Matcher.cc (buildBipartiteGraph): treat unbound variables |
| 3250 |
that take exactly one subject as non-ground aliens |
| 3251 |
(fullMatch): don't treat unbound variables that take exactly one |
| 3252 |
subject as top variables |
| 3253 |
|
| 3254 |
2002-11-20 Steven Eker <[email protected]> |
| 3255 |
|
| 3256 |
* ACU_DagNode.cc (matchVariableWithExtension): now check & use |
| 3257 |
sort bound |
| 3258 |
|
| 3259 |
2002-11-19 Steven Eker <[email protected]> |
| 3260 |
|
| 3261 |
* ACU_Subproblem.cc (oneVariableCase): partly optimized using |
| 3262 |
iterators |
| 3263 |
|
| 3264 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): rewritten using |
| 3265 |
iterators and copy() algorithm template |
| 3266 |
(copyAndBinaryInsert): put back missing expandBy() |
| 3267 |
(fastMerge):rewritten using iterators and copy() algorithm |
| 3268 |
template |
| 3269 |
|
| 3270 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 3271 |
updated decl for fillOutExtensionInfo() |
| 3272 |
|
| 3273 |
* ACU_NonLinearLhsAutomaton.cc (match): rewritten using iterators |
| 3274 |
to replace CONST_ARG_VEC_HACK() |
| 3275 |
(fillOutExtensionInfo): pass chosen as a const |
| 3276 |
ArgVec<ACU_DagNode::Pair>::const_iterator |
| 3277 |
(match): new fillOutExtensionInfo() calling convention |
| 3278 |
|
| 3279 |
2002-11-18 Steven Eker <[email protected]> |
| 3280 |
|
| 3281 |
* ACU_DagOperations.cc (findFirstOccurrence): replaced |
| 3282 |
CONST_ARG_VEC_HACK() with const_iterator |
| 3283 |
(binarySearch): (both versions) replaced CONST_ARG_VEC_HACK() with |
| 3284 |
const_iterator |
| 3285 |
|
| 3286 |
* ACU_Matcher.cc (multiplicityChecks): rewritten using |
| 3287 |
const_iterator in place of CONST_ARG_VEC_HACK() |
| 3288 |
|
| 3289 |
* ACU_NonLinearLhsAutomaton.cc (fillOutExtensionInfo): rewritten |
| 3290 |
using const_iterator in place of CONST_ARG_VEC_HACK() |
| 3291 |
|
| 3292 |
* ACU_DagNode.cc (compareArguments): need to iterate backwards for |
| 3293 |
consistancy |
| 3294 |
|
| 3295 |
* ACU_RhsAutomaton.cc (buildArguments): rewritten using iterator |
| 3296 |
in place of ARG_VEC_HACK() |
| 3297 |
|
| 3298 |
* ACU_DagNode.cc (compareArguments): rewritten using |
| 3299 |
iterators in place of CONST_ARG_VEC_HACK()s |
| 3300 |
(partialReplace): rewritten using |
| 3301 |
CONST_ARG_VEC_HACK()/ARG_VEC_HACK() |
| 3302 |
|
| 3303 |
* ACU_CollectorLhsAutomaton.cc (collect): rewritten using |
| 3304 |
itterators in place of CONST_ARG_VEC_HACK()/ARG_VEC_HACK() |
| 3305 |
|
| 3306 |
===================================Maude77================================================== |
| 3307 |
|
| 3308 |
2002-11-07 Steven Eker <[email protected]> |
| 3309 |
|
| 3310 |
* ACU_Subproblem.cc (solveVariables): |
| 3311 |
DagNode::okToCollectGarbage() -> MemoryCell::okToCollectGarbage() |
| 3312 |
|
| 3313 |
2002-11-06 Steven Eker <[email protected]> |
| 3314 |
|
| 3315 |
* ACU_Subproblem.cc (oneVariableCase): try using set() rather |
| 3316 |
than Pair(); on sparc this saves 1 ld instruction in loop - wins |
| 3317 |
under quantify but loses in actual run - must be a sparc |
| 3318 |
scheduling problem |
| 3319 |
|
| 3320 |
* ACU_DagNode.hh (Pair): deleted as it loses |
| 3321 |
(set): added |
| 3322 |
|
| 3323 |
* ACU_Subproblem.cc (oneVariableCase): use ACU_DagNode::Pair() to |
| 3324 |
see if enables g++ to generate better code |
| 3325 |
|
| 3326 |
* ACU_DagNode.hh (Pair): added |
| 3327 |
|
| 3328 |
* ACU_Subproblem.hh (class ACU_Subproblem): added decl for |
| 3329 |
oneVariableCase() and updated decl for extractDiophantineSystem() |
| 3330 |
|
| 3331 |
* ACU_Subproblem.cc (oneVariableCase): added |
| 3332 |
(extractDiophantineSystem): use oneVariableCase(); take |
| 3333 |
RewritingContext& since we need to pass it to oneVariableCase() |
| 3334 |
|
| 3335 |
2002-11-05 Steven Eker <[email protected]> |
| 3336 |
|
| 3337 |
* ACU_Subproblem.cc (extractDiophantineSystem): deleted |
| 3338 |
excessively cute trivial case code; if we have no subjects but can |
| 3339 |
succeed by binding unbound variables to the identity, do the |
| 3340 |
binding here rather than in solveVariables() |
| 3341 |
(solveVariables): don't do identity binding in null system case; |
| 3342 |
code reorganized to share unbinding loop |
| 3343 |
(extractDiophantineSystem): use clear() |
| 3344 |
|
| 3345 |
* ACU_Matcher.cc (multiplicityChecks): replaced VECTOR_HACK() with |
| 3346 |
Vector<int>::iterator |
| 3347 |
|
| 3348 |
* ACU_RhsAutomaton.cc (buildArguments): replaced |
| 3349 |
CONST_VECTOR_HACK() with Vector<Argument>::const_iterator |
| 3350 |
|
| 3351 |
2002-10-28 Steven Eker <[email protected]> |
| 3352 |
|
| 3353 |
* ACU_LhsCompiler0.cc (compileLhs2): added DebugAdvisory() for |
| 3354 |
when we fail to produce heuristic ACU automaton |
| 3355 |
|
| 3356 |
2002-10-16 Steven Eker <[email protected]> |
| 3357 |
|
| 3358 |
* ACU_Symbol.hh (class ACU_Symbol): postInterSymbolPass() -> |
| 3359 |
postOpDeclarationPass() |
| 3360 |
|
| 3361 |
* ACU_Symbol.cc (postInterSymbolPass): becomes |
| 3362 |
postOpDeclarationPass() since sort tables arem't computed at |
| 3363 |
postInterSymbolPass time |
| 3364 |
|
| 3365 |
2002-10-07 Steven Eker <[email protected]> |
| 3366 |
|
| 3367 |
* ACU_DagNode.cc (copyWithReplacement): complex version: rewritten |
| 3368 |
to fix a serious bug where we were relying on unstackable flags to |
| 3369 |
figure out when args had been stacked and needed |
| 3370 |
replacement. Since unstackable flags can be set after stacking |
| 3371 |
this approach fails badly, corrupting the dag node |
| 3372 |
|
| 3373 |
2002-10-04 Steven Eker <[email protected]> |
| 3374 |
|
| 3375 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for the more |
| 3376 |
complex copyWithReplacement() |
| 3377 |
|
| 3378 |
* ACU_DagNode.cc (copyWithReplacement): rewritten to handle |
| 3379 |
situation where only some args are stacked. |
| 3380 |
|
| 3381 |
* ACU_Symbol.cc (stackArguments): we no longer stack all |
| 3382 |
arguments; if we have frozen arguments we don't stack anything; |
| 3383 |
otherwise we stack only those arguments that have not been flagged |
| 3384 |
as unstackable |
| 3385 |
|
| 3386 |
2002-10-03 Steven Eker <[email protected]> |
| 3387 |
|
| 3388 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 3389 |
stackArguments() |
| 3390 |
|
| 3391 |
* ACU_DagNode.cc (stackArguments): handle respectFrozen argument |
| 3392 |
|
| 3393 |
===================================Maude76================================================== |
| 3394 |
|
| 3395 |
2002-08-02 Steven Eker <[email protected]> |
| 3396 |
|
| 3397 |
* ACU_Term.cc (compileRhs2): added code to flag last use of each |
| 3398 |
source |
| 3399 |
|
| 3400 |
2002-07-24 Steven Eker <[email protected]> |
| 3401 |
|
| 3402 |
* ACU_LhsCompiler3.cc (findLongestIncreasingSequence): same as |
| 3403 |
below |
| 3404 |
|
| 3405 |
* ACU_LhsCompiler0.cc (tryToMakeAlienAlienLhsAutomaton): pass |
| 3406 |
sameVariableSet = true to calls of subsumes() since both subterms |
| 3407 |
are from the same pattern |
| 3408 |
|
| 3409 |
===================================Maude74================================================== |
| 3410 |
|
| 3411 |
2002-05-13 Steven Eker <[email protected]> |
| 3412 |
|
| 3413 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for multiplicities |
| 3414 |
version of makeDagNode() |
| 3415 |
|
| 3416 |
* ACU_Symbol.cc (makeDagNode): added multiplicities version; this |
| 3417 |
is so that derived symbol classes can build new AC_DagNodes from |
| 3418 |
old ones with reasonable efficiency |
| 3419 |
|
| 3420 |
2002-05-10 Steven Eker <[email protected]> |
| 3421 |
|
| 3422 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for |
| 3423 |
reduceArgumentsAndNormalize() |
| 3424 |
(class ACU_Symbol): added defaults for strategy and memo args |
| 3425 |
|
| 3426 |
* ACU_Symbol.cc (reduceArgumentsAndNormalize): added; this is a |
| 3427 |
special purpose function the all ACU builtin symbols to get an ACU |
| 3428 |
dag in normal form |
| 3429 |
|
| 3430 |
===================================Maude72================================================== |
| 3431 |
|
| 3432 |
2002-03-11 Steven Eker <[email protected]> |
| 3433 |
|
| 3434 |
* ACU_Term.cc: deleted explicit template instantiation |
| 3435 |
|
| 3436 |
* ACU_Subproblem.cc: deleted explicit template instantiation |
| 3437 |
|
| 3438 |
* ACU_RhsAutomaton.cc: deleted explicit template instantiation |
| 3439 |
|
| 3440 |
* ACU_DagNode.cc: deleted explicit template instantiation |
| 3441 |
|
| 3442 |
* ACU_LhsAutomaton.cc: deleted explicit template instantiations |
| 3443 |
|
| 3444 |
===================================Maude71================================================== |
| 3445 |
|
| 3446 |
2001-12-10 Steven Eker <[email protected]> |
| 3447 |
|
| 3448 |
* ACU_DagNode.hh (class ACU_DagNode): made class |
| 3449 |
ACU_DagArgumentIterator a friend |
| 3450 |
|
| 3451 |
* ACU_Term.hh (class ACU_Term): made class ACU_ArgumentIterator a |
| 3452 |
friend |
| 3453 |
|
| 3454 |
===================================Maude69================================================== |
| 3455 |
|
| 3456 |
2001-04-03 Steven Eker <[email protected]> |
| 3457 |
|
| 3458 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 3459 |
Vector<RedexPosition> version of copyWithReplacement() |
| 3460 |
|
| 3461 |
* ACU_DagNode.cc (copyWithReplacement): added |
| 3462 |
(Vector<RedexPosition> version) |
| 3463 |
|
| 3464 |
===================================Engine66================================================== |
| 3465 |
|
| 3466 |
2001-03-08 Steven Eker <[email protected]> |
| 3467 |
|
| 3468 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for |
| 3469 |
stackArguments() |
| 3470 |
|
| 3471 |
* ACU_Symbol.cc (stackArguments): added |
| 3472 |
|
| 3473 |
===================================Engine65================================================== |
| 3474 |
|
| 3475 |
2001-01-26 Steven Eker <[email protected]> |
| 3476 |
|
| 3477 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 3478 |
markArguments() and made it private |
| 3479 |
|
| 3480 |
* ACU_DagNode.cc (markArguments): rewritten with new semantics |
| 3481 |
|
| 3482 |
===================================Engine64================================================== |
| 3483 |
|
| 3484 |
2000-08-02 Steven Eker <[email protected]> |
| 3485 |
|
| 3486 |
* ACU_DagNode.cc (matchVariableWithExtension): don't pass |
| 3487 |
inErrorSort arg to ACU_Subproblem() |
| 3488 |
|
| 3489 |
* ACU_Subproblem.cc (ACU_Subproblem): no longer take inErrorSort |
| 3490 |
arg |
| 3491 |
(dump): don't dump inErrorSort data member |
| 3492 |
(solveVariables): don't test inErrorSort (2 places) |
| 3493 |
|
| 3494 |
* ACU_Subproblem.hh (class ACU_Subproblem): ctor decl no longer |
| 3495 |
has inErrorSort flag |
| 3496 |
(class ACU_Subproblem): deleted data member inErrorSort |
| 3497 |
|
| 3498 |
* ACU_Matcher.cc (buildBipartiteGraph): don't pass inErrorSort |
| 3499 |
flag to ACU_Subproblem() |
| 3500 |
|
| 3501 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): don't take inErrorSort |
| 3502 |
arg |
| 3503 |
(dump): don't dump inErrorSort data member |
| 3504 |
|
| 3505 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): deleted data |
| 3506 |
member inErrorSort |
| 3507 |
(class ACU_LhsAutomaton): updared ctor decl |
| 3508 |
|
| 3509 |
* ACU_LhsCompiler1.cc (compileLhs3): no longer care if pattern is |
| 3510 |
in error sort; don't pass inErrorSort flags to ACU_LhsAutomaton() |
| 3511 |
|
| 3512 |
* ACU_LhsCompiler0.cc (compileLhs2): no longer care if pattern is |
| 3513 |
in error sort |
| 3514 |
(tryToMakeNonLinearLhsAutomaton): no longer care if pattern is |
| 3515 |
in error sort |
| 3516 |
|
| 3517 |
* ACU_Symbol.cc (complexStrategy): greatly simplified now that we |
| 3518 |
no longer treat last strategy zero specially when term is in the |
| 3519 |
error sort |
| 3520 |
(memoStrategy): ditto |
| 3521 |
|
| 3522 |
* ACU_DagNode.hh (class ACU_DagNode): assumption "our sort |
| 3523 |
(which may not be known) is not the error sort." for the |
| 3524 |
ASSIGNMENT case is no longer true |
| 3525 |
|
| 3526 |
2000-07-31 Steven Eker <[email protected]> |
| 3527 |
|
| 3528 |
* ACU_Symbol.cc (computeBaseSort): don't handle union sorts |
| 3529 |
|
| 3530 |
===================================Engine61================================================== |
| 3531 |
|
| 3532 |
2000-07-28 Steven Eker <[email protected]> |
| 3533 |
|
| 3534 |
* ACU_RhsAutomaton.cc (remapIndices): added |
| 3535 |
|
| 3536 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): added decl for |
| 3537 |
remapIndices() |
| 3538 |
|
| 3539 |
2000-07-26 Steven Eker <[email protected]> |
| 3540 |
|
| 3541 |
* ACU_LhsCompiler1.cc (compileLhs3): use |
| 3542 |
getNrProtectedVariables() instead of nrVariables() |
| 3543 |
|
| 3544 |
* ACU_LhsCompiler0.cc (tryToMakeAlienAlienLhsAutomaton): use |
| 3545 |
getNrProtectedVariables() instead of nrVariables() |
| 3546 |
(tryToMakeCollectorLhsAutomaton): use getNrProtectedVariables() |
| 3547 |
instead of nrVariables() |
| 3548 |
|
| 3549 |
* ACU_Term.cc (insertAbstractionVariables): use |
| 3550 |
makeProtectedVariable() instead of makeAbstractionVariable() |
| 3551 |
(compileRhs2): use makeConstructionIndex() instead of |
| 3552 |
allocateIndex() |
| 3553 |
|
| 3554 |
2000-07-25 Steven Eker <[email protected]> |
| 3555 |
|
| 3556 |
* ACU_Term.cc (findAvailableTerms): don't insert ground terms into |
| 3557 |
availableTerms since we can't do left->right sharing on them |
| 3558 |
|
| 3559 |
* ACU_LhsAutomaton.cc (dump): cast Bool member before print so |
| 3560 |
they don't print out as chars |
| 3561 |
|
| 3562 |
* ACU_RhsAutomaton.cc (construct): don't call buildAliens() |
| 3563 |
(replace): don't call buildAliens() |
| 3564 |
(dump): don't call RhsAutomaton::dump() |
| 3565 |
|
| 3566 |
* ACU_Term.hh (class ACU_Term): deleted decl for compileRhs() |
| 3567 |
|
| 3568 |
* ACU_Term.cc (compileRhs): deleted |
| 3569 |
|
| 3570 |
===================================Engine60================================================== |
| 3571 |
|
| 3572 |
2000-07-18 Steven Eker <[email protected]> |
| 3573 |
|
| 3574 |
* ACU_LhsCompiler0.cc (tryToMakeNonLinearLhsAutomaton): use |
| 3575 |
getConditionVariables() |
| 3576 |
(tryToMakeCollectorLhsAutomaton): use getConditionVariables() |
| 3577 |
|
| 3578 |
* ACU_LhsCompiler1.cc (compileLhs3): use getConditionVariables() |
| 3579 |
|
| 3580 |
2000-07-12 Steven Eker <[email protected]> |
| 3581 |
|
| 3582 |
* ACU_Term.cc (compileRhs2): call addRhsAutomaton() |
| 3583 |
|
| 3584 |
2000-07-11 Steven Eker <[email protected]> |
| 3585 |
|
| 3586 |
* ACU_Term.cc (findAvailableTerms): added |
| 3587 |
(compileRhs2): added |
| 3588 |
|
| 3589 |
* ACU_Term.hh (class ACU_Term): added declarations for |
| 3590 |
findAvailableTerms() and compileRhs2() |
| 3591 |
|
| 3592 |
===================================Engine59================================================== |
| 3593 |
|
| 3594 |
2000-07-05 Steven Eker <[email protected]> |
| 3595 |
|
| 3596 |
* ACU_LhsCompiler0.cc (compileLhs2): call to compileLhs2() becomes |
| 3597 |
call to compileLhs3() |
| 3598 |
|
| 3599 |
* ACU_LhsCompiler1.cc (compileLhs2): becomes compileLhs3() |
| 3600 |
|
| 3601 |
* ACU_Term.hh (class ACU_Term): old compileLhs2() -> compileLhs3() |
| 3602 |
|
| 3603 |
* ACU_LhsCompiler0.cc (compileLhs): becomes compileLhs2() |
| 3604 |
|
| 3605 |
* ACU_Term.hh (class ACU_Term): compileLhs() -> compileLhs2() |
| 3606 |
|
| 3607 |
2000-06-23 Steven Eker <[email protected]> |
| 3608 |
|
| 3609 |
* ACU_Term.cc (compileRhs): modifiedIndex() -> getModifiedIndex() |
| 3610 |
|
| 3611 |
* ACU_VarLhsAutomaton.cc (ACU_VarLhsAutomaton): index() -> |
| 3612 |
getIndex() |
| 3613 |
(ACU_VarLhsAutomaton): lookupSort() -> getSort() |
| 3614 |
|
| 3615 |
* ACU_LhsCompiler1.cc (analyseConstraintPropagation): index() -> |
| 3616 |
getIndex() |
| 3617 |
(compileLhs2): index() -> getIndex() |
| 3618 |
|
| 3619 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): index() -> |
| 3620 |
getIndex() |
| 3621 |
(tryToMakeNonLinearLhsAutomaton): index() -> getIndex() |
| 3622 |
(tryToMakeNonLinearLhsAutomaton): lookupSort() -> getSort() |
| 3623 |
(tryToMakeCollectorLhsAutomaton): lookupSort() -> getSort() |
| 3624 |
|
| 3625 |
* ACU_LhsAutomaton.cc (addTopVariable): lookupSort() -> getSort() |
| 3626 |
(addTopVariable): index() -> getIndex() |
| 3627 |
|
| 3628 |
* ACU_CollectorLhsAutomaton.cc (ACU_CollectorLhsAutomaton): |
| 3629 |
index() -> getIndex() |
| 3630 |
(ACU_CollectorLhsAutomaton): lookupSort() -> getSort() |
| 3631 |
|
| 3632 |
===================================Engine58================================================== |
| 3633 |
|
| 3634 |
2000-03-17 Steven Eker <[email protected]> |
| 3635 |
|
| 3636 |
* ACU_VarLhsAutomaton.hh (class ACU_VarLhsAutomaton): use |
| 3637 |
NO_COPYING() macro; ifdef'd dump() decl |
| 3638 |
|
| 3639 |
* ACU_Term.cc (dump): ifdef'd |
| 3640 |
|
| 3641 |
* ACU_Term.hh (class ACU_Term): use NO_COPYING() macro; ifdef'd |
| 3642 |
dump() decl |
| 3643 |
|
| 3644 |
* ACU_Subproblem.cc (dump): ifdef'd |
| 3645 |
|
| 3646 |
* ACU_Subproblem.hh (class ACU_Subproblem): use NO_COPYING() |
| 3647 |
macro; ifdef'd dump() decl |
| 3648 |
|
| 3649 |
* ACU_RhsAutomaton.cc (dump): ifdef'd |
| 3650 |
|
| 3651 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): use NO_COPYING() |
| 3652 |
macro; ifdef'd dump() decl |
| 3653 |
|
| 3654 |
* ACU_NonLinearLhsAutomaton.cc (dump): ifdef'd |
| 3655 |
|
| 3656 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 3657 |
use NO_COPYING() macro; ifdef'd dump() decl |
| 3658 |
|
| 3659 |
* ACU_NGA_LhsAutomaton.cc (dump): ifdef'd |
| 3660 |
|
| 3661 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): use |
| 3662 |
NO_COPYING() macro; ifdef'd dump() decl |
| 3663 |
|
| 3664 |
* ACU_LhsAutomaton.cc (dump): ifdef'd |
| 3665 |
|
| 3666 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): use NO_COPYING() |
| 3667 |
macro; ifdef'd dump() decl |
| 3668 |
|
| 3669 |
* ACU_GndLhsAutomaton.cc (dump): ifdef'd |
| 3670 |
|
| 3671 |
* ACU_GndLhsAutomaton.hh (class ACU_GndLhsAutomaton): use |
| 3672 |
NO_COPYING() macro; ifdef'd dump() decl |
| 3673 |
|
| 3674 |
* ACU_CollectorLhsAutomaton.cc (dump): ifdef'd |
| 3675 |
|
| 3676 |
* ACU_CollectorLhsAutomaton.hh (class ACU_CollectorLhsAutomaton): |
| 3677 |
use NO_COPYING() macro; ifdef'd dump() decl |
| 3678 |
|
| 3679 |
* ACU_AlienAlienLhsAutomaton.cc (dump): ifdef'd |
| 3680 |
|
| 3681 |
* ACU_AlienAlienLhsAutomaton.hh (class |
| 3682 |
ACU_AlienAlienLhsAutomaton): use NO_COPYING() macro; ifdef'd |
| 3683 |
dump() decl |
| 3684 |
|
| 3685 |
* ACU_Symbol.cc (complexStrategy): AdvisoryCheck() -> IssueAdvisory() |
| 3686 |
(memoStrategy): AdvisoryCheck() -> IssueAdvisory() |
| 3687 |
|
| 3688 |
2000-03-13 Steven Eker <[email protected]> |
| 3689 |
|
| 3690 |
* ACU_NonLinearLhsAutomaton.cc (match): fixed nasty bug: |
| 3691 |
if (nrArgs == 1 || args[0].multiplicity == fastMult) should be |
| 3692 |
if (nrArgs == 1 && args[0].multiplicity == fastMult) |
| 3693 |
|
| 3694 |
===================================Engine56================================================== |
| 3695 |
|
| 3696 |
2000-01-31 Steven Eker <[email protected]> |
| 3697 |
|
| 3698 |
* ACU_Subproblem.cc (solveVariables): allow collection of garbage |
| 3699 |
in fail case to avoid build up of failed solutions |
| 3700 |
|
| 3701 |
===================================Engine54================================================== |
| 3702 |
|
| 3703 |
1999-11-03 Steven Eker <[email protected]> |
| 3704 |
|
| 3705 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for memoStrategy() |
| 3706 |
|
| 3707 |
* ACU_Symbol.cc (memoStrategy): added |
| 3708 |
(complexStrategy): simplified using revised MemoTable |
| 3709 |
(memoStrategy): simplified using revised MemoTable |
| 3710 |
|
| 3711 |
1999-11-01 Steven Eker <[email protected]> |
| 3712 |
|
| 3713 |
* ACU_Symbol.cc (eqRewrite): use standardStrategy() |
| 3714 |
|
| 3715 |
1999-10-29 Steven Eker <[email protected]> |
| 3716 |
|
| 3717 |
* ACU_Symbol.cc (ACU_Symbol): use new AssociativeSymbol |
| 3718 |
conventions |
| 3719 |
|
| 3720 |
===================================Engine53================================================== |
| 3721 |
|
| 3722 |
1999-10-26 Steven Eker <[email protected]> |
| 3723 |
|
| 3724 |
* ACU_LhsCompiler1.cc (analyseConstraintPropagation): |
| 3725 |
VariableTerm::dynamicCast() -> dynamic_cast<VariableTerm*>() |
| 3726 |
(compileLhs2): VariableTerm::dynamicCast() -> |
| 3727 |
dynamic_cast<VariableTerm*>() |
| 3728 |
|
| 3729 |
* ACU_LhsCompiler0.cc (tryToMakeNonLinearLhsAutomaton): |
| 3730 |
VariableTerm::dynamicCast() -> dynamic_cast<VariableTerm*>() |
| 3731 |
(tryToMakeCollectorLhsAutomaton): VariableTerm::dynamicCast() -> |
| 3732 |
dynamic_cast<VariableTerm*>() (*2) |
| 3733 |
|
| 3734 |
* ACU_Term.cc (compileRhs): VariableTerm::dynamicCast() -> |
| 3735 |
dynamic_cast<VariableTerm*>() |
| 3736 |
(insertAbstractionVariables): VariableTerm::dynamicCast() -> |
| 3737 |
dynamic_cast<VariableTerm*>() |
| 3738 |
|
| 3739 |
* ACU_Symbol.cc (ACU_Symbol): added memoFlag arg |
| 3740 |
|
| 3741 |
* ACU_Symbol.hh (class ACU_Symbol): added memoFlag arg to ctor |
| 3742 |
decl |
| 3743 |
|
| 3744 |
1999-10-19 Steven Eker <[email protected]> |
| 3745 |
|
| 3746 |
* ACU_DagNode.cc (getHashValue): added |
| 3747 |
|
| 3748 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 3749 |
getHashValue() |
| 3750 |
|
| 3751 |
===================================Engine52================================================== |
| 3752 |
|
| 3753 |
1999-08-02 Steven Eker <[email protected]> |
| 3754 |
|
| 3755 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): decl for |
| 3756 |
topVariableCompare() replaced by decl for topVariableLt() |
| 3757 |
|
| 3758 |
* ACU_LhsAutomaton.cc (complete): use STL sort function |
| 3759 |
(topVariableCompare): becomes topVariableLt() |
| 3760 |
|
| 3761 |
* ACU_Term.hh (class ACU_Term): decl for pairCompare() replaced by |
| 3762 |
decl for pairLt() |
| 3763 |
|
| 3764 |
* ACU_Term.cc (normalize): use STL sort function |
| 3765 |
(pairCompare): becomes pairLt() |
| 3766 |
|
| 3767 |
1999-06-08 Steven Eker <[email protected]> |
| 3768 |
|
| 3769 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for complexStrategy() |
| 3770 |
|
| 3771 |
* ACU_Symbol.cc (complexStrategy): added, taking guts from eqRewrite() |
| 3772 |
(eqRewrite): rewritten using complexStrategy() |
| 3773 |
|
| 3774 |
* ACU_NonLinearLhsAutomaton.cc (match): CONST_ARG_VEC_HACK |
| 3775 |
(fillOutExtensionInfo): CONST_ARG_VEC_HACK |
| 3776 |
(match): fastMult hack - register copy of multiplicity to avoid |
| 3777 |
reloading after writes to memory |
| 3778 |
|
| 3779 |
* ACU_VarLhsAutomaton.cc (match): very minor optimization using |
| 3780 |
temporary to hold pointer to (potentially) stripped term |
| 3781 |
|
| 3782 |
* ACU_DagOperations.cc (eliminateSubject): updated calling |
| 3783 |
convention for binarySearch() (2 places) |
| 3784 |
(eliminateArgument): updated calling convention for binarySearch() |
| 3785 |
|
| 3786 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): updated calling |
| 3787 |
convention for binarySearch() |
| 3788 |
(binaryInsert): updated calling convention for binarySearch() |
| 3789 |
|
| 3790 |
* ACU_GndLhsAutomaton.cc (match): updated calling convention for |
| 3791 |
binarySearch() |
| 3792 |
|
| 3793 |
* ACU_NGA_LhsAutomaton.cc (match): updated calling |
| 3794 |
convention for findFirstOccurrence() |
| 3795 |
|
| 3796 |
* ACU_Matcher.cc (eliminateGroundedOutAliens): updated calling |
| 3797 |
convention for findFirstOccurrence() |
| 3798 |
(aliensOnlyMatch): updated calling convention for |
| 3799 |
findFirstOccurrence() |
| 3800 |
(buildBipartiteGraph): updated calling convention for |
| 3801 |
findFirstOccurrence() |
| 3802 |
(eliminateGroundAliens): updated calling convention for |
| 3803 |
binarySearch() |
| 3804 |
|
| 3805 |
* ACU_GreedyMatcher.cc (greedyMatch): updated calling convention |
| 3806 |
for findFirstOccurrence() |
| 3807 |
|
| 3808 |
* ACU_AlienAlienLhsAutomaton.cc (match): updated calling convention |
| 3809 |
for findFirstOccurrence() (2 places) |
| 3810 |
|
| 3811 |
* ACU_DagNode.hh (class ACU_DagNode): updated decls for |
| 3812 |
findFirstOccurrence() and binarySearch (both versions) |
| 3813 |
|
| 3814 |
* ACU_DagOperations.cc (findFirstOccurrence): made into member |
| 3815 |
function; use CONST_ARG_VEC_HACK() |
| 3816 |
(binarySearch): (both versions): made into member function; use |
| 3817 |
CONST_ARG_VEC_HACK() |
| 3818 |
|
| 3819 |
1999-06-07 Steven Eker <[email protected]> |
| 3820 |
|
| 3821 |
* ACU_CollectorLhsAutomaton.cc (collect): simplified the case |
| 3822 |
where there's only one unstripped arg and no new ACU_DagNode is |
| 3823 |
needed |
| 3824 |
(collect): loses so try another rearrangement |
| 3825 |
(collect): yet another rearrangement |
| 3826 |
(collect): 4th attempt |
| 3827 |
(collect): 5th attempt |
| 3828 |
|
| 3829 |
1999-06-03 Steven Eker <[email protected]> |
| 3830 |
|
| 3831 |
* ACU_DagNormalization.cc (fastMerge): take ACU_DagNode* |
| 3832 |
rather than ArgVec<Pair>& for both args |
| 3833 |
(normalizeAtTop): updated calling convention for fastMerge() |
| 3834 |
(flattenSortAndUniquize): fixed bug that we introduced, since we |
| 3835 |
were originally calling mergeSortAndUniquize() on newArray rather |
| 3836 |
than argArray; now swap them before the call. |
| 3837 |
|
| 3838 |
* ACU_DagNode.hh (class ACU_DagNode): updated |
| 3839 |
copyAndBinaryInsert() decl |
| 3840 |
|
| 3841 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): take ACU_DagNode* |
| 3842 |
rather than ArgVec<Pair>& as 1st arg |
| 3843 |
(normalizeAtTop): pass ACU_DagNode* rather than ArgVec<Pair> to |
| 3844 |
copyAndBinaryInsert() (2 places) |
| 3845 |
|
| 3846 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 3847 |
mergeSortAndUniquize() |
| 3848 |
|
| 3849 |
* ACU_DagNormalization.cc (mergeSortAndUniquize): get rid of |
| 3850 |
runs arg and use runsBuffer directly |
| 3851 |
(sortAndUniquize): don't pass runsBuffer to mergeSortAndUniquize() |
| 3852 |
(flattenSortAndUniquize): don't pass runsBuffer to |
| 3853 |
mergeSortAndUniquize() |
| 3854 |
(extensionNormalizeAtTop): don't pass runsBuffer to |
| 3855 |
mergeSortAndUniquize() |
| 3856 |
|
| 3857 |
* ACU_DagNode.hh (class ACU_DagNode): updated decl for |
| 3858 |
mergeSortAndUniquize(), no longer static |
| 3859 |
|
| 3860 |
* ACU_DagNormalization.cc (mergeSortAndUniquize): removed argArray |
| 3861 |
arg; now going to be a member function |
| 3862 |
(sortAndUniquize): call mergeSortAndUniquize() like a member |
| 3863 |
function |
| 3864 |
(flattenSortAndUniquize): call mergeSortAndUniquize() like a member |
| 3865 |
function |
| 3866 |
(extensionNormalizeAtTop): call mergeSortAndUniquize() like a member |
| 3867 |
function |
| 3868 |
|
| 3869 |
1999-06-01 Steven Eker <[email protected]> |
| 3870 |
|
| 3871 |
* ACU_DagNode.hh (class ACU_DagNode): update decl for binaryInsert() |
| 3872 |
|
| 3873 |
* ACU_DagNormalization.cc (binaryInsert): moved here as it its |
| 3874 |
only used for normalization |
| 3875 |
(binaryInsert): first arg deleted; made non-static |
| 3876 |
(extensionNormalizeAtTop): use new binaryInsert() calling convention |
| 3877 |
|
| 3878 |
* ACU_DagNode.cc (partialReplace): added ARG_VEC_HACK |
| 3879 |
(partialReplace): changed for() loop into do-while loop |
| 3880 |
|
| 3881 |
* ACU_CollectorLhsAutomaton.cc (collect): replaced SPEED_HACK with |
| 3882 |
CONST_ARG_VEC_HACK and ARG_VEC_HACK for cleaness |
| 3883 |
|
| 3884 |
* ACU_DagNode.cc (compareArguments): replaced SPEED_HACK with |
| 3885 |
CONST_ARG_VEC_HACKs for cleaness |
| 3886 |
(markArguments): replaced SPEED_HACK with CONST_ARG_VEC_HACK for |
| 3887 |
cleaness |
| 3888 |
(markArguments): converted for() loop into do-while since we |
| 3889 |
always have at least 1 arg |
| 3890 |
|
| 3891 |
* ACU_Matcher.cc (multiplicityChecks): replaced SPEED_HACKs with |
| 3892 |
CONST_ARG_VEC_HACK and VECTOR_HACK for cleaness |
| 3893 |
|
| 3894 |
* ACU_RhsAutomaton.cc (buildArguments): replaced SPEED_HACK with |
| 3895 |
ARG_VEC_HACK and CONST_VECTOR_HACK for cleaness |
| 3896 |
|
| 3897 |
* ACU_DagNormalization.cc (fastMerge): add heursitic to try and |
| 3898 |
avoid full merge |
| 3899 |
(fastMerge): removed previous heursitic as it seems to lose on |
| 3900 |
average |
| 3901 |
|
| 3902 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for fastMerge() |
| 3903 |
|
| 3904 |
* ACU_DagNormalization.cc (fastMerge): added |
| 3905 |
(normalizeAtTop): call fastMerge() |
| 3906 |
|
| 3907 |
* ACU_DagNode.hh (class ACU_DagNode): updated decls for |
| 3908 |
binarySearch() (both versions) and copyAndBinaryInsert() |
| 3909 |
|
| 3910 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): use ARG_VEC_HACKs |
| 3911 |
|
| 3912 |
* ACU_DagOperations.cc (binarySearch): (both versions) made first |
| 3913 |
arg const |
| 3914 |
|
| 3915 |
* ACU_DagNormalization.cc (normalizeAtTop): fix bug where we were |
| 3916 |
using copyAndBinaryInsert() even when the arg to be flattened in |
| 3917 |
had arity > 1 |
| 3918 |
(copyAndBinaryInsert): make first arg const |
| 3919 |
|
| 3920 |
1999-05-28 Steven Eker <[email protected]> |
| 3921 |
|
| 3922 |
* ACU_DagNormalization.cc (copyAndBinaryInsert): fixed bug; we |
| 3923 |
were searching in argArray rarther than source |
| 3924 |
(normalizeAtTop): rearranged if statements to favor common cases |
| 3925 |
|
| 3926 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for copyAndBinaryInsert() |
| 3927 |
|
| 3928 |
* ACU_DagNormalization.cc (fastNormalizeAtTop): added |
| 3929 |
(copyAndBinaryInsert): added |
| 3930 |
(flattenSortAndUniquize): no longer local inline |
| 3931 |
(sortAndUniquize): no longer local inline |
| 3932 |
(normalizeAtTop): incorporate fastNormalizeAtTop() |
| 3933 |
(fastNormalizeAtTop): deleted |
| 3934 |
|
| 3935 |
1999-05-16 Steven Eker <[email protected]> |
| 3936 |
|
| 3937 |
* ACU_DagNode.cc (markArguments): added SPEED_HACK |
| 3938 |
|
| 3939 |
* ACU_AlienAlienLhsAutomaton.cc: find first occurence of second |
| 3940 |
symbol before entering outermost loop |
| 3941 |
|
| 3942 |
* ACU_CollectorLhsAutomaton.cc (ACU_CollectorLhsAutomaton): set |
| 3943 |
noSortChecks flag if the collector variable has a sort that is the |
| 3944 |
unique maximal sort in an error free component |
| 3945 |
(ACU_CollectorLhsAutomaton): indicate "sort checks off" by setting |
| 3946 |
collectorSort to 0 |
| 3947 |
(collect): handle "sort checks off" in the 3 cases with superfast |
| 3948 |
loops in the main case |
| 3949 |
(dump): handle "sort checks off" |
| 3950 |
|
| 3951 |
1999-05-13 Steven Eker <[email protected]> |
| 3952 |
|
| 3953 |
* ACU_DagNode.cc (makeClone): copy theory byte |
| 3954 |
(overwriteWithClone): copy theory byte |
| 3955 |
|
| 3956 |
1999-05-12 Steven Eker <[email protected]> |
| 3957 |
|
| 3958 |
* ACU_Symbol.hh (class ACU_Symbol): computeTrueSort() -> |
| 3959 |
normalizeAndComputeTrueSort() |
| 3960 |
|
| 3961 |
* ACU_Symbol.cc (computeTrueSort): become |
| 3962 |
normalizeAndComputeTrueSort() |
| 3963 |
(normalizeAndComputeTrueSort): use fastComputeTrueSort() |
| 3964 |
|
| 3965 |
1999-05-11 Steven Eker <[email protected]> |
| 3966 |
|
| 3967 |
* ACU_RhsAutomaton.cc (buildArguments): made local_inline |
| 3968 |
(buildArguments): added SPEED_HACK |
| 3969 |
|
| 3970 |
===================================Engine49================================================== |
| 3971 |
|
| 3972 |
1999-04-18 Steven Eker <[email protected]> |
| 3973 |
|
| 3974 |
* Unmade previous chnage in all files due to huge number of |
| 3975 |
functions that should have been in-lined but weren't (ans not |
| 3976 |
reported either!) length(), expandTo(), contractTo() |
| 3977 |
|
| 3978 |
1999-03-14 Steven Eker <[email protected]> |
| 3979 |
|
| 3980 |
* ACU_Subproblem.cc: try commenting out template decls |
| 3981 |
|
| 3982 |
* ACU_LhsAutomaton.cc: try commenting out template decls |
| 3983 |
|
| 3984 |
* ACU_RhsAutomaton.cc: try commenting out template decls |
| 3985 |
|
| 3986 |
* ACU_DagNode.cc: try commenting out template decls |
| 3987 |
|
| 3988 |
* ACU_Term.cc: try commenting out template decls |
| 3989 |
|
| 3990 |
===================================Maude 1.0.2 released======================================= |
| 3991 |
===================================Maude 1.0.1 released======================================= |
| 3992 |
|
| 3993 |
1999-02-18 Steven Eker <[email protected]> |
| 3994 |
|
| 3995 |
* ACU_RhsAutomaton.cc (buildArguments): for() changed to |
| 3996 |
do-while() |
| 3997 |
|
| 3998 |
===================================VectorExperiment========================================== |
| 3999 |
|
| 4000 |
1999-01-19 Steven Eker <[email protected]> |
| 4001 |
|
| 4002 |
* ACU_LhsCompiler0.cc (tryToMakeAlienAlienLhsAutomaton): fixed |
| 4003 |
nasty long running bug where we were not dealing correctly with |
| 4004 |
UNDECIDED from Term::subsumes() |
| 4005 |
|
| 4006 |
1999-01-16 Steven Eker <[email protected]> |
| 4007 |
|
| 4008 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): changed |
| 4009 |
matchAtTop, inErrorSort and collapsePossible to Bool to save memory |
| 4010 |
(class ACU_LhsAutomaton): changed matchStrategy to Byte to save memory |
| 4011 |
|
| 4012 |
* ACU_Term.hh (class ACU_Term): made |
| 4013 |
Pair::abstractionVariableIndex a short to save memory |
| 4014 |
|
| 4015 |
===================================Engine46================================================== |
| 4016 |
|
| 4017 |
Tue Dec 8 10:48:45 1998 Steven Eker <[email protected]> |
| 4018 |
|
| 4019 |
* ACU_Term.cc (Term): fixed nasty bug where we were not copying |
| 4020 |
multiplicity correctly |
| 4021 |
|
| 4022 |
===================================Engine44================================================== |
| 4023 |
|
| 4024 |
Fri Nov 6 15:30:44 1998 Steven Eker <[email protected]> |
| 4025 |
|
| 4026 |
* ACU_Term.cc (deepCopy): -> deepCopy2() |
| 4027 |
|
| 4028 |
* ACU_Term.hh (class ACU_Term): deepCopy() -> deepCopy2() |
| 4029 |
|
| 4030 |
===================================Engine43================================================== |
| 4031 |
|
| 4032 |
Wed Oct 28 14:41:53 1998 Steven Eker <[email protected]> |
| 4033 |
|
| 4034 |
* ACU_AlienAlienLhsAutomaton.cc (match): fixed nasty bug in |
| 4035 |
extension setting code: e->setUnmatched(i, m); becomes |
| 4036 |
e->setUnmatched(k, m); |
| 4037 |
|
| 4038 |
Thu Oct 8 13:41:45 1998 Steven Eker <[email protected]> |
| 4039 |
|
| 4040 |
* ACU_Term.cc (compareArguments): (DagNode* version) added |
| 4041 |
const_cast |
| 4042 |
(compareArguments): (DagNode* version) removed const_cast, added |
| 4043 |
const |
| 4044 |
(compareArguments): (Term* version) added const |
| 4045 |
|
| 4046 |
* ACU_Term.hh: added #include "ACU_Symbol.hh" so that we can down |
| 4047 |
cast everwhere in symbol() |
| 4048 |
|
| 4049 |
Fri Oct 2 11:20:43 1998 Steven Eker <[email protected]> |
| 4050 |
|
| 4051 |
* ACU_Matcher.cc (multiplicityChecks): added SPEED_HACKS |
| 4052 |
(multiplicityChecks): rewritten; simpler and much faster in the |
| 4053 |
maxPatternMultiplicity > 1 fail case at the cost of being slightly |
| 4054 |
slower (or maybe not?) in the success case. When |
| 4055 |
maxPatternMultiplicity > 1 failure seems to be _much_ more |
| 4056 |
likely. |
| 4057 |
|
| 4058 |
===================================Engine41================================================== |
| 4059 |
|
| 4060 |
Tue Sep 22 14:52:16 1998 Steven Eker <[email protected]> |
| 4061 |
|
| 4062 |
* ACU_Symbol.cc (computeBaseSort): use lastIndex heuristic in |
| 4063 |
uniform sort structure case |
| 4064 |
|
| 4065 |
* ACU_CollectorLhsAutomaton.cc (collect): put collectorSort |
| 4066 |
pointer into local variable to avoid reload; Use lastIndex |
| 4067 |
heuristic to try and avoid sort comparisons; use leq(int, Sort*) |
| 4068 |
instead of DagNode::Sort* where neccessary |
| 4069 |
|
| 4070 |
Fri Sep 18 11:28:08 1998 Steven Eker <[email protected]> |
| 4071 |
|
| 4072 |
* ACU_DagNode.cc (overwriteWithClone): use setSortIndex() |
| 4073 |
(makeClone): use setSortIndex() |
| 4074 |
|
| 4075 |
* ACU_Symbol.cc (computeBaseSort): rewritten using setSortIndex(), |
| 4076 |
DagNode::leq(), traverse() and lookupSortIndex() |
| 4077 |
|
| 4078 |
Thu Sep 17 18:17:18 1998 Steven Eker <[email protected]> |
| 4079 |
|
| 4080 |
* ACU_VarLhsAutomaton.cc (match): use DagNode::leq() (2 places) |
| 4081 |
|
| 4082 |
* ACU_NonLinearLhsAutomaton.cc (match): use DagNode::leq() (5 |
| 4083 |
places) |
| 4084 |
|
| 4085 |
* ACU_Matcher.cc (forcedLoneVariableCase): use DagNode::leq() |
| 4086 |
|
| 4087 |
* ACU_GreedyMatcher.cc (greedyPureMatch): use DagNode::leq() (2 |
| 4088 |
places) |
| 4089 |
(greedyPureMatch): use leq(Sort*,Sort*) |
| 4090 |
|
| 4091 |
* ACU_CollectorLhsAutomaton.cc (collect): use DagNode::leq() (5 |
| 4092 |
places) |
| 4093 |
|
| 4094 |
Fri Sep 11 17:26:33 1998 Steven Eker <[email protected]> |
| 4095 |
|
| 4096 |
* ACU_Subproblem.cc (solveVariables): use new checkSort() convention |
| 4097 |
|
| 4098 |
* ACU_Matcher.cc (forcedLoneVariableCase): use new checkSort() |
| 4099 |
convention |
| 4100 |
|
| 4101 |
* ACU_Symbol.cc (computeBaseSort): use <=(DagNode*,Sort&) (1 place) |
| 4102 |
|
| 4103 |
* ACU_VarLhsAutomaton.cc (match): use <=(DagNode*,Sort&) (2 |
| 4104 |
places) |
| 4105 |
|
| 4106 |
* ACU_NonLinearLhsAutomaton.cc (match): use <=(DagNode*,Sort&) |
| 4107 |
(5 places) |
| 4108 |
|
| 4109 |
* ACU_DagNode.cc (matchVariableWithExtension): pass sort rather |
| 4110 |
than code to addTopVariable() |
| 4111 |
|
| 4112 |
* ACU_Matcher.cc (forcedLoneVariableCase): use <=(DagNode*,Sort&) |
| 4113 |
(fullMatch): pass sort rather than code to addTopVariable() |
| 4114 |
|
| 4115 |
* ACU_GreedyMatcher.cc (greedyPureMatch): use <=(DagNode*,Sort&) |
| 4116 |
(2 places) and <=(Sort&,Sort&) |
| 4117 |
|
| 4118 |
* ACU_CollectorLhsAutomaton.cc (collect): use <=(DagNode*,Sort&) |
| 4119 |
(5 places) |
| 4120 |
|
| 4121 |
* ACU_Subproblem.cc (addTopVariable): store sort rather than sortCode |
| 4122 |
(solveVariables): temporary hack: pass sort->code() to checkSort() |
| 4123 |
(dump): sort rather than sortCode |
| 4124 |
|
| 4125 |
* ACU_Subproblem.hh (class ACU_Subproblem): struct TopVariable now |
| 4126 |
has sort rather than sortCode; addTopVariable() decl updated |
| 4127 |
|
| 4128 |
Wed Sep 9 11:52:44 1998 Steven Eker <[email protected]> |
| 4129 |
|
| 4130 |
* ACU_Symbol.cc (compileOpDeclarations): call |
| 4131 |
commutativeSortCompletion() before Symbol::compileOpDeclarations() |
| 4132 |
due to new implementation |
| 4133 |
|
| 4134 |
===================================Engine40================================================== |
| 4135 |
|
| 4136 |
Mon Jul 20 19:35:25 1998 Steven Eker <[email protected]> |
| 4137 |
|
| 4138 |
* ACU_Term.hh (class ACU_Term): added decl for new ctor |
| 4139 |
|
| 4140 |
* ACU_Term.cc (deepCopy): added |
| 4141 |
(ACU_Term): added new ctor |
| 4142 |
|
| 4143 |
* ACU_Term.hh (class ACU_Term): added decl for deepCopy() |
| 4144 |
|
| 4145 |
===================================Engine39================================================== |
| 4146 |
|
| 4147 |
Wed Jun 10 11:57:08 1998 Steven Eker <[email protected]> |
| 4148 |
|
| 4149 |
* ACU_Symbol.cc (postInterSymbolPass): added to do identity stuff |
| 4150 |
(compileOpDeclarations): don't do identity stuff here anymore |
| 4151 |
|
| 4152 |
* ACU_Term.hh (class ACU_Term): updated |
| 4153 |
normalizeAliensAndFlatten() and normalize() decls |
| 4154 |
|
| 4155 |
* ACU_Term.cc: IntSet -> NatSet |
| 4156 |
(normalize): go back to getIdentity(); set changed flag if |
| 4157 |
normalization made any changes to term; clear changed otherwise |
| 4158 |
(normalizeAliensAndFlatten): return flag to say wether we changed term |
| 4159 |
|
| 4160 |
* ACU_LhsCompiler3.cc: IntSet -> NatSet |
| 4161 |
|
| 4162 |
* ACU_LhsCompiler2.cc: IntSet -> NatSet |
| 4163 |
|
| 4164 |
* ACU_LhsCompiler1.cc: IntSet -> NatSet |
| 4165 |
|
| 4166 |
* ACU_LhsCompiler0.cc: IntSet -> NatSet |
| 4167 |
|
| 4168 |
* ACU_Term.hh: IntSet -> NatSet |
| 4169 |
|
| 4170 |
===================================Engine38================================================== |
| 4171 |
|
| 4172 |
Wed Jun 3 16:29:33 1998 Steven Eker <[email protected]> |
| 4173 |
|
| 4174 |
* ACU_Term.cc (normalize): use earlyGetIdentity() |
| 4175 |
|
| 4176 |
===================================Engine37================================================== |
| 4177 |
|
| 4178 |
Fri Mar 6 17:22:37 1998 Steven Eker <[email protected]> |
| 4179 |
|
| 4180 |
* ACU_DagOperations.cc (eliminateSubject): fixed nasty bug - test |
| 4181 |
should be identity != 0 && identity->equal(target) and we had || |
| 4182 |
|
| 4183 |
Tue Feb 24 11:10:10 1998 Steven Eker <[email protected]> |
| 4184 |
|
| 4185 |
* ACU_Matcher.cc (eliminateBoundVariables): simplify now that |
| 4186 |
eliminateSubject() handle identity |
| 4187 |
|
| 4188 |
* ACU_DagOperations.cc (eliminateSubject): handle identity; this |
| 4189 |
fixes a serious bug in ACU_Subproblem::extractDiophantineSystem() |
| 4190 |
which assumed we were |
| 4191 |
|
| 4192 |
* ACU_Subproblem.cc (dump): added |
| 4193 |
(dump): dump local bindings |
| 4194 |
(solveVariables): fixed serious bug - in the trivial Diophantine |
| 4195 |
system case where findFirst is false we must unbind any variables |
| 4196 |
we bound to the identity the first time around before returning false. |
| 4197 |
|
| 4198 |
* ACU_Subproblem.hh (class ACU_Subproblem): added decl for dump() |
| 4199 |
|
| 4200 |
Fri Feb 20 17:27:13 1998 Steven Eker <[email protected]> |
| 4201 |
|
| 4202 |
* ACU_DagNode.cc (stackArguments): only stack arguments that are |
| 4203 |
not flagged as unstackable |
| 4204 |
|
| 4205 |
===================================Engine36================================================== |
| 4206 |
|
| 4207 |
Sat Feb 14 14:45:02 1998 Steven Eker <[email protected]> |
| 4208 |
|
| 4209 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): need to delete |
| 4210 |
uniqueCollapseAutomaton and abstraction automata |
| 4211 |
|
| 4212 |
Thu Feb 12 17:50:45 1998 Steven Eker <[email protected]> |
| 4213 |
|
| 4214 |
* ACU_NGA_LhsAutomaton.cc (~ACU_NGA_LhsAutomaton): added |
| 4215 |
|
| 4216 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): added decl |
| 4217 |
for ~ACU_NGA_LhsAutomaton() |
| 4218 |
|
| 4219 |
* ACU_AlienAlienLhsAutomaton.cc (~ACU_AlienAlienLhsAutomaton): add |
| 4220 |
|
| 4221 |
* ACU_AlienAlienLhsAutomaton.hh (class |
| 4222 |
ACU_AlienAlienLhsAutomaton): added decl for |
| 4223 |
~ACU_AlienAlienLhsAutomaton() |
| 4224 |
|
| 4225 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): added |
| 4226 |
|
| 4227 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added decl for |
| 4228 |
~ACU_LhsAutomaton() |
| 4229 |
|
| 4230 |
Wed Feb 11 16:46:29 1998 Steven Eker <[email protected]> |
| 4231 |
|
| 4232 |
* ACU_VarLhsAutomaton.cc (match): compare() != 0 replaced by |
| 4233 |
!equal() |
| 4234 |
|
| 4235 |
* ACU_Term.cc (normalize): compare() == 0 replaced by equal() (2 |
| 4236 |
places) |
| 4237 |
|
| 4238 |
* ACU_Matcher.cc (eliminateBoundVariables): compare() != 0 |
| 4239 |
replaced by !equal() |
| 4240 |
|
| 4241 |
* ACU_GndLhsAutomaton.cc (match): compare() != 0 replaced by |
| 4242 |
!equal() |
| 4243 |
|
| 4244 |
* ACU_CollapseMatcher.cc (uniqueCollapseMatch): compare() != 0 |
| 4245 |
replaced by !equal() |
| 4246 |
(multiwayCollapseMatch): compare() != 0 replaced by !equal() |
| 4247 |
(multiwayCollapseMatch): compare() == 0 replaced by equal() (2 |
| 4248 |
places) |
| 4249 |
|
| 4250 |
* ACU_NGA_LhsAutomaton.cc (match): use delete rather than |
| 4251 |
calling deepSelfDestruct() |
| 4252 |
|
| 4253 |
* ACU_Matcher.cc (buildBipartiteGraph): use delete rather than |
| 4254 |
calling deepSelfDestruct() |
| 4255 |
|
| 4256 |
* ACU_GreedyMatcher.cc (greedyMatch): use delete rather than |
| 4257 |
calling deepSelfDestruct() |
| 4258 |
|
| 4259 |
* ACU_AlienAlienLhsAutomaton.cc (match): use delete rather than |
| 4260 |
calling deepSelfDestruct() |
| 4261 |
|
| 4262 |
* ACU_Subproblem.hh (class ACU_Subproblem): deleted decl for |
| 4263 |
deepSelfDestruct() |
| 4264 |
|
| 4265 |
* ACU_Subproblem.cc (deepSelfDestruct): deleted |
| 4266 |
(~ACU_Subproblem): inserted bulk of code from old |
| 4267 |
deepSelfDestruct(); use delete rather than calling |
| 4268 |
deepSelfDestruct() |
| 4269 |
|
| 4270 |
===================================Engine35================================================== |
| 4271 |
|
| 4272 |
Fri Jan 16 18:19:12 1998 Steven Eker <[email protected]> |
| 4273 |
|
| 4274 |
* ACU_Term.cc (insertAbstractionVariables): changed |
| 4275 |
AdvisoryCheck() to DebugAdvisoryCheck() |
| 4276 |
|
| 4277 |
Wed Dec 24 15:34:20 1997 Steven Eker <[email protected]> |
| 4278 |
|
| 4279 |
* ACU_LhsAutomaton.cc (dump): dump uniqueCollapseAutomaton if it exists |
| 4280 |
|
| 4281 |
Tue Dec 23 12:38:55 1997 Steven Eker <[email protected]> |
| 4282 |
|
| 4283 |
* ACU_LhsAutomaton.cc (dump): don't try to print name of an |
| 4284 |
abstraction variable |
| 4285 |
|
| 4286 |
* ACU_LhsCompiler1.cc (compileLhs2): use greedySafe() |
| 4287 |
|
| 4288 |
* ACU_LhsCompiler0.cc (tryToMakeAlienAlienLhsAutomaton): use greedySafe() |
| 4289 |
(tryToMakeCollectorLhsAutomaton): use greedySafe() |
| 4290 |
|
| 4291 |
Thu Dec 18 18:01:52 1997 Steven Eker <[email protected]> |
| 4292 |
|
| 4293 |
* ACU_LhsAutomaton.cc (addTopVariable): use Term::takeIdentity() |
| 4294 |
|
| 4295 |
* ACU_LhsCompiler0.cc (tryToMakeNonLinearLhsAutomaton): use |
| 4296 |
Term::takeIdentity() |
| 4297 |
(tryToMakeCollectorLhsAutomaton): use Term::takeIdentity() |
| 4298 |
|
| 4299 |
Wed Dec 17 12:03:01 1997 Steven Eker <[email protected]> |
| 4300 |
|
| 4301 |
* ACU_NonLinearLhsAutomaton.cc (match): check to see that we |
| 4302 |
actually have a match before allocating ACU_DagNode in non ext |
| 4303 |
case; the space for the ACU_DagNode can be very big and this case |
| 4304 |
is likely to fail. |
| 4305 |
|
| 4306 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 4307 |
made varIndex, multiplicity, varSort, unitSort const |
| 4308 |
|
| 4309 |
Tue Dec 16 11:52:36 1997 Steven Eker <[email protected]> |
| 4310 |
|
| 4311 |
* ACU_Term.hh (class ACU_Term): added decl for tryToMakeNonLinearLhsAutomaton() |
| 4312 |
|
| 4313 |
* ACU_LhsCompiler0.cc (compileLhs): major rewrite and simplification |
| 4314 |
(tryToMakeNonLinearLhsAutomaton): added |
| 4315 |
|
| 4316 |
* ACU_NonLinearLhsAutomaton.cc (match): handle case where variable |
| 4317 |
is bound |
| 4318 |
(dump): call HeuristicLhsAutomaton::dump() |
| 4319 |
|
| 4320 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 4321 |
derive from HeuristicLhsAutomaton |
| 4322 |
|
| 4323 |
* ACU_AlienAlienLhsAutomaton.cc (complete): deleted |
| 4324 |
(match): use fullMatch() |
| 4325 |
(dump): call HeuristicLhsAutomaton::dump() |
| 4326 |
|
| 4327 |
* ACU_AlienAlienLhsAutomaton.hh (class |
| 4328 |
ACU_AlienAlienLhsAutomaton): derive from HeuristicLhsAutomaton; |
| 4329 |
deleted decl for complete(); data member fullAutomaton; |
| 4330 |
|
| 4331 |
* ACU_CollectorLhsAutomaton.cc (dump): call HeuristicLhsAutomaton::dump() |
| 4332 |
(complete): deleted |
| 4333 |
|
| 4334 |
* ACU_CollectorLhsAutomaton.hh (class ACU_CollectorLhsAutomaton): |
| 4335 |
derive from HeuristicLhsAutomaton |
| 4336 |
(class ACU_CollectorLhsAutomaton): deleted decls for complete() |
| 4337 |
and fullMatch() |
| 4338 |
(fullMatch): deleted |
| 4339 |
(class ACU_CollectorLhsAutomaton): deleted data member fullAutomaton |
| 4340 |
|
| 4341 |
* ACU_LhsCompiler0.cc (compileLhs): insert index of variable into |
| 4342 |
boundUniquely when making a ACU_NonLinearLhsAutomaton |
| 4343 |
|
| 4344 |
* ACU_NonLinearLhsAutomaton.cc (match): fixed bug where we were |
| 4345 |
forgetting to increment p when building new ACU_DagNode |
| 4346 |
|
| 4347 |
* ACU_LhsCompiler0.cc (compileLhs): added code to make |
| 4348 |
ACU_NonLinearLhsAutomaton where appropriate |
| 4349 |
|
| 4350 |
Mon Dec 15 18:54:20 1997 Steven Eker <[email protected]> |
| 4351 |
|
| 4352 |
* ACU_NonLinearLhsAutomaton.cc: created |
| 4353 |
|
| 4354 |
* ACU_NonLinearLhsAutomaton.hh (class ACU_NonLinearLhsAutomaton): |
| 4355 |
created |
| 4356 |
|
| 4357 |
===================================Engine34================================================== |
| 4358 |
|
| 4359 |
Thu Dec 11 18:24:11 1997 Steven Eker <[email protected]> |
| 4360 |
|
| 4361 |
* ACU_Subproblem.cc (solveVariables): check that we actually have |
| 4362 |
a sort before calling d->setReduced() since d->checkSort() is not |
| 4363 |
guarenteed to leave a sort behind (in the presence of sort constraints). |
| 4364 |
|
| 4365 |
Fri Dec 5 11:23:05 1997 Steven Eker <[email protected]> |
| 4366 |
|
| 4367 |
* ACU_DagOperations.cc (eliminateArgument): code cleaning |
| 4368 |
|
| 4369 |
* ACU_Symbol.cc (eqRewrite): optimized use of nrArgs |
| 4370 |
(compileOpDeclarations): only call leftIdentitySortCheck() and |
| 4371 |
rightIdentitySortCheck() if we actually have an identity |
| 4372 |
|
| 4373 |
* ACU_Symbol.hh (class ACU_Symbol): deleted utilityBuffer static |
| 4374 |
class member decl |
| 4375 |
|
| 4376 |
* ACU_Symbol.cc (finalizeSortInfo): deleted |
| 4377 |
(compileOpDeclarations): call leftIdentitySortCheck() and |
| 4378 |
rightIdentitySortCheck() |
| 4379 |
deleted utilityBuffer static class member |
| 4380 |
(computeBaseSort): use local static sortIndexBuffer in place of |
| 4381 |
utilityBuffer |
| 4382 |
|
| 4383 |
* ACU_Symbol.hh (class ACU_Symbol): deleted finalizeSortInfo() decl |
| 4384 |
|
| 4385 |
Thu Dec 4 12:52:46 1997 Steven Eker <[email protected]> |
| 4386 |
|
| 4387 |
* ACU_Term.cc (compareArguments): compare multiplicity before |
| 4388 |
actaul argument (dagNode version) |
| 4389 |
(compareArguments): compare multiplicity before |
| 4390 |
actaul argument (term version) |
| 4391 |
|
| 4392 |
* ACU_DagNode.cc (compareArguments): compare multiplicity before |
| 4393 |
actaul argument; this may avoid comparison of argument in some cases. |
| 4394 |
|
| 4395 |
* ACU_Symbol.cc (ACU_Symbol): deleted inert arg |
| 4396 |
|
| 4397 |
* ACU_Symbol.hh (class ACU_Symbol): deleted inert |
| 4398 |
arg from ctor decl |
| 4399 |
|
| 4400 |
Tue Dec 2 16:40:08 1997 Steven Eker <[email protected]> |
| 4401 |
|
| 4402 |
* ACU_Symbol.cc (copyAndReduceSubterms): use DagNode::copyAndReduce() |
| 4403 |
|
| 4404 |
Mon Dec 1 11:33:38 1997 Steven Eker <[email protected]> |
| 4405 |
|
| 4406 |
* ACU_Symbol.cc (eqRewrite): use getPermuteStrategy() (*3) |
| 4407 |
|
| 4408 |
* ACU_Term.cc (markEagerArguments): use getPermuteStrategy() |
| 4409 |
(findEagerVariables): use getPermuteStrategy() |
| 4410 |
|
| 4411 |
* ACU_Symbol.cc (ACU_Symbol): PermuteSymbol -> AssociativeSymbol |
| 4412 |
(eqRewrite): PermuteSymbol -> AssociativeSymbol (*3) |
| 4413 |
|
| 4414 |
* ACU_Term.cc (findEagerVariables): PermuteSymbol -> BinarySymbol (*3) |
| 4415 |
(markEagerArguments): PermuteSymbol -> BinarySymbol |
| 4416 |
|
| 4417 |
* ACU_LhsCompiler0.cc (tryToMakeCollectorLhsAutomaton): PermuteSymbol -> |
| 4418 |
AssociativeSymbol (*2) |
| 4419 |
|
| 4420 |
* ACU_LhsAutomaton.cc (addAbstractionVariable): PermuteSymbol -> |
| 4421 |
AssociativeSymbol |
| 4422 |
|
| 4423 |
* ACU_GreedyMatcher.cc (greedyPureMatch): PermuteSymbol -> |
| 4424 |
AssociativeSymbol (*4) |
| 4425 |
|
| 4426 |
* ACU_DagOperations.cc (eliminateArgument): use getPermuteStrategy() |
| 4427 |
|
| 4428 |
* ACU_DagNode.cc (copyEagerUptoReduced2): use getPermuteStrategy() |
| 4429 |
|
| 4430 |
* ACU_Symbol.hh (class ACU_Symbol): PermuteSymbol -> |
| 4431 |
AssociativeSymbol |
| 4432 |
|
| 4433 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): PermuteSymbol -> |
| 4434 |
AssociativeSymbol |
| 4435 |
|
| 4436 |
Mon Nov 24 11:09:15 1997 Steven Eker <[email protected]> |
| 4437 |
|
| 4438 |
* ACU_AlienAlienLhsAutomaton.cc (dump): implemented |
| 4439 |
|
| 4440 |
* ACU_DagNode.hh (class ACU_DagNode): ACU_FastLhsAutomaton no |
| 4441 |
longer exists and hence is no longer a friend |
| 4442 |
|
| 4443 |
* ACU_RhsAutomaton.cc (buildAliens): deleted |
| 4444 |
(dump): implemented |
| 4445 |
|
| 4446 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): deleted aliens |
| 4447 |
data member |
| 4448 |
(addAlien): deleted |
| 4449 |
|
| 4450 |
* ACU_Term.hh (class ACU_Term): updated member function declarations |
| 4451 |
|
| 4452 |
* ACU_LhsCompiler0.cc (compileLhs): rewrutten |
| 4453 |
(tryToMakeFastAutomation2): renamed to |
| 4454 |
tryToMakeAlienAlienLhsAutomaton() |
| 4455 |
(tryToMakeFastAutomaton): renamed to |
| 4456 |
tryToMakeCollectorLhsAutomaton() |
| 4457 |
(tryToMakeCollectorLhsAutomaton): rewrittten to use new derived classes |
| 4458 |
|
| 4459 |
* ACU_GndLhsAutomaton.cc: created |
| 4460 |
|
| 4461 |
* ACU_GndLhsAutomaton.hh (class ACU_GndLhsAutomaton): created |
| 4462 |
|
| 4463 |
* ACU_DagNode.hh (class ACU_DagNode): ACU_VarLhsAutomaton becomes |
| 4464 |
a friend |
| 4465 |
(class ACU_DagNode): ACU_GndLhsAutomaton becomes a friend |
| 4466 |
|
| 4467 |
* ACU_VarLhsAutomaton.hh (class ACU_VarLhsAutomaton): created |
| 4468 |
|
| 4469 |
* ACU_VarLhsAutomaton.cc: created |
| 4470 |
|
| 4471 |
* ACU_DagNode.hh (class ACU_DagNode): ACU_NGA_LhsAutomaton becomes |
| 4472 |
a friend |
| 4473 |
|
| 4474 |
* ACU_CollectorLhsAutomaton.cc (complete): added |
| 4475 |
(dump): now dump fullAutomaton |
| 4476 |
|
| 4477 |
* ACU_CollectorLhsAutomaton.hh (fullMatch): added |
| 4478 |
|
| 4479 |
* ACU_NGA_LhsAutomaton.hh (class ACU_NGA_LhsAutomaton): created |
| 4480 |
|
| 4481 |
* ACU_NGA_LhsAutomaton.cc: created |
| 4482 |
|
| 4483 |
Sun Nov 23 17:27:37 1997 Steven Eker <[email protected]> |
| 4484 |
|
| 4485 |
* ACU_DagNode.hh (class ACU_DagNode): ACU_CollectorLhsAutomaton |
| 4486 |
becomes a friend |
| 4487 |
|
| 4488 |
* ACU_FastLhsAutomaton.cc (dump): rewritten as a temporary hack |
| 4489 |
9this class will soon be split 3 ways) |
| 4490 |
|
| 4491 |
* ACU_FastLhsAutomaton.hh (class ACU_FastLhsAutomaton): updated |
| 4492 |
dump() decl |
| 4493 |
|
| 4494 |
* ACU_AlienAlienLhsAutomaton.hh (class |
| 4495 |
ACU_AlienAlienLhsAutomaton): updated dump() decl |
| 4496 |
|
| 4497 |
* ACU_LhsAutomaton.cc (dump): rewritten |
| 4498 |
|
| 4499 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): updated dump() decl |
| 4500 |
|
| 4501 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): updated dump() decl |
| 4502 |
|
| 4503 |
* ACU_CollectorLhsAutomaton.cc: created from ACU_FastLhsAutomaton.cc |
| 4504 |
|
| 4505 |
* ACU_CollectorLhsAutomaton.hh: created from |
| 4506 |
ACU_FastLhsAutomaton.hh |
| 4507 |
|
| 4508 |
===================================Engine33================================================== |
| 4509 |
|
| 4510 |
Fri Nov 21 14:28:50 1997 Steven Eker <[email protected]> |
| 4511 |
|
| 4512 |
* ACU_DagNormalization.cc (extensionNormalizeAtTop): added |
| 4513 |
|
| 4514 |
* ACU_Symbol.cc (eqRewrite): have special handling for case when |
| 4515 |
normalizationStatus == ACU_DagNode::EXTENSION |
| 4516 |
|
| 4517 |
* ACU_DagNode.cc (partialReplace): use setNormalizationStatus() |
| 4518 |
|
| 4519 |
* ACU_Subproblem.cc (solveVariables): use setNormalizationStatus() |
| 4520 |
|
| 4521 |
* ACU_GreedyMatcher.cc (greedyPureMatch): use setNormalizationStatus() |
| 4522 |
|
| 4523 |
* ACU_Matcher.cc (forcedLoneVariableCase): use setNormalizationStatus() |
| 4524 |
|
| 4525 |
* ACU_FastLhsAutomaton.cc (collect): use setNormalizationStatus() |
| 4526 |
|
| 4527 |
* ACU_DagNode.hh (ACU_DagNode): set theory byte to 0 |
| 4528 |
|
| 4529 |
* ACU_Symbol.cc (computeBaseSort): use getNormalizationStatus() |
| 4530 |
(eqRewrite): use getNormalizationStatus() (3 times) |
| 4531 |
|
| 4532 |
* ACU_DagNode.hh (clearShortCircuit): deleted |
| 4533 |
(setShortCircuit): deleted |
| 4534 |
(getShortCircuit): deleted |
| 4535 |
(getNormalizationStatus): added |
| 4536 |
(setNormalizationStatus): added |
| 4537 |
|
| 4538 |
* ACU_DagNode.cc (partialReplace): made and unmade change to |
| 4539 |
remove implicit flattening. The advantage of not implicitly |
| 4540 |
flattening is that we don't mix sorted reduced stuff with unsorted |
| 4541 |
undeduced stuff and thereby defeat are fast normalization. The |
| 4542 |
problem is that we need an extra dag node, more match attempts and |
| 4543 |
the new "not in error sort" semantics of the shortCircuit flag in |
| 4544 |
unsafe here since the extension part could be in the error sort. |
| 4545 |
|
| 4546 |
Thu Nov 20 11:58:34 1997 Steven Eker <[email protected]> |
| 4547 |
|
| 4548 |
* ACU_ExtensionInfo.hh (reset): added; allows extensionInfo to be |
| 4549 |
prepared for use without wasting time clearing it. |
| 4550 |
|
| 4551 |
* ACU_AlienAlienLhsAutomaton.cc (match): put automata pointers into |
| 4552 |
local variable to avoid gcc generating register reloads after |
| 4553 |
function calls. Use ACU_ExtensionInfo::reset(). |
| 4554 |
|
| 4555 |
* ACU_LhsCompiler0.cc (tryToMakeFastAutomation2): fixed bug where |
| 4556 |
we were compile same t1 twice and t2 not at all |
| 4557 |
|
| 4558 |
* ACU_AlienAlienLhsAutomaton.cc (match): handle cases where |
| 4559 |
first/second symbol does not occcur in subject |
| 4560 |
(match): fixed bug where we using wrong local substitution in 2nd match |
| 4561 |
|
| 4562 |
* ACU_LhsCompiler0.cc (tryToMakeFastAutomation2): added missing |
| 4563 |
return for AlienAlien case |
| 4564 |
|
| 4565 |
* ACU_DagNode.hh (class ACU_DagNode): class |
| 4566 |
ACU_AlienAlienLhsAutomaton becomes a friend |
| 4567 |
|
| 4568 |
* ACU_AlienAlienLhsAutomaton.hh (class ACU_AlienAlienLhsAutomaton): created |
| 4569 |
|
| 4570 |
* ACU_AlienAlienLhsAutomaton.cc (ACU_AlienAlienLhsAutomaton): created |
| 4571 |
|
| 4572 |
Tue Nov 18 18:25:08 1997 Steven Eker <[email protected]> |
| 4573 |
|
| 4574 |
* ACU_Term.cc (dump): added |
| 4575 |
(dumpArguments): deleted |
| 4576 |
|
| 4577 |
* ACU_Term.hh (class ACU_Term): dumpArguments() decl becomes dump() |
| 4578 |
|
| 4579 |
* ACU_Term.cc (dumpArguments): removed const; pass variableInfo by |
| 4580 |
ref; switch varableInfo, indentLevel args |
| 4581 |
|
| 4582 |
* ACU_Term.hh (class ACU_Term): dumpArguments() decl now passes |
| 4583 |
variableInfo by ref; removed const; switch varableInfo, |
| 4584 |
indentLevel args |
| 4585 |
|
| 4586 |
Mon Nov 17 11:07:23 1997 Steven Eker <[email protected]> |
| 4587 |
|
| 4588 |
* ACU_Subproblem.cc (computeAssignment): don't pass shortCircuit |
| 4589 |
argument to ACU_DagNode() |
| 4590 |
(solveVariables): setShortCircuit() |
| 4591 |
|
| 4592 |
* ACU_Matcher.cc (forcedLoneVariableCase): call setShortCircuit() |
| 4593 |
|
| 4594 |
* ACU_GreedyMatcher.cc (greedyPureMatch): call setShortCircuit() |
| 4595 |
|
| 4596 |
* ACU_FastLhsAutomaton.cc (collect): call setShortCircuit() |
| 4597 |
|
| 4598 |
* ACU_Symbol.cc (eqRewrite): use getShortCircuit() (three places) |
| 4599 |
|
| 4600 |
* ACU_DagNode.cc (partialReplace): call clearShortCircuit() |
| 4601 |
|
| 4602 |
* ACU_DagNode.hh (class ACU_DagNode): removed shortCircuit arg from |
| 4603 |
ctor |
| 4604 |
(class ACU_DagNode): added decls for getShortCircuit() and |
| 4605 |
setShortCircuit() and clearShortCircuit() |
| 4606 |
(class ACU_DagNode): deleted shortCircuit data member |
| 4607 |
(ACU_DagNode): non longer intialize shortCircuit |
| 4608 |
(setShortCircuit): added |
| 4609 |
(getShortCircuit): added |
| 4610 |
(clearShortCircuit): added |
| 4611 |
|
| 4612 |
Fri Nov 14 10:20:07 1997 Steven Eker <[email protected]> |
| 4613 |
|
| 4614 |
* ACU_LhsAutomaton.cc (dump): dump collapsePossible |
| 4615 |
|
| 4616 |
* ACU_FastLhsAutomaton.cc (collect): added speed hack |
| 4617 |
(dump): implemented |
| 4618 |
|
| 4619 |
* ACU_LhsCompiler0.cc: don't use fast automaton if we're in error |
| 4620 |
sort and we have extension |
| 4621 |
|
| 4622 |
* ACU_FastLhsAutomaton.cc (collect): hand optimized |
| 4623 |
|
| 4624 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): all todays changes |
| 4625 |
unmade as they made things slower |
| 4626 |
|
| 4627 |
* ACU_Matcher.cc: all todays changes unmade as they made things slower |
| 4628 |
|
| 4629 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): data memeber |
| 4630 |
totalMultiplicity deleted |
| 4631 |
(class ACU_LhsAutomaton): updated multiplicityChecks() decl |
| 4632 |
|
| 4633 |
* ACU_Matcher.cc (multiplicityChecks): rewritten; first case now |
| 4634 |
just does copying without multiplicity checks in the case where |
| 4635 |
they will all trvially succeed. Second case now has early failure |
| 4636 |
when totalSubjectMultiplicity > totalUpperBound |
| 4637 |
(multiplicityChecks): rewritten; now sets extensionInfo upperBound |
| 4638 |
(match): pass extensionInfo to multiplicityChecks(); don't set |
| 4639 |
extensionInfo upperBound |
| 4640 |
|
| 4641 |
* ACU_FastLhsAutomaton.cc (ACU_FastLhsAutomaton): changed |
| 4642 |
stripperTopSymbol to stripperSymbol to avoid confusion with data member |
| 4643 |
(match): make sure we actually bind stripper variable |
| 4644 |
(match): bind collector variable in local rather than solution so |
| 4645 |
it does not get overwritten when we copy local into solution |
| 4646 |
|
| 4647 |
* ACU_LhsCompiler0.cc (tryToMakeFastAutomation): pass |
| 4648 |
!(collapseSymbols().empty()) for collapsePossible (2 places) |
| 4649 |
|
| 4650 |
Thu Nov 13 16:11:00 1997 Steven Eker <[email protected]> |
| 4651 |
|
| 4652 |
* ACU_LhsCompiler0.cc: created |
| 4653 |
|
| 4654 |
* ACU_Term.hh (class ACU_Term): added decl for compileLhs2() |
| 4655 |
|
| 4656 |
* ACU_LhsCompiler1.cc (compileLhs2): created from old |
| 4657 |
compileLhs(); now returns ACU_LhsAutomaton* |
| 4658 |
|
| 4659 |
* ACU_DagNode.hh (class ACU_DagNode): ACU_FastLhsAutomaton becomes |
| 4660 |
a friend |
| 4661 |
|
| 4662 |
* ACU_FastLhsAutomaton.hh (class ACU_FastLhsAutomaton): created |
| 4663 |
|
| 4664 |
* ACU_FastLhsAutomaton.cc: created |
| 4665 |
|
| 4666 |
===================================Engine32================================================== |
| 4667 |
|
| 4668 |
Fri Oct 31 16:56:23 1997 Steven Eker <[email protected]> |
| 4669 |
|
| 4670 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): removed buggy |
| 4671 |
optimization where we were binding variables to identity in |
| 4672 |
solution after they had been considered for match against whole |
| 4673 |
subject; the problem is that solution gets returned to caller with |
| 4674 |
these not always correct bindings |
| 4675 |
(multiwayCollapseMatch): make use of the faxt that all variables |
| 4676 |
with multiplicity > 1 will be bound to dentity once we reach the |
| 4677 |
disjuction loop; use DisjunctiveSubproblemAccumulator to simplify code. |
| 4678 |
(multiwayCollapseMatch): eliminated first flag by using empty() |
| 4679 |
|
| 4680 |
Wed Oct 29 10:30:51 1997 Steven Eker <[email protected]> |
| 4681 |
|
| 4682 |
* ACU_DagNode.cc (matchVariableWithExtension): call |
| 4683 |
extensionInfo->setValidAfterMatch(false) |
| 4684 |
|
| 4685 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): don't call |
| 4686 |
extensionInfo->clear() |
| 4687 |
(multiwayCollapseMatch): use extensionInfo->validAfterMatch() |
| 4688 |
(multiwayCollapseMatch): use |
| 4689 |
extensionInfo->setValidAfterMatch(false) in place of extensionInfo->clear() |
| 4690 |
(multiwayCollapseMatch): in the case where the subject is our |
| 4691 |
identity we fix a bug by checking for extension info and calling |
| 4692 |
extensionInfo->setValidAfterMatch(true) and |
| 4693 |
extensionInfo->setMatchedWhole(true) if so. Previously we didn't |
| 4694 |
worry about extension with the result that it was never set, |
| 4695 |
allowing an uninitialized data read in partialConstruct() for example. |
| 4696 |
(multiwayCollapseMatch): non viable variable that are unbound are |
| 4697 |
bound to identity at the outset (that is unbound variables that |
| 4698 |
have multiplicity > 1). The case where nrViableVariables == 0 |
| 4699 |
contained a bug since we could still get a match if extension was |
| 4700 |
present. The case where nrViableVariables == 1 clean up now we |
| 4701 |
know that all other variables are bound to identity. |
| 4702 |
|
| 4703 |
* ACU_Subproblem.cc (fillOutExtensionInfo): use setMatchedWhole() |
| 4704 |
in place of setWholeFlag() (2 places) |
| 4705 |
(solveVariables): use setMatchedWhole() in place of setWholeFlag() |
| 4706 |
|
| 4707 |
* ACU_GreedyMatcher.cc (greedyPureMatch): call |
| 4708 |
setValidAfterMatch(true) if we fill out the extension info |
| 4709 |
|
| 4710 |
* ACU_Matcher.cc (fullMatch): call setValidAfterMatch(false) since |
| 4711 |
extension info will not be valid until solve phase |
| 4712 |
|
| 4713 |
* ACU_ExtensionInfo.cc (makeClone): use setValidAfterMatch(), |
| 4714 |
validAfterMatch() and setMatchedWhole() |
| 4715 |
(copy): use setValidAfterMatch(), |
| 4716 |
validAfterMatch() and setMatchedWhole() |
| 4717 |
|
| 4718 |
Tue Oct 28 10:19:21 1997 Steven Eker <[email protected]> |
| 4719 |
|
| 4720 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): clear extension |
| 4721 |
information if it exists before each call to matchVariable; only |
| 4722 |
save extensionInfo in SubproblemDisjunction in the case where it |
| 4723 |
is valid (regardless of whether subproblem == 0 because we can |
| 4724 |
have the case where extensionInfo is valid but subproblem != 0); |
| 4725 |
Before exiting with true we clear any old extension info that |
| 4726 |
might exist be cause it will now be invalid (having been saved on |
| 4727 |
one of the disjuction paths it cannot be globally valid). |
| 4728 |
|
| 4729 |
Mon Oct 27 11:43:56 1997 Steven Eker <[email protected]> |
| 4730 |
|
| 4731 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): save |
| 4732 |
extensionInfo in SubproblemDisjunction in the case where subproblem == 0 |
| 4733 |
|
| 4734 |
* ACU_ExtensionInfo.hh (class ACU_ExtensionInfo): subject made non |
| 4735 |
const in order to do copy() |
| 4736 |
|
| 4737 |
* ACU_ExtensionInfo.cc (makeClone): added |
| 4738 |
(copy): added |
| 4739 |
|
| 4740 |
* ACU_ExtensionInfo.hh (class ACU_ExtensionInfo): added decls for |
| 4741 |
makeClone() and copy() |
| 4742 |
|
| 4743 |
Fri Oct 24 13:07:30 1997 Steven Eker <[email protected]> |
| 4744 |
|
| 4745 |
* ACU_Subproblem.cc (solveVariables): use |
| 4746 |
ExtensionInfo::buildMatchedPortion() and DagNode::inErrorSort() |
| 4747 |
instead of matchedPortionOK(); call fillOutExtensionInfo() first |
| 4748 |
(matchedPortionOK): deleted |
| 4749 |
|
| 4750 |
* ACU_Subproblem.hh (class ACU_Subproblem): deleted decl for |
| 4751 |
matchedPortionOK(); |
| 4752 |
|
| 4753 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): use |
| 4754 |
EqualitySubproblem instead of ExclusionSubproblem |
| 4755 |
|
| 4756 |
* ACU_DagNode.hh (class ACU_DagNode): class ACU_ExtensionInfo is |
| 4757 |
now a friend |
| 4758 |
|
| 4759 |
* ACU_Symbol.cc (ruleRewrite): switched to new ACU_ExtensionInfo convention |
| 4760 |
(eqRewrite): switched to new ACU_ExtensionInfo convention (3 places) |
| 4761 |
|
| 4762 |
* ACU_DagNode.cc (makeExtensionInfo): switched to new |
| 4763 |
ACU_ExtensionInfo convention |
| 4764 |
|
| 4765 |
* ACU_Theory.cc: deleted |
| 4766 |
|
| 4767 |
* ACU_ExtensionInfo.cc: created |
| 4768 |
|
| 4769 |
* ACU_ExtensionInfo.hh (ACU_ExtensionInfo): ctor now takes subject |
| 4770 |
rather than nrArgs; added decl for buildMatchedPortion() |
| 4771 |
(clear): use subject data member |
| 4772 |
(ACU_ExtensionInfo): store subject arg in data member |
| 4773 |
|
| 4774 |
Tue Oct 21 12:23:04 1997 Steven Eker <[email protected]> |
| 4775 |
|
| 4776 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): add exclusion |
| 4777 |
subproblems to eliminate duplicate solutions in the case that the |
| 4778 |
subject matches out identity with extension. |
| 4779 |
|
| 4780 |
* ACU_Term.cc (dagify2): switched to new convention |
| 4781 |
|
| 4782 |
* ACU_Term.hh (class ACU_Term): switched dagify2() decl to new convention |
| 4783 |
|
| 4784 |
Wed Oct 15 17:17:16 1997 Steven Eker <[email protected]> |
| 4785 |
|
| 4786 |
* ACU_Subproblem.cc (solveVariables): use BinarySymbol::getIdentityDag() |
| 4787 |
(2 places) |
| 4788 |
(solveVariables): delete identityDag local variable |
| 4789 |
|
| 4790 |
* ACU_GreedyMatcher.cc (greedyPureMatch): use BinarySymbol::getIdentityDag() |
| 4791 |
(greedyPureMatch): delete identityDag local variable |
| 4792 |
|
| 4793 |
* ACU_Matcher.cc (match): use BinarySymbol::getIdentityDag() |
| 4794 |
|
| 4795 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): delete identityDag |
| 4796 |
arg from bindUnboundVariablesToIdentity() |
| 4797 |
|
| 4798 |
* ACU_CollapseMatcher.cc (uniqueCollapseMatch): use BinarySymbol::getIdentityDag() |
| 4799 |
(bindUnboundVariablesToIdentity): use |
| 4800 |
BinarySymbol::getIdentityDag(); remove identityDag arg |
| 4801 |
(multiwayCollapseMatch): use BinarySymbol::getIdentityDag() |
| 4802 |
|
| 4803 |
* ACU_LhsCompiler1.cc (analyseConstraintPropagation): use VariableTerm::dynamicCast() |
| 4804 |
(compileLhs): use VariableTerm::dynamicCast() |
| 4805 |
|
| 4806 |
* ACU_Term.cc (mightCollapseToOurSymbol): deleted |
| 4807 |
(mightMatchOurIdentity): deleted |
| 4808 |
(analyseCollapses): use BinarySymbol::mightMatchOurIdentity() |
| 4809 |
(insertAbstractionVariables): use BinarySymbol::mightMatchOurIdentity() |
| 4810 |
(insertAbstractionVariables): use PermuteSymbol::mightCollapseToOurSymbol() |
| 4811 |
(compileRhs): use VariableTerm::dynamicCast() |
| 4812 |
(insertAbstractionVariables): use VariableTerm::dynamicCast() |
| 4813 |
|
| 4814 |
* ACU_Term.hh (class ACU_Term): deleted decls for |
| 4815 |
mightCollapseToOurSymbol() and mightMatchOurIdentity() |
| 4816 |
|
| 4817 |
* ACU_Symbol.cc (~ACU_Symbol): deleted |
| 4818 |
(compileOpDeclarations): use BinarySymbol::processIdentity() |
| 4819 |
(eqRewrite): use getIdentity() (2 places) |
| 4820 |
(computeTrueSort): use getIdentity() |
| 4821 |
|
| 4822 |
* ACU_Symbol.hh (class ACU_Symbol): delete dtor decl |
| 4823 |
|
| 4824 |
* ACU_Symbol.cc (ACU_Symbol): rewritten to use new PermuteSymbol conventions |
| 4825 |
|
| 4826 |
* ACU_Symbol.hh (class ACU_Symbol): removed constructor arg from |
| 4827 |
ctor; deleted decls for getIdentity() and makeIdentityDag(); |
| 4828 |
(class ACU_Symbol): deleted identity, identityAutomaton and |
| 4829 |
identitySubstitution data members |
| 4830 |
(getIdentity): deleted |
| 4831 |
(makeIdentityDag): deleted |
| 4832 |
|
| 4833 |
Mon Oct 13 10:36:57 1997 Steven Eker <[email protected]> |
| 4834 |
|
| 4835 |
* ACU_Term.cc (mightCollapseToOurSymbol): added |
| 4836 |
(mightMatchOurIdentity): added |
| 4837 |
(analyseCollapses): added |
| 4838 |
(insertAbstractionVariables): added |
| 4839 |
(determineCollapseSymbols): deleted |
| 4840 |
|
| 4841 |
* ACU_Term.hh (class ACU_Term): added decls for analyseCollapses() |
| 4842 |
and insertAbstractionVariables(); delete decl for determineCollapseSymbols() |
| 4843 |
|
| 4844 |
* ACU_LhsAutomaton.cc (dump): index2Symbol() -> index2Variable() |
| 4845 |
|
| 4846 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): VariableIndex -> VariableInfo |
| 4847 |
|
| 4848 |
* ACU_LhsAutomaton.cc (dump): VariableIndex -> VariableInfo |
| 4849 |
|
| 4850 |
* ACU_Term.cc (dumpArguments): VariableIndex -> VariableInfo |
| 4851 |
(determineCollapseSymbols): VariableIndex -> VariableInfo |
| 4852 |
(dumpArguments): VariableIndex -> VariableInfo |
| 4853 |
|
| 4854 |
* ACU_Term.hh (class ACU_Term): VariableIndex -> VariableInfo |
| 4855 |
|
| 4856 |
* ACU_Symbol.cc (compileOpDeclarations): VariableIndex -> |
| 4857 |
VariableInfo |
| 4858 |
|
| 4859 |
===================================Engine30================================================== |
| 4860 |
|
| 4861 |
Tue Oct 7 15:32:51 1997 Steven Eker <[email protected]> |
| 4862 |
|
| 4863 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for makeDagNode() |
| 4864 |
|
| 4865 |
* ACU_Symbol.cc (makeDagNode): added |
| 4866 |
|
| 4867 |
Fri Oct 3 19:26:11 1997 Steven Eker <[email protected]> |
| 4868 |
|
| 4869 |
* ACU_Symbol.cc (compileOpDeclarations): DataSet -> TermSet |
| 4870 |
|
| 4871 |
* ACU_Term.cc (compileRhs): DataSet -> TermSet |
| 4872 |
(dagify2): DataSet -> TermSet |
| 4873 |
|
| 4874 |
* ACU_Term.hh (class ACU_Term): DataSet -> TermSet |
| 4875 |
|
| 4876 |
===================================Engine29================================================== |
| 4877 |
|
| 4878 |
Thu Oct 2 17:43:48 1997 Steven Eker <[email protected]> |
| 4879 |
|
| 4880 |
* ACU_Symbol.cc (compileOpDeclarations): pass DataSet to compileRhs() |
| 4881 |
|
| 4882 |
* ACU_Term.hh (class ACU_Term): updated compileRhs() decl |
| 4883 |
|
| 4884 |
* ACU_Term.cc (compileRhs): adapted to use DataSet& compiled |
| 4885 |
|
| 4886 |
Tue Sep 30 12:18:57 1997 Steven Eker <[email protected]> |
| 4887 |
|
| 4888 |
* ACU_Term.hh (class ACU_Term): dagify() decl changed to dagify2() |
| 4889 |
|
| 4890 |
* ACU_Term.cc (normalize): now compute hash values |
| 4891 |
(dagify2): adapted from dagify() |
| 4892 |
|
| 4893 |
Thu Sep 25 16:38:20 1997 Steven Eker <[email protected]> |
| 4894 |
|
| 4895 |
* ACU_Term.cc (determineCollapseSymbols): use getOpDeclarations() |
| 4896 |
|
| 4897 |
* ACU_Symbol.cc (specificRewrite): deleted |
| 4898 |
|
| 4899 |
* ACU_Symbol.hh (class ACU_Symbol): deleted decl for |
| 4900 |
specificRewrite() |
| 4901 |
|
| 4902 |
===================================Engine28================================================== |
| 4903 |
|
| 4904 |
Mon Aug 25 12:11:34 1997 Steven Eker <[email protected]> |
| 4905 |
|
| 4906 |
* ACU_Symbol.cc (eqRewrite): fixed a bug where we could collapse |
| 4907 |
to an unreduced subterm and stop rewriting at this node. We now |
| 4908 |
return true in this case to force rewriting to continue. |
| 4909 |
|
| 4910 |
Tue Aug 19 15:27:21 1997 Steven Eker <[email protected]> |
| 4911 |
|
| 4912 |
* ACU_DagNode.hh (nrArgs): added |
| 4913 |
(getArgument): added |
| 4914 |
(getMultiplicity): added |
| 4915 |
(class ACU_DagNode): added decl for nrArgs(), getArgument(int i), |
| 4916 |
getMultiplicity(int i). This provide a fast interface to the |
| 4917 |
argument list for non ACU_Theory code that is ACU_Theory aware |
| 4918 |
(maybe classes derived from ACU_Symbol). |
| 4919 |
|
| 4920 |
Fri Jul 25 18:04:23 1997 Steven Eker <[email protected]> |
| 4921 |
|
| 4922 |
* ACU_DagNode.cc (partialReplace): removed Assert(getSortIndex() == |
| 4923 |
Sort::SORT_UNKNOWN, cerr << "shouldn't have valid sort"); since if |
| 4924 |
node was original created by matcher it may well have valid sort |
| 4925 |
|
| 4926 |
Thu Jul 24 11:20:50 1997 Steven Eker <[email protected]> |
| 4927 |
|
| 4928 |
* ACU_GreedyMatcher.cc (greedyPureMatch): optimized vector |
| 4929 |
accesses for assignment building |
| 4930 |
(greedyPureMatch): optimized inner loop for assigning unassigned subjects |
| 4931 |
|
| 4932 |
* ACU_Subproblem.cc (computeAssignment): pass shortCircuit = |
| 4933 |
true to ACU_DagNode() |
| 4934 |
|
| 4935 |
* ACU_GreedyMatcher.cc (greedyPureMatch): pass shortCircuit = |
| 4936 |
true to ACU_DagNode() |
| 4937 |
|
| 4938 |
* ACU_Matcher.cc (forcedLoneVariableCase): pass shortCircuit = |
| 4939 |
true to ACU_DagNode() |
| 4940 |
|
| 4941 |
* ACU_Symbol.cc (eqRewrite): added s->eliminateArgument(identity) |
| 4942 |
calls after new normalizeAtTop() calls |
| 4943 |
(eqRewrite): rewritten from scatch to make use of short circuit |
| 4944 |
|
| 4945 |
* ACU_DagNode.cc (partialReplace): clear shortCircuit flag |
| 4946 |
|
| 4947 |
* ACU_DagNode.hh (ACU_DagNode): set shortCircuit flag |
| 4948 |
|
| 4949 |
* ACU_Symbol.cc (eqRewrite): added normalizeAtTop() calls after |
| 4950 |
sort computation for LAZY and SEMI_EAGER cases; this fixes a bug |
| 4951 |
introduced by just-in-time normalization |
| 4952 |
|
| 4953 |
* ACU_DagNode.hh (class ACU_DagNode): added shortCircuit data |
| 4954 |
member; the idea is to set this when an ACU_DagNode is created in |
| 4955 |
the matcher cut down need for normalization checking |
| 4956 |
|
| 4957 |
Wed Jul 23 11:50:27 1997 Steven Eker <[email protected]> |
| 4958 |
|
| 4959 |
* ACU_DagNode.cc (partialReplace): added call to repudiateSortInfo() |
| 4960 |
|
| 4961 |
* ACU_Term.cc (normalize): added full flag |
| 4962 |
(normalize): don't call normalizeAliensAndFlatten() if full = false |
| 4963 |
(normalizeAliensAndFlatten): pass full = true to normalize() |
| 4964 |
|
| 4965 |
* ACU_Term.hh (class ACU_Term): added full flag to normalize |
| 4966 |
|
| 4967 |
* ACU_Symbol.cc (ACU_Symbol): pass full = true to normalize() |
| 4968 |
(compileOpDeclarations): deleted superfluous normalization call |
| 4969 |
|
| 4970 |
Mon Jul 21 10:24:23 1997 Steven Eker <[email protected]> |
| 4971 |
|
| 4972 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): updated |
| 4973 |
buildArguments() decl |
| 4974 |
|
| 4975 |
* ACU_RhsAutomaton.cc (buildArguments): take argArray rather than node |
| 4976 |
|
| 4977 |
* ACU_Symbol.cc (computeTrueSort): now do normalization |
| 4978 |
|
| 4979 |
* ACU_DagNode.hh (class ACU_DagNode): deleted |
| 4980 |
normalizeEagerUptoReduced2() and nonEagerInsert() decls |
| 4981 |
|
| 4982 |
* ACU_DagNode.cc (normalizeEagerUptoReduced2): deleted |
| 4983 |
(partialReplace): no longer attempt to normalize node |
| 4984 |
(partialConstruct): no longer attempt to normalize node |
| 4985 |
(copyWithReplacement): no longer attempt to normalize node |
| 4986 |
(nonEagerInsert): deleted |
| 4987 |
|
| 4988 |
* ACU_Term.cc (compileRhs): no longer pass normalize flag to ACU_RhsAutomaton |
| 4989 |
(compileRhs): no longer pass term to addArgument() |
| 4990 |
|
| 4991 |
* ACU_RhsAutomaton.cc (ACU_RhsAutomaton): no longer initialize simpleCtor |
| 4992 |
(buildArguments): no longer check for reduced args or return bool |
| 4993 |
(construct): greatly simplified; no longer attempt normalization |
| 4994 |
under any circumstance |
| 4995 |
(replace): greatly simplified; no longer attempt normalization |
| 4996 |
under any circumstance |
| 4997 |
|
| 4998 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): removed simpleCtor |
| 4999 |
member |
| 5000 |
(class ACU_RhsAutomaton): changed buildArguments() decl |
| 5001 |
|
| 5002 |
===================================Engine26b================================================== |
| 5003 |
|
| 5004 |
Fri Jul 18 16:11:45 1997 Steven Eker <[email protected]> |
| 5005 |
|
| 5006 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): (26) updated to |
| 5007 |
agree with all the changes below |
| 5008 |
|
| 5009 |
* ACU_RhsAutomaton.cc (ACU_RhsAutomaton): (26b) stripped stable stuff; |
| 5010 |
deleted normalize arg |
| 5011 |
(addArgument): (26b) all stable stuff removed; term arg removed |
| 5012 |
(close): (26b) all stable stuff removed |
| 5013 |
(calculateFlattening): (26b) all stable stuff removed |
| 5014 |
(normalizeBuildArguments): (26b) deleted |
| 5015 |
(buildArguments): (26b) created from old fastBuildArguments) |
| 5016 |
(calculateFlattening): (26b) deleted |
| 5017 |
(buildArguments): (26b) now return allReducedFlag |
| 5018 |
(tryToSetReducedFlag): (26b) deleted |
| 5019 |
(allArgumentsReduced): (26b) deleted |
| 5020 |
(replace): (26b) rewritten |
| 5021 |
(construct): (26b) rewritten |
| 5022 |
|
| 5023 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): (26b) stripped |
| 5024 |
stable stuff |
| 5025 |
(class ACU_RhsAutomaton): (26b) stripped normalize flag |
| 5026 |
(class ACU_RhsAutomaton): (26b) removed normalize arg from ctor |
| 5027 |
|
| 5028 |
* ACU_DagNode.cc (normalizeEagerUpToReduced2): added |
| 5029 |
(nonEagerInsert): use normalizeEagerUpToReduced() |
| 5030 |
|
| 5031 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 5032 |
normalizeEagerUpToReduced2() |
| 5033 |
|
| 5034 |
Thu Jul 17 10:38:22 1997 Steven Eker <[email protected]> |
| 5035 |
|
| 5036 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for nonEagerInsert() |
| 5037 |
|
| 5038 |
* ACU_DagNode.cc (nonEagerInsert): added |
| 5039 |
(partialReplace): rewritten using nonEagerInsert() |
| 5040 |
(partialConstruct): rewritten using nonEagerInsert() |
| 5041 |
(copyWithReplacement): rewritten using nonEagerInsert() |
| 5042 |
|
| 5043 |
* ACU_RhsAutomaton.cc (addArgument): changed criteria for stable |
| 5044 |
arg; must |
| 5045 |
(1) be stable term; |
| 5046 |
(2) not have our top symbol on top (+NEW*) |
| 5047 |
(3) not have our identity's top symbol on top (*NEW*) |
| 5048 |
(4) have a top symbol greater than that of last stable arg |
| 5049 |
Condition (2) is necessary since we will no longer flatten rhs in |
| 5050 |
eager context. Condition (3) allows us to restrict search for |
| 5051 |
identity to case where we have unstable args. |
| 5052 |
(normalizeBuildArguments): code for removing identity elements |
| 5053 |
pushed into unstable case |
| 5054 |
|
| 5055 |
* ACU_Term.cc (compileRhs): calculate and pass normalize flag to |
| 5056 |
ACU_RhsAutomaton() |
| 5057 |
|
| 5058 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): runs -> runsBuffer |
| 5059 |
(class ACU_RhsAutomaton): added and changed memebr function decls |
| 5060 |
to agree with all the recent changes in ACU_RhsAutomaton.cc |
| 5061 |
|
| 5062 |
* ACU_RhsAutomaton.cc (normalizeBuildArguments): created from old |
| 5063 |
buildArguments(); now do identity elimination |
| 5064 |
(close): runs renamed to runsBuffer |
| 5065 |
(replace): rewritten from scratch to be like new construct() |
| 5066 |
(ACU_RhsAutomaton): initialize normalize flag |
| 5067 |
|
| 5068 |
Wed Jul 16 11:41:48 1997 Steven Eker <[email protected]> |
| 5069 |
|
| 5070 |
* ACU_RhsAutomaton.cc (construct): fixed bug where we were |
| 5071 |
applying tryToSetReducedFlag() to a non ACU dagnode produced by |
| 5072 |
eliminateArgument(identity) |
| 5073 |
(replace): fix bug similar to above |
| 5074 |
(construct): rewritten from scratch to handle building dagNode in |
| 5075 |
normalized or denormalized form depending on the circumstances |
| 5076 |
(buildAliens): now much simpler; return void |
| 5077 |
(allArgumentsReduced): added |
| 5078 |
(calculateFlattening): added |
| 5079 |
(fastBuildArguments): added |
| 5080 |
(tryToSetReducedFlag): simplified |
| 5081 |
|
| 5082 |
Tue Jul 15 15:33:28 1997 Steven Eker <[email protected]> |
| 5083 |
|
| 5084 |
* ACU_RhsAutomaton.cc (ACU_RhsAutomaton): simpleCtor |
| 5085 |
initialization simplified |
| 5086 |
|
| 5087 |
* ACU_Symbol.cc (ACU_Symbol): added inert arg |
| 5088 |
(eqRewrite): inert() call replaced by equationFree() call |
| 5089 |
|
| 5090 |
* ACU_Symbol.hh (class ACU_Symbol): added inert arg to ctor |
| 5091 |
|
| 5092 |
=====================================Engine26================================================= |
| 5093 |
|
| 5094 |
Mon Jul 14 10:48:39 1997 Steven Eker <[email protected]> |
| 5095 |
|
| 5096 |
* ACU_DagNode.hh (class ACU_DagNode): changed decl for |
| 5097 |
sortAndUniquize(); tidied private function decls |
| 5098 |
|
| 5099 |
* ACU_DagNormalization.cc (sortAndUniquize): code cleaned; make |
| 5100 |
non-static; arg deleted; made local_inline |
| 5101 |
(flattenSortAndUniquize): made local_inline |
| 5102 |
(normalizeAtTop): deleted arg from sortAndUniquize() call |
| 5103 |
|
| 5104 |
Fri Jul 11 12:01:09 1997 Steven Eker <[email protected]> |
| 5105 |
|
| 5106 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for flattenSortAndUniquize() |
| 5107 |
|
| 5108 |
* ACU_DagNormalization.cc: created |
| 5109 |
(normalizeAtTop): optimized; now use flattenSortAndUniquize() |
| 5110 |
(flattenSortAndUniquize): added |
| 5111 |
|
| 5112 |
* ACU_DagOperations.cc: created |
| 5113 |
|
| 5114 |
* ACU_DagNode.cc: ACU specific functions split off into |
| 5115 |
ACU_DagNormalization.cc and ACU_DagOperations.cc |
| 5116 |
|
| 5117 |
Wed Jul 9 10:53:22 1997 Steven Eker <[email protected]> |
| 5118 |
|
| 5119 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): added decl for |
| 5120 |
tryToSetReducedFlag() |
| 5121 |
|
| 5122 |
* ACU_RhsAutomaton.cc (topSymbol): initialize simpleCtor |
| 5123 |
(tryToSetReducedFlag): added |
| 5124 |
|
| 5125 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): simpleStor flag added |
| 5126 |
|
| 5127 |
* ACU_Subproblem.cc (computeAssignment): added comment to note the |
| 5128 |
fact that assigments are built in normal form |
| 5129 |
(solveVariables): added topSymbol and buildReducedNodes local |
| 5130 |
variables; now set reduced flags on nodes with our top symbol if |
| 5131 |
the subject is reduced. |
| 5132 |
|
| 5133 |
* ACU_Matcher.cc (forcedLoneVariableCase): set reduced flag on |
| 5134 |
created ACU dag node if subject is reduced and new dag node has |
| 5135 |
its true sort after sort checkSort() |
| 5136 |
|
| 5137 |
* ACU_GreedyMatcher.cc (greedyPureMatch): if the subject is |
| 5138 |
reduced and the top symbol is sort constraint free when we build |
| 5139 |
assignments using the top symbols we compute their true sort |
| 5140 |
(which is equal to their base sort) and set the reduced flag. This |
| 5141 |
avoid unnecessary future normalization and matching attempts at |
| 5142 |
the cost of a small matching overhead and having the matcher no |
| 5143 |
longer oblivious to reduced flags and sort constraints. Ideally |
| 5144 |
this optimization should only be done for assignments to variables |
| 5145 |
that are "useful"; i.e. that appear in the rhs or condition. At |
| 5146 |
some point we should add a "useful" flag to TopVariable or maybe a |
| 5147 |
more sophisticated mechanism that would allow optimization of solutions. |
| 5148 |
|
| 5149 |
Tue Jul 1 10:19:58 1997 Steven Eker <[email protected]> |
| 5150 |
|
| 5151 |
* ACU_DagNode.cc (compareArguments): use modified multiset ordering |
| 5152 |
|
| 5153 |
* ACU_Term.cc (compareArguments): use modified multiset ordering |
| 5154 |
(compareArguments): use modified multiset ordering |
| 5155 |
|
| 5156 |
* ACU_DagNode.cc (sortAndUniquize): switched two tests on "r" |
| 5157 |
because we now sort in ascending order |
| 5158 |
(mergeSortAndUniquize): switched two tests on "r" |
| 5159 |
because we now sort in ascending order |
| 5160 |
(findFirstOccurrence): switched test on "r" because we now |
| 5161 |
sort in ascending order |
| 5162 |
(binarySearch): switched test on "r" because we now |
| 5163 |
sort in ascending order (DagNode* version) |
| 5164 |
(binarySearch): switched test on "r" because we now |
| 5165 |
sort in ascending order (Term* version) |
| 5166 |
|
| 5167 |
Mon Jun 30 16:28:11 1997 Steven Eker <[email protected]> |
| 5168 |
|
| 5169 |
* ACU_DagNode.cc (compareArguments): rewritten to do multiset ordering under the |
| 5170 |
assumption that args are sorted in ascending order |
| 5171 |
|
| 5172 |
* ACU_RhsAutomaton.cc (buildArguments): changed comparison to r > |
| 5173 |
0 now that we want to swap args into ascending order |
| 5174 |
(addArgument): changed test for adding new stable arg to < 0 since |
| 5175 |
stable args will now be in ascending order of symbols |
| 5176 |
|
| 5177 |
* ACU_Term.cc (pairCompare): use ascending rather than descending |
| 5178 |
order to sort ACU arg list |
| 5179 |
(compareArguments): rewritten to do multiset ordering under the |
| 5180 |
assumption that args are sorted in ascending order (Term* version) |
| 5181 |
(compareArguments): rewritten to do multiset ordering under the |
| 5182 |
assumption that args are sorted in ascending order (DagNode* version) |
| 5183 |
|
| 5184 |
Fri Jun 27 15:50:27 1997 Steven Eker <[email protected]> |
| 5185 |
|
| 5186 |
* ACU_DagNode.hh (class ACU_DagNode): copyEagerUptoReduced2() and |
| 5187 |
clearCopyPointers2() made private |
| 5188 |
|
| 5189 |
* ACU_DagNode.cc (eliminateArgument): use copyReducible() |
| 5190 |
rather than copyUptoEager(); we weren't calling |
| 5191 |
clearCopyPointers() which was a serious but subtle bug. |
| 5192 |
(copyWithReplacement): use copyReducible() |
| 5193 |
rather than copyUptoEager(); we weren't calling |
| 5194 |
clearCopyPointers() |
| 5195 |
(partialReplace): use copyReducible() |
| 5196 |
rather than copyUptoEager(); we weren't calling |
| 5197 |
clearCopyPointers() |
| 5198 |
(partialConstruct): use copyReducible() |
| 5199 |
rather than copyUptoEager(); we weren't calling |
| 5200 |
clearCopyPointers() |
| 5201 |
|
| 5202 |
* ACU_Symbol.cc (copyAndReduceSubterms): use copyReducible() |
| 5203 |
rather than copyUptoEager() and clearCopyPointers(); |
| 5204 |
|
| 5205 |
Wed Jun 25 15:15:12 1997 Steven Eker <[email protected]> |
| 5206 |
|
| 5207 |
* ACU_Symbol.cc: added #include "variable.hh" |
| 5208 |
|
| 5209 |
Tue Jun 24 15:53:31 1997 Steven Eker <[email protected]> |
| 5210 |
|
| 5211 |
* ACU_LhsAutomaton.cc (addTopVariable): changed Variable* |
| 5212 |
to VariableTerm* |
| 5213 |
|
| 5214 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): changed Variable* |
| 5215 |
to VariableTerm* in addTopVariable() decl |
| 5216 |
|
| 5217 |
* ACU_Term.cc: added #include "variable.hh" |
| 5218 |
|
| 5219 |
* ACU_LhsCompiler1.cc (analyseConstraintPropagation): use VariableTerm::downCast() |
| 5220 |
(compileLhs): use VariableTerm::downCast() |
| 5221 |
|
| 5222 |
* ACU_Term.cc (compileRhs): use VariableTerm::downCast() |
| 5223 |
|
| 5224 |
Thu Jun 19 10:38:03 1997 Steven Eker <[email protected]> |
| 5225 |
|
| 5226 |
* ACU_Symbol.cc: deleted #include "unionFind.hh" |
| 5227 |
|
| 5228 |
Tue Jun 17 16:40:13 1997 Steven Eker <[email protected]> |
| 5229 |
|
| 5230 |
* ACU_Symbol.cc (compileOpDeclarations): no longer do the assoc |
| 5231 |
stuff here |
| 5232 |
|
| 5233 |
* ACU_Symbol.hh (class ACU_Symbol): deleted compileEquations() decl |
| 5234 |
|
| 5235 |
* ACU_Symbol.cc (finalizeSortInfo): added |
| 5236 |
(compileEquations): deleted |
| 5237 |
|
| 5238 |
* ACU_Symbol.hh (class ACU_Symbol): added decl for finalizeSortInfo() |
| 5239 |
|
| 5240 |
Wed Jun 11 10:35:22 1997 Steven Eker <[email protected]> |
| 5241 |
|
| 5242 |
* ACU_LhsCompiler1.cc (analyseConstraintPropagation): use |
| 5243 |
willGroundOutMatch() |
| 5244 |
(compileLhs): use willGroundOutMatch() |
| 5245 |
|
| 5246 |
* ACU_LhsCompiler2.cc (findConstraintPropagationSequence): use |
| 5247 |
willGroundOutMatch() |
| 5248 |
|
| 5249 |
Tue Jun 10 10:24:35 1997 Steven Eker <[email protected]> |
| 5250 |
|
| 5251 |
* ACU_LhsCompiler2.cc (findConstraintPropagationSequence): don't |
| 5252 |
add in grounded out aliens unless they also "honor ground out match". |
| 5253 |
|
| 5254 |
Fri Jun 6 18:32:04 1997 Steven Eker <[email protected]> |
| 5255 |
|
| 5256 |
* ACU_Term.hh (class ACU_Term): deleted addSubsumedAliens() decl |
| 5257 |
|
| 5258 |
* ACU_LhsCompiler2.cc (compileAliensOnlyCase): removed call to |
| 5259 |
addSubsumedAliens(); We cannot safely add subsumed aliens for the |
| 5260 |
following reason: Even though the subsumed alien will not steal |
| 5261 |
the only match for its subsuming alien (unless there is no overall |
| 5262 |
match) it could take the wrong match if there is a subproblem; and |
| 5263 |
we would not discover this until the solve phase when it is too |
| 5264 |
late. We could make the use of this optimization conditional on |
| 5265 |
there being no subproblem at match time but this complicates what is |
| 5266 |
a very minor infrequently usable optimization beyond its utility - |
| 5267 |
so we ditch it altogether. |
| 5268 |
(addSubsumedAliens): deleted |
| 5269 |
|
| 5270 |
* ACU_DagNode.hh (class ACU_DagNode): added |
| 5271 |
matchVariableWithExtension() decl |
| 5272 |
|
| 5273 |
* ACU_Symbol.hh (class ACU_Symbol): deleted |
| 5274 |
matchVariableWithExtension() decl |
| 5275 |
|
| 5276 |
* ACU_DagNode.cc (matchVariableWithExtension): added |
| 5277 |
|
| 5278 |
* ACU_Symbol.cc (matchVariableWithExtension): deleted |
| 5279 |
|
| 5280 |
Thu Jun 5 11:48:46 1997 Steven Eker <[email protected]> |
| 5281 |
|
| 5282 |
* ACU_DagNode.cc (copyEagerUptoReduced2): adapted from old |
| 5283 |
copyEagerUptoReduced() |
| 5284 |
(clearCopyPointers2): adapted from old clearCopyPointers() |
| 5285 |
|
| 5286 |
* ACU_DagNode.hh (class ACU_DagNode): decls for |
| 5287 |
clearCopyPointers() and copyEagerUptoReduced() changed |
| 5288 |
|
| 5289 |
* ACU_Subproblem.cc (solveVariables): don't pass context in call |
| 5290 |
to computeAssignment() |
| 5291 |
|
| 5292 |
* ACU_Subproblem.hh (class ACU_Subproblem): updated |
| 5293 |
computeAssignment() decl |
| 5294 |
|
| 5295 |
* ACU_Subproblem.cc (computeAssignment): no longer compute sort of |
| 5296 |
returned DagNode |
| 5297 |
(solveVariables): use inErrorSort() rather than |
| 5298 |
computeTrueSortWhilePreservingContext() |
| 5299 |
(solveVariables): use checkSort() now that assignment is no longer |
| 5300 |
guarenteed to have a sort |
| 5301 |
(computeAssignment): removed context arg as no longer needed |
| 5302 |
|
| 5303 |
* ACU_Symbol.cc (ACU_Symbol): don't pass stable arg to Symbol; in |
| 5304 |
fact we were aleays passing true which was a bug! |
| 5305 |
|
| 5306 |
==============================Engine24==================================== |
| 5307 |
|
| 5308 |
Tue Jun 3 17:01:31 1997 Steven Eker <[email protected]> |
| 5309 |
|
| 5310 |
* ACU_CollapseMatcher.cc (uniqueCollapseMatch): now cope with |
| 5311 |
abstraction variables |
| 5312 |
(multiwayCollapseMatch): removed error check for matching identity |
| 5313 |
at top because such a match may ultimately fail due to abstraction |
| 5314 |
subproblems and is therefore not necessarily illegal. |
| 5315 |
(collapseMatch): handle abstraction variables in multiway collapse |
| 5316 |
case |
| 5317 |
|
| 5318 |
Mon Jun 2 11:16:05 1997 Steven Eker <[email protected]> |
| 5319 |
|
| 5320 |
* ACU_Symbol.cc (compileOpDeclarations): move identity code here |
| 5321 |
because we need sorts to be done before we can do collapse analysis |
| 5322 |
|
| 5323 |
* ACU_LhsAutomaton.cc (dump): handle abstraction variables |
| 5324 |
|
| 5325 |
* ACU_Matcher.cc (match): Assert in wrong place |
| 5326 |
|
| 5327 |
* ACU_Term.cc (determineCollapseSymbols): fixed bug where we had |
| 5328 |
wrong test for setting p.collapseToOurSymbol |
| 5329 |
|
| 5330 |
* ACU_LhsAutomaton.cc (addAbstractionVariable): fixed bug where we |
| 5331 |
were assigning tv.upperBound to itself rather than initializing it |
| 5332 |
from upperBound arg |
| 5333 |
|
| 5334 |
* ACU_Matcher.cc (fullMatch): pass nrVariables arg to |
| 5335 |
VariableAbstractionSubproblem() |
| 5336 |
|
| 5337 |
Fri May 30 11:56:07 1997 Steven Eker <[email protected]> |
| 5338 |
|
| 5339 |
* ACU_LhsCompiler1.cc (compileLhs): check abstractionVariableIndex |
| 5340 |
against NONE rather than 0 |
| 5341 |
|
| 5342 |
* ACU_Matcher.cc (match): handle the variable only case |
| 5343 |
case where the last unbound variable is an abstraction variable |
| 5344 |
and there is nothing to bind it to except identity |
| 5345 |
(forcedLoneVariableCase): rewritten to deal with abstraction variables |
| 5346 |
(fullMatch): deal with abstraction variables |
| 5347 |
|
| 5348 |
* ACU_LhsCompiler1.cc (compileLhs): rewritten to |
| 5349 |
handle abstractionVariable and honorsGroundOutMatch() |
| 5350 |
|
| 5351 |
* ACU_LhsAutomaton.cc (addTopVariable): set abstracted to 0 |
| 5352 |
|
| 5353 |
* ACU_LhsCompiler1.cc (analyseConstraintPropagation): rewritten to |
| 5354 |
handle abstractionVariable and honorsGroundOutMatch() |
| 5355 |
|
| 5356 |
* ACU_LhsAutomaton.cc (addAbstractionVariable): added |
| 5357 |
|
| 5358 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added abstracted |
| 5359 |
field to struct TopVariable |
| 5360 |
(class ACU_LhsAutomaton): added decl for addAbstractionVariable() |
| 5361 |
|
| 5362 |
Thu May 29 16:57:27 1997 Steven Eker <[email protected]> |
| 5363 |
|
| 5364 |
* ACU_Term.cc (determineCollapseSymbols): major rewrite to set |
| 5365 |
honorsGroundOutMatch and collapseToOurSymbol and matchOurIdentity flags |
| 5366 |
(dumpArguments): print collapseToOurSymbol and matchOurIdentity |
| 5367 |
|
| 5368 |
* ACU_Term.hh (class ACU_Term): added collapseToOurSymbol and |
| 5369 |
matchOurIdentity to struct Pair |
| 5370 |
|
| 5371 |
Wed May 28 11:29:39 1997 Steven Eker <[email protected]> |
| 5372 |
|
| 5373 |
* ACU_Subproblem.cc (deepSelfDestruct): fixed long standing memory |
| 5374 |
leak where we were deleting rather than deepSelfDestruct()ing edge |
| 5375 |
subproblems |
| 5376 |
|
| 5377 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): pass identityDag |
| 5378 |
arg to bindUnboundVariablesToIdentity() |
| 5379 |
(bindUnboundVariablesToIdentity): added identityDag arg |
| 5380 |
|
| 5381 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added identityDag |
| 5382 |
arg to bindUnboundVariablesToIdentity() |
| 5383 |
|
| 5384 |
* ACU_LhsAutomaton.cc: added include for SubproblemDisjunction |
| 5385 |
|
| 5386 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): now use |
| 5387 |
SubproblemDisjunction rather than ACU_CollapseSubproblem |
| 5388 |
|
| 5389 |
Tue May 27 11:19:03 1997 Steven Eker <[email protected]> |
| 5390 |
|
| 5391 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): considerably |
| 5392 |
simplified using DagNode::matchVariable() |
| 5393 |
|
| 5394 |
Fri May 23 14:18:00 1997 Steven Eker <[email protected]> |
| 5395 |
|
| 5396 |
* ACU_CollapseSubproblem.cc: created |
| 5397 |
|
| 5398 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): general case added |
| 5399 |
|
| 5400 |
* ACU_CollapseSubproblem.hh (class ACU_CollapseSubproblem): created |
| 5401 |
|
| 5402 |
* ACU_CollapseMatcher.cc (uniqueCollapseMatch): code cleaning; |
| 5403 |
vi eliminated |
| 5404 |
(bindUnboundVariablesToIdentity): added |
| 5405 |
(multiwayCollapseMatch): implemented 1 bound variable, identity |
| 5406 |
subject, 0 viable variables and 1 viable variable cases |
| 5407 |
|
| 5408 |
Thu May 22 10:48:52 1997 Steven Eker <[email protected]> |
| 5409 |
|
| 5410 |
* ACU_Matcher.cc (match): Don't do matchAtTop assertion until |
| 5411 |
we've established that the subject actualy has our symbol on top |
| 5412 |
since an alien (e.g. free) symbol may not have extension. |
| 5413 |
|
| 5414 |
* ACU_LhsCompiler1.cc (compileLhs): fixed bug where |
| 5415 |
we were using !empty rather than !empty() to decide whether |
| 5416 |
collapse possible |
| 5417 |
(compileLhs): uniqueCollapseAutomaton must be passed our |
| 5418 |
matchAtTop flag to ensure matching with extension is performed if |
| 5419 |
necessary. |
| 5420 |
|
| 5421 |
* ACU_CollapseMatcher.cc (multiwayCollapseMatch): added |
| 5422 |
(uniqueCollapseMatch): added |
| 5423 |
|
| 5424 |
Wed May 21 15:19:01 1997 Steven Eker <[email protected]> |
| 5425 |
|
| 5426 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): initialize |
| 5427 |
uniqueCollapseAutomaton |
| 5428 |
|
| 5429 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): add |
| 5430 |
uniqueCollapseAutomaton arg to ctor decl |
| 5431 |
|
| 5432 |
* ACU_LhsCompiler1.cc (compileLhs): pass flag saying whether we |
| 5433 |
could collapse to ACU_LhsAutomaton() |
| 5434 |
(compileLhs): compute uniqueCollapseAutomaton if needed |
| 5435 |
|
| 5436 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): add |
| 5437 |
collapsePosible arg to ctor decl |
| 5438 |
|
| 5439 |
* ACU_LhsAutomaton.cc (ACU_LhsAutomaton): initialize collapse |
| 5440 |
possible flag |
| 5441 |
|
| 5442 |
* ACU_Term.cc (determineCollapseSymbols): need to insert |
| 5443 |
abstraction variables for subterms that can't collapse but which |
| 5444 |
have our identity as their top symbol and are non-ground. |
| 5445 |
(determineCollapseSymbols): non longer assume that a subterm might |
| 5446 |
match the idenitity element because it has the same top symbol as |
| 5447 |
the identity element - check to see also that it is non-ground. |
| 5448 |
|
| 5449 |
Tue May 20 16:24:31 1997 Steven Eker <[email protected]> |
| 5450 |
|
| 5451 |
* ACU_Term.cc (dumpArguments): added |
| 5452 |
|
| 5453 |
* ACU_Term.hh (class ACU_Term): added decl for dumpArguments() |
| 5454 |
|
| 5455 |
* ACU_Matcher.cc (match): temporarily comment out unfinished |
| 5456 |
collapse code so we can test variable abstraction |
| 5457 |
|
| 5458 |
* ACU_Term.cc (determineCollapseSymbols): rewritten to do |
| 5459 |
selective variable abstraction |
| 5460 |
|
| 5461 |
Mon May 19 10:48:23 1997 Steven Eker <[email protected]> |
| 5462 |
|
| 5463 |
* ACU_Term.cc (determineCollapseSymbols): now fill out |
| 5464 |
uniqueCollapseSubtermIndex and abstractionVariableIndex |
| 5465 |
|
| 5466 |
* ACU_Term.hh (class ACU_Term): added uniqueCollapseSubtermIndex |
| 5467 |
(class ACU_Term): added abstractionVariableIndex to Pair (no |
| 5468 |
longer really a pair! If this works out we will rename it to Triple. |
| 5469 |
|
| 5470 |
Fri May 16 11:38:36 1997 Steven Eker <[email protected]> |
| 5471 |
|
| 5472 |
* ACU_CollapseMatcher.cc: created |
| 5473 |
|
| 5474 |
* ACU_Matcher.cc (match): added call to collapseMatch() in the |
| 5475 |
case where top symbol mis-matches and collapsePossible |
| 5476 |
|
| 5477 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added |
| 5478 |
collapsePossible flag and uniqueCollapseAutomaton pointer |
| 5479 |
|
| 5480 |
* ACU_Term.cc (compileRhs): pass Term* rather than Symbol* for |
| 5481 |
first arg of addArgument() |
| 5482 |
|
| 5483 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): change decl for |
| 5484 |
addArgument() |
| 5485 |
|
| 5486 |
* ACU_RhsAutomaton.cc (addArgument): rewritten to use se |
| 5487 |
Term::stable() rather than Symbol::stable(). First arg is now a Term* |
| 5488 |
|
| 5489 |
* ACU_LhsAutomaton.cc (addGroundedOutAlien): use Term::stable() |
| 5490 |
rather than Symbol::stable() |
| 5491 |
(addNonGroundAlien): use Term::stable() rather than Symbol::stable() |
| 5492 |
|
| 5493 |
Wed May 14 15:42:04 1997 Steven Eker <[email protected]> |
| 5494 |
|
| 5495 |
* ACU_Term.cc (analyseCollapses): deleted |
| 5496 |
|
| 5497 |
* ACU_Term.hh (class ACU_Term): deleted analyseCollapses() decl |
| 5498 |
|
| 5499 |
* ACU_Term.cc (determineCollapseSymbols): added |
| 5500 |
|
| 5501 |
* ACU_Term.hh (class ACU_Term): added decl for determineCollapseSymbols() |
| 5502 |
|
| 5503 |
* ACU_Symbol.cc (eqRewrite): changed comment on repudiate call now |
| 5504 |
that inErrorSort() can leave sort info behind |
| 5505 |
|
| 5506 |
Tue May 13 10:29:27 1997 Steven Eker <[email protected]> |
| 5507 |
|
| 5508 |
* ACU_LhsAutomaton.cc: comment out #include "sortCheckSubproblem.hh" |
| 5509 |
|
| 5510 |
* ACU_Matcher.cc (forcedLoneVariableCase): use |
| 5511 |
DagNode::checkSort() to simplify code |
| 5512 |
|
| 5513 |
Fri May 9 15:55:04 1997 Steven Eker <[email protected]> |
| 5514 |
|
| 5515 |
* ACU_Term.cc (analyseCollapses): fixed bug where we need to check |
| 5516 |
multiplicity against 1 in order to return early |
| 5517 |
|
| 5518 |
Wed May 7 16:46:17 1997 Steven Eker <[email protected]> |
| 5519 |
|
| 5520 |
* ACU_Term.cc (analyseCollapses): added |
| 5521 |
|
| 5522 |
Thu Apr 10 16:16:03 1997 Steven Eker <[email protected]> |
| 5523 |
|
| 5524 |
* ACU_Matcher.cc (forcedLoneVariableCase): must repudiateSort() in |
| 5525 |
the case where the base sort is not small enough and |
| 5526 |
the top symbol is not sort constraint free as the |
| 5527 |
base sort we calculated may not be the true sort and will inhibit |
| 5528 |
the calculation of the true sort during the solution of the sort |
| 5529 |
check subprblem. |
| 5530 |
|
| 5531 |
Wed Apr 2 16:54:05 1997 Steven Eker <[email protected]> |
| 5532 |
|
| 5533 |
* ACU_Subproblem.cc (solveVariables): when solving a trivial |
| 5534 |
system with extension, use extensionInfo->setWholeFlag(true) |
| 5535 |
rather than extensionInfo->clear() (trying to fix UMR: |
| 5536 |
Uninitialized memory read reported by purify). |
| 5537 |
|
| 5538 |
Fri Mar 28 16:51:53 1997 Steven Eker <[email protected]> |
| 5539 |
|
| 5540 |
* ACU_DagNode.hh (class ACU_DagNode): decl for makeExtensionInfo() |
| 5541 |
added |
| 5542 |
|
| 5543 |
* ACU_DagNode.cc (makeExtensionInfo): added |
| 5544 |
|
| 5545 |
Wed Mar 26 11:02:46 1997 Steven Eker <[email protected]> |
| 5546 |
|
| 5547 |
* ACU_Matcher.cc (buildBipartiteGraph): rewritten to use findFirstOccurrence() |
| 5548 |
(aliensOnlyMatch): rewritten to use findFirstOccurrence() |
| 5549 |
(eliminateGroundedOutAliens): rewritten to use findFirstOccurrence() |
| 5550 |
|
| 5551 |
* ACU_GreedyMatcher.cc (greedyMatch): test top symbol before multiplicity |
| 5552 |
|
| 5553 |
Tue Mar 25 12:17:05 1997 Steven Eker <[email protected]> |
| 5554 |
|
| 5555 |
* ACU_GreedyMatcher.cc (greedyMatch): rewritten to use findFirstOccurrence() |
| 5556 |
|
| 5557 |
* ACU_DagNode.hh (class ACU_DagNode): added decl for |
| 5558 |
findFirstOccurrence() |
| 5559 |
|
| 5560 |
* ACU_DagNode.cc (findFirstOccurrence): added |
| 5561 |
|
| 5562 |
* ACU_Subproblem.cc (computeAssignment): initialized col to avoid |
| 5563 |
spurious uninit warning from g++ |
| 5564 |
|
| 5565 |
* ACU_LhsCompiler3.cc (compileGreedyAndFullCases): pass term in |
| 5566 |
addNonGroundAlien() call |
| 5567 |
|
| 5568 |
* ACU_LhsCompiler2.cc (compileAliensOnlyCase): pass term in |
| 5569 |
addNonGroundAlien() calls |
| 5570 |
|
| 5571 |
* ACU_LhsCompiler1.cc (compileLhs): pass term in |
| 5572 |
addGroundedOutAlien() call |
| 5573 |
|
| 5574 |
* ACU_LhsAutomaton.cc (addGroundedOutAlien): store topSymbol if |
| 5575 |
stable, 0 otherwise |
| 5576 |
(addNonGroundAlien): store topSymbol if stable, 0 otherwise |
| 5577 |
|
| 5578 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): added topSymbol field |
| 5579 |
to NonGroundAlien struct; added Term* alien arg to |
| 5580 |
addGroundedOutAlien() and addNonGroundAlien() |
| 5581 |
|
| 5582 |
* ACU_GreedyMatcher.cc (greedyPureMatch): new condition for |
| 5583 |
choosing between false and UNDECIDED when we can't find a variable |
| 5584 |
to assign some subject to in phase 2. |
| 5585 |
|
| 5586 |
Fri Mar 21 18:54:28 1997 Steven Eker <[email protected]> |
| 5587 |
|
| 5588 |
* ACU_GreedyMatcher.cc (greedyPureMatch): new technique for |
| 5589 |
calculating failure mode in phase 1. |
| 5590 |
(greedyMatch): call greedyPureMatch with extra arg |
| 5591 |
|
| 5592 |
* ACU_Matcher.cc (match): call greedyPureMatch with extra arg |
| 5593 |
|
| 5594 |
Thu Mar 20 16:05:15 1997 Steven Eker <[email protected]> |
| 5595 |
|
| 5596 |
* ACU_Matcher.cc (multiplicityChecks): split off case where |
| 5597 |
maxPatternMultiplicity = 1 |
| 5598 |
|
| 5599 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): extensionInfo |
| 5600 |
removed from multiplicityChecks and totalMultiplicity added as |
| 5601 |
data member; the aim is to save the totalSubjectMultiplicity so we |
| 5602 |
don't have to mess with extensionInfo until it is clear that it is |
| 5603 |
needed. (After checking with quantify) |
| 5604 |
|
| 5605 |
Tue Mar 18 16:07:47 1997 Steven Eker <[email protected]> |
| 5606 |
|
| 5607 |
* ACU_Symbol.cc (matchVariableWithExtension): set extensionInfo |
| 5608 |
upperBound to avoid crashing when trying to build diophantine system |
| 5609 |
|
| 5610 |
Wed Feb 19 16:08:49 1997 Steven Eker <[email protected]> |
| 5611 |
|
| 5612 |
* ACU_LhsCompiler3.cc (findFullSequence): remember to expand |
| 5613 |
sequenece before putting stuff in it. |
| 5614 |
|
| 5615 |
Thu Feb 13 10:41:49 1997 Steven Eker <[email protected]> |
| 5616 |
|
| 5617 |
* ACU_LhsCompiler1.cc (compileLhs): greedy = !inErrorSort |
| 5618 |
|
| 5619 |
Wed Feb 12 16:11:35 1997 Steven Eker <[email protected]> |
| 5620 |
|
| 5621 |
* ACU_GreedyMatcher.cc (greedyPureMatch): make sure we don't |
| 5622 |
assign to much to extension |
| 5623 |
|
| 5624 |
* ACU_Subproblem.cc (extractDiophantineSystem): use extensionInfo |
| 5625 |
upper bound to bound extension row in diophantine system |
| 5626 |
|
| 5627 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): amended |
| 5628 |
multiplicityChecks() decl |
| 5629 |
|
| 5630 |
* ACU_ExtensionInfo.hh (setUpperBound): added |
| 5631 |
(getUpperBound): added |
| 5632 |
|
| 5633 |
* ACU_Matcher.cc (match): pass extensionInfo to |
| 5634 |
multiplicityChecks(); test extensionInfo rather than matchAtTop |
| 5635 |
(multiplicityChecks): set upper bound on size of extension if necessary |
| 5636 |
|
| 5637 |
* ACU_Subproblem.hh (class ACU_Subproblem): identityDag deleted |
| 5638 |
|
| 5639 |
* ACU_Subproblem.cc (solveVariables): added code to bind variables |
| 5640 |
to idenity in the case where ther are unbound variables and no system |
| 5641 |
(solveVariables): handle the case where the sort of the dag node |
| 5642 |
reeturn by computeAssignment() is unknown; this can only be the |
| 5643 |
identity case |
| 5644 |
(solveVariables): unbinding code simplified |
| 5645 |
(extractDiophantineSystem): handle case where there are no |
| 5646 |
unused subjects but all variables case take the identity by |
| 5647 |
keeping track of nrNonIdentityVariables |
| 5648 |
(computeAssignment): don't bother computing the sort of the |
| 5649 |
identity dag since our lower bound condition guarentees that the |
| 5650 |
variable can take the identity element |
| 5651 |
(computeAssignment): return 0 in identity case |
| 5652 |
(solveVariables): handle case where 0 is returned from computeAssignment() |
| 5653 |
|
| 5654 |
Fri Feb 7 14:49:35 1997 Steven Eker <[email protected]> |
| 5655 |
|
| 5656 |
* ACU_Term.cc (findEagerVariables): static_cast removed for symbol() |
| 5657 |
(markEagerArguments): static_cast removed for symbol() |
| 5658 |
|
| 5659 |
* ACU_DagNode.cc (copyEagerUptoReduced): static_cast removed for symbol() |
| 5660 |
(overwriteWithClone): static_cast removed for symbol() |
| 5661 |
(makeClone): static_cast removed for symbol() |
| 5662 |
(copyWithReplacement): static_cast removed for symbol() |
| 5663 |
(partialReplace): static_cast removed for symbol() |
| 5664 |
(partialConstruct): static_cast removed for symbol() |
| 5665 |
(eliminateArgument): static_cast removed for symbol() |
| 5666 |
|
| 5667 |
* ACU_DagNode.hh (symbol): added |
| 5668 |
|
| 5669 |
* ACU_Subproblem.hh (class ACU_Subproblem): identityDag pointer added |
| 5670 |
|
| 5671 |
* ACU_Subproblem.cc (addEdge): optimized |
| 5672 |
(addTopVariable): optimized |
| 5673 |
(extractDiophantineSystem): optimized |
| 5674 |
(solveVariables): zero out idenity dag pointer since the identity |
| 5675 |
element that it may point to may get garbage collected before in |
| 5676 |
can be used |
| 5677 |
(computeAssignment): handle identity case |
| 5678 |
|
| 5679 |
* ACU_Matcher.cc (fullMatch): pass 0 as lower bound for variables |
| 5680 |
that can take identity |
| 5681 |
|
| 5682 |
* ACU_LhsCompiler1.cc (compileLhs): set error sort flag only if we |
| 5683 |
are matching with extension. Prevent compiling with greedy |
| 5684 |
strategy if we are in the error sort flag is set. |
| 5685 |
This fixes a bug because the ACU |
| 5686 |
greedy matcher does not do sort check for matched part. |
| 5687 |
|
| 5688 |
Thu Feb 6 16:46:16 1997 Steven Eker <[email protected]> |
| 5689 |
|
| 5690 |
* ACU_GreedyMatcher.cc (greedyMatch): simplified |
| 5691 |
(greedyPureMatch): deal with identity in first phase by allowing a |
| 5692 |
variable with takeIdentity set to have no firstSubject if none can |
| 5693 |
be found. |
| 5694 |
(greedyPureMatch): in 3rd phase deal with variables that were |
| 5695 |
assigned nothing by binding them to identity dag |
| 5696 |
|
| 5697 |
Wed Feb 5 11:57:26 1997 Steven Eker <[email protected]> |
| 5698 |
|
| 5699 |
* ACU_Symbol.cc (ACU_Symbol): zero identityAutomaton and |
| 5700 |
identitySubstitution. Handle no identity case. |
| 5701 |
|
| 5702 |
* ACU_Symbol.hh (makeIdentityDag): added |
| 5703 |
|
| 5704 |
* ACU_Symbol.cc (compileEquations): added code to compile a |
| 5705 |
rhsAutomaton for our identity element. Handle no identity case |
| 5706 |
|
| 5707 |
* ACU_GreedyMatcher.cc: created |
| 5708 |
|
| 5709 |
* ACU_Matcher.cc (multiplicityChecks): totalPatternMultiplicity -> |
| 5710 |
totalLowerBound |
| 5711 |
(eliminateBoundVariables): handle the case where a top variable is |
| 5712 |
bound to our identity |
| 5713 |
(match): recognize and handle special case of one variable which |
| 5714 |
can take identity vs no subjects (no extension case) |
| 5715 |
|
| 5716 |
Tue Feb 4 12:18:37 1997 Steven Eker <[email protected]> |
| 5717 |
|
| 5718 |
* ACU_LhsAutomaton.cc (updateTotals): totalPatternMultiplicity -> |
| 5719 |
totalLowerBound |
| 5720 |
(addTopVariable): fill out takeIdentity field and take it into |
| 5721 |
account when updating totals |
| 5722 |
(dump): output takeIdenity field |
| 5723 |
|
| 5724 |
* ACU_LhsAutomaton.hh (class ACU_LhsAutomaton): takeIdentity field |
| 5725 |
added to struct TopVariable |
| 5726 |
(class ACU_LhsAutomaton): totalPatternMultiplicity -> |
| 5727 |
totalLowerBound (since identity may result in some pattern |
| 5728 |
variables not being counted) |
| 5729 |
|
| 5730 |
* ACU_LhsCompiler3.cc (findFullSequence): use weakConstraintPropogation() |
| 5731 |
|
| 5732 |
* ACU_LhsCompiler2.cc (compileAliensOnlyCase): use weakConstraintPropogation() |
| 5733 |
|
| 5734 |
* ACU_LhsCompiler1.cc (weakConstraintPropogation): added |
| 5735 |
|
| 5736 |
* ACU_LhsCompiler3.cc (compileGreedyAndFullCases): simplified |
| 5737 |
using findFullSequence() |
| 5738 |
(findFullSequence): added |
| 5739 |
|
| 5740 |
Fri Jan 31 17:07:29 1997 Steven Eker <[email protected]> |
| 5741 |
|
| 5742 |
* ACU_LhsCompiler3.cc (compileGreedyAndFullCases): removed greedy |
| 5743 |
argument; code cleaning |
| 5744 |
(lengthCompare): deleted |
| 5745 |
(findGreedySequence): no longer deal with fully independent aliens |
| 5746 |
first as I can't see any justification for doing so |
| 5747 |
(findIndependentSets): no longer sort independent sets by length |
| 5748 |
(can't think of any justification). |
| 5749 |
|
| 5750 |
* ACU_LhsCompiler1.cc (compileLhs): compileGreedyAndFullCases() no |
| 5751 |
longer takes greedy argument |
| 5752 |
|
| 5753 |
* ACU_LhsCompiler2.cc (compileAliensOnlyCase): code cleaning |
| 5754 |
|
| 5755 |
* ACU_LhsCompiler1.cc (compileLhs): code cleaning; make sure |
| 5756 |
subproblemLikely is false in lone variable case |
| 5757 |
|
| 5758 |
Thu Jan 30 16:17:56 1997 Steven Eker <[email protected]> |
| 5759 |
|
| 5760 |
* ACU_LhsCompiler3.cc: created |
| 5761 |
(compileGreedyAndFullCases): added |
| 5762 |
|
| 5763 |
* ACU_Term.hh (symbol): added |
| 5764 |
|
| 5765 |
* ACU_LhsCompiler2.cc: created |
| 5766 |
(compileAliensOnlyCase): added |
| 5767 |
|
| 5768 |
Mon Jan 27 10:59:41 1997 Steven Eker <[email protected]> |
| 5769 |
|
| 5770 |
* ACU_LhsAutomaton.hh: created |
| 5771 |
|
| 5772 |
* ACU_LhsAutomaton.cc: created |
| 5773 |
|
| 5774 |
* ACU_Matcher.cc: created |
| 5775 |
|
| 5776 |
Thu Jan 16 18:17:11 1997 Steven Eker <[email protected]> |
| 5777 |
|
| 5778 |
* ACU_RhsAutomaton.hh (class ACU_RhsAutomaton): topSymbol is |
| 5779 |
ACU_Symbol* rather that Symbol* |
| 5780 |
|
| 5781 |
* ACU_RhsAutomaton.cc (construct): added call to eliminate identity |
| 5782 |
elements |
| 5783 |
(replace): added call to eliminate identity elements |
| 5784 |
(ACU_RhsAutomaton): take ACU_Symbol* rather that Symbol* |
| 5785 |
|
| 5786 |
Mon Jan 13 12:53:38 1997 Steven Eker <[email protected]> |
| 5787 |
|
| 5788 |
* ACU_RhsAutomaton.hh: created |
| 5789 |
|
| 5790 |
Fri Jan 10 11:15:42 1997 Steven Eker <[email protected]> |
| 5791 |
|
| 5792 |
* ACU_Term.cc: created |
| 5793 |
(normalize): now delete idenity elements, collapsing to subterm |
| 5794 |
where necessary |
| 5795 |
|
| 5796 |
* ACU_DagNode.hh (class ACU_DagNode): enum NormalizationResult |
| 5797 |
removed; declaration for eliminateArgument() added |
| 5798 |
|
| 5799 |
* ACU_DagNode.cc (copyWithReplacement): handle case where collapse |
| 5800 |
is avoided because single remaining argument has multiplicity > 1 |
| 5801 |
(partialReplace): handle case where collapse |
| 5802 |
is avoided because single remaining argument has multiplicity > 1 |
| 5803 |
(partialConstruct): handle case where collapse |
| 5804 |
is avoided because single remaining argument has multiplicity > 1 |
| 5805 |
(eliminateArgument): added to handle the removal of identity elements |
| 5806 |
|
| 5807 |
Thu Jan 9 15:40:11 1997 Steven Eker <[email protected]> |
| 5808 |
|
| 5809 |
* ACU_DagNode.cc: created |
| 5810 |
(overwriteWithClone): fixed serious bug where we were copying sort |
| 5811 |
of overwritten node rather than overwriting node |
| 5812 |
(mergeSortAndUniquize): old commented out flip code removed |
| 5813 |
(eliminateSubject): unnecessary ACU_DagNode::'s removed |
| 5814 |
(partialConstruct): handle case where replacement it the identity element |
| 5815 |
(partialReplace): handle case where replacement it the identity element |
| 5816 |
(copyWithReplacement): handle case where replacement it the identity element |
| 5817 |
|
| 5818 |
Wed Jan 8 10:26:06 1997 Steven Eker <[email protected]> |
| 5819 |
|
| 5820 |
* ACU_Symbol.cc (eqRewrite): now cope with the possibility that |
| 5821 |
whenever we normalize at top it is possible that we could collpase |
| 5822 |
out of the current theory |
| 5823 |
(computeBaseSort): added uniform sort code optimization; |
| 5824 |
simplified uniform sort code computation by passing vectors of |
| 5825 |
sort codes rather thhan vectors of vectors of int |
| 5826 |
|
| 5827 |
* ACU_DagNode.hh (class ACU_DagNode): added enum NormalizationResult |
| 5828 |
|
| 5829 |
* ACU_Symbol.cc: created |
| 5830 |
(~ACU_Symbol): added |
| 5831 |
(compileEquations): added as a hack to process identity element |
| 5832 |
after all other op decl processing has been done. |
| 5833 |
(ACU_Symbol): do normalization here to avoid problem of later |
| 5834 |
identities that could possibly depend on this one. |
| 5835 |
|
| 5836 |
* ACU_DagArgumentIterator.cc: created |
| 5837 |
|
| 5838 |
* ACU_ArgumentIterator.hh (class ACU_ArgumentIterator): created |
| 5839 |
|
| 5840 |
* ACU_DagArgumentIterator.hh (class ACU_DagArgumentIterator): created |
| 5841 |
|
| 5842 |
* ACU_ArgumentIterator.cc: created |
| 5843 |
|
| 5844 |
* ACU_ExtensionInfo.hh (class ACU_ExtensionInfo): created |
| 5845 |
|
| 5846 |
* ACU_Theory.cc: created |
| 5847 |
|
| 5848 |
* ACU_Theory.hh: created |
| 5849 |
|
| 5850 |
* ACU_Term.hh (class ACU_Term): created |
| 5851 |
|
| 5852 |
* ACU_Symbol.hh (getIdentity): added |
| 5853 |
|
| 5854 |
* ACU_DagNode.hh (class ACU_DagNode): created |
| 5855 |
|
| 5856 |
* ACU_Symbol.hh (class ACU_Symbol): created |
| 5857 |
|