| 1 |
2024-05-30 Steven Eker <eker@pup> |
| 2 |
|
| 3 |
* narrowingFolder.cc (NarrowingFolder::getMostGeneralStates): fixed |
| 4 |
bug where we weren't considering vfold flag |
| 5 |
(NarrowingFolder::insertState): fixed symmteric bug |
| 6 |
(NarrowingFolder::cleanGraph): fixed symmetric bug |
| 7 |
(NarrowingFolder::getUnreturnedStates): turn cerr into DebugInfo() |
| 8 |
(NarrowingFolder::insertState): turn cerr into DebugEnter() |
| 9 |
(NarrowingFolder::insertState): turn cerr into DebugInfo() (2 places) |
| 10 |
(NarrowingFolder::insertState): added DebugAdvisoryCheck() |
| 11 |
(NarrowingFolder::getNextSurvivingState): turn cerr into DebugInfo() |
| 12 |
(NarrowingFolder::lockPathToState): turn cerr into DebugInfo() (3 places) |
| 13 |
(NarrowingFolder::RetainedState::RetainedState): turn cerr into |
| 14 |
DebugInfo() |
| 15 |
(NarrowingFolder::RetainedState::subsumes): turn cerr into DebugEnter() |
| 16 |
(NarrowingFolder::RetainedState::subsumes): turn cerr into DebugInfo() (3 |
| 17 |
places) |
| 18 |
(NarrowingFolder::RetainedState::subsumes): added DebugInfo() |
| 19 |
|
| 20 |
2024-05-21 Steven Eker <eker@pup> |
| 21 |
|
| 22 |
* narrowingFolder.cc (NarrowingFolder::NarrowingFolder): take and |
| 23 |
store context, freshVariableGenerator |
| 24 |
|
| 25 |
* narrowingSequenceSearch3.cc |
| 26 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): pass initial |
| 27 |
and freshVariableGenerator to stateCollection |
| 28 |
|
| 29 |
* narrowingFolder.hh (class NarrowingFolder): updated decl for |
| 30 |
RetainedState ctor |
| 31 |
(class NarrowingFolder): added date members context, |
| 32 |
freshVariableGenerator |
| 33 |
(class NarrowingFolder): updated decl for ctor |
| 34 |
|
| 35 |
* narrowingFolder.cc (NarrowingFolder::RetainedState::subsumes): use |
| 36 |
subsumptionChecker if it exists |
| 37 |
(NarrowingFolder::RetainedState::RetainedState): take owner argument |
| 38 |
rather than fold argument |
| 39 |
(NarrowingFolder::insertState): pass this pointer to RetainedState() |
| 40 |
|
| 41 |
* narrowingSequenceSearch3.cc |
| 42 |
(NarrowingSequenceSearch3::findNextInterestingState): don't pass |
| 43 |
variableFamily to addAccumulatedSubstitution() |
| 44 |
(NarrowingSequenceSearch3::handleInitialState): pass variableFamily = 0 |
| 45 |
to insertState() |
| 46 |
(NarrowingSequenceSearch3::handleInitialState): don't pass variableFamily |
| 47 |
to addAccumulatedSubstitution() |
| 48 |
|
| 49 |
* narrowingFolder.hh (NarrowingFolder::addAccumulatedSubstitution): don't |
| 50 |
take or set variableFamily |
| 51 |
|
| 52 |
* narrowingSequenceSearch3.cc |
| 53 |
(NarrowingSequenceSearch3::findNextInterestingState): pass variableFamily |
| 54 |
to insertState() |
| 55 |
|
| 56 |
* narrowingFolder.hh (class NarrowingFolder): updated decl for |
| 57 |
insertState(); don't do default init of variableFamily |
| 58 |
|
| 59 |
* narrowingFolder.cc (NarrowingFolder::RetainedState::RetainedState): |
| 60 |
take and set variableFamily |
| 61 |
(NarrowingFolder::insertState): take and pass variableFamily |
| 62 |
|
| 63 |
2024-05-20 Steven Eker <eker@pup> |
| 64 |
|
| 65 |
* narrowingFolder.cc (NarrowingFolder::RetainedState::~RetainedState): |
| 66 |
delete subsumptionChecker |
| 67 |
|
| 68 |
* narrowingFolder.hh (class NarrowingFolder): added data member |
| 69 |
subsumptionChecker |
| 70 |
|
| 71 |
* narrowingFolder.cc |
| 72 |
(NarrowingFolder::RetainedState::RetainedState): don't clear stateTerm, |
| 73 |
matchingAutomaton and nrMatchingVariables here |
| 74 |
|
| 75 |
* narrowingFolder.hh (class NarrowingFolder): initialize stateTerm, |
| 76 |
matchingAutomaton and nrMatchingVariables of struct RetainedState |
| 77 |
here |
| 78 |
|
| 79 |
* narrowingSequenceSearch3.cc |
| 80 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): pass vfold flag |
| 81 |
to stateCollection |
| 82 |
|
| 83 |
* narrowingFolder.cc (NarrowingFolder::NarrowingFolder): handle |
| 84 |
vfold argument |
| 85 |
|
| 86 |
* narrowingFolder.hh (class NarrowingFolder): updated decl for |
| 87 |
ctor; added data member vfold |
| 88 |
|
| 89 |
2024-05-17 Steven Eker <eker@pup> |
| 90 |
|
| 91 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): |
| 92 |
getUnexpandedState() becomes getUnexpandedStates() |
| 93 |
(NarrowingSequenceSearch3::getUnexpandedState): becomes |
| 94 |
getUnexpandedStates(); rewritten |
| 95 |
|
| 96 |
* narrowingFolder.hh (class NarrowingFolder): added decl for |
| 97 |
getReturnedButUnexploredStates() |
| 98 |
|
| 99 |
* narrowingFolder.cc (NarrowingFolder::getReturnedButUnexploredStates): |
| 100 |
added |
| 101 |
|
| 102 |
* narrowingFolder.hh (NarrowingFolder::setUnexplored): added |
| 103 |
|
| 104 |
2024-05-16 Steven Eker <eker@pup> |
| 105 |
|
| 106 |
* narrowingSequenceSearch3.cc |
| 107 |
(NarrowingSequenceSearch3::markReachableNodes): protect goal |
| 108 |
(NarrowingSequenceSearch3::findNextUnifier): use goal directly |
| 109 |
|
| 110 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): goal |
| 111 |
becomes a DagNode* rather than a DagRoot now that we have our own |
| 112 |
markReachableNodes() to protect it |
| 113 |
|
| 114 |
2024-05-15 Steven Eker <eker@pup> |
| 115 |
|
| 116 |
* narrowingFolder.hh (class NarrowingFolder): added decl for |
| 117 |
doSubsumption() |
| 118 |
|
| 119 |
* narrowingFolder.cc (NarrowingFolder::doSubsumption): added |
| 120 |
|
| 121 |
2024-05-09 Steven Eker <eker@pup> |
| 122 |
|
| 123 |
* narrowingFolder.hh (class NarrowingFolder): added decl for dump |
| 124 |
|
| 125 |
* narrowingFolder.cc (NarrowingFolder::dump): added |
| 126 |
|
| 127 |
* narrowingSequenceSearch3.hh (NarrowingSequenceSearch3::unexpandedState): |
| 128 |
added |
| 129 |
|
| 130 |
* narrowingFolder.hh (class NarrowingFolder): added data member |
| 131 |
returnedButUnexplored to struct RetainedState |
| 132 |
|
| 133 |
2024-05-08 Steven Eker <eker@pup> |
| 134 |
|
| 135 |
* narrowingSequenceSearch3.hh |
| 136 |
(NarrowingSequenceSearch3::getUnvisitedStates): added |
| 137 |
|
| 138 |
* narrowingFolder.hh (class NarrowingFolder): added decl for |
| 139 |
getUnreturnedStates() |
| 140 |
|
| 141 |
* narrowingFolder.cc (NarrowingFolder::getUnreturnedStates): added |
| 142 |
|
| 143 |
* narrowingSequenceSearch3.hh |
| 144 |
(NarrowingSequenceSearch3::getMostGeneralStates): added |
| 145 |
|
| 146 |
* narrowingFolder.hh (class NarrowingFolder): added decl for |
| 147 |
getMostGeneralStates() |
| 148 |
|
| 149 |
* narrowingFolder.cc (NarrowingFolder::getMostGeneralStates): added |
| 150 |
|
| 151 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): deleted |
| 152 |
INVARIANT from enum Flags |
| 153 |
|
| 154 |
2024-05-07 Steven Eker <eker@pup> |
| 155 |
|
| 156 |
* narrowingFolder.hh (NarrowingFolder::RetainedState::markedSubsumed): don't |
| 157 |
assume stateTerm is non-null because we might support variant folding at |
| 158 |
some point |
| 159 |
|
| 160 |
2024-05-06 Steven Eker <eker@pup> |
| 161 |
|
| 162 |
* narrowingFolder.cc (NarrowingFolder::insertState): use markedSubsumed() |
| 163 |
for states that got subsumed but can't be deleted because they are locked |
| 164 |
for show path |
| 165 |
|
| 166 |
* narrowingFolder.hh (NarrowingFolder::RetainedState::markedSubsumed): added |
| 167 |
|
| 168 |
* narrowingFolder.cc (NarrowingFolder::getNextSurvivingState): handled |
| 169 |
subsumed states; this can arise if a state produces, a solution and has |
| 170 |
its path locked by the caller, and is subsequently subsumed but can't be |
| 171 |
deleted because it is locked as it may be needed for a show path |
| 172 |
|
| 173 |
2024-05-03 Steven Eker <eker@pup> |
| 174 |
|
| 175 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3::findNextUnifier): |
| 176 |
use lockPathToState() |
| 177 |
|
| 178 |
* narrowingFolder.hh (class NarrowingFolder): lockPathToCurrentState()-> |
| 179 |
lockPathToState() |
| 180 |
|
| 181 |
* narrowingFolder.cc (NarrowingFolder::lockPathToCurrentState): becomes |
| 182 |
lockPathToState() |
| 183 |
|
| 184 |
* narrowingSequenceSearch3.hh (NarrowingSequenceSearch3::getStateParent): |
| 185 |
added |
| 186 |
|
| 187 |
* narrowingFolder.hh (NarrowingFolder::exists): made const |
| 188 |
(NarrowingFolder::getParent): added |
| 189 |
|
| 190 |
* narrowingSequenceSearch3.hh (NarrowingSequenceSearch3::locked): added |
| 191 |
|
| 192 |
* narrowingFolder.hh (NarrowingFolder::locked): added |
| 193 |
|
| 194 |
2024-05-02 Steven Eker <eker@pup> |
| 195 |
|
| 196 |
* narrowingSequenceSearch3.cc: |
| 197 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): use new |
| 198 |
handleInitialState() convention |
| 199 |
|
| 200 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): updated |
| 201 |
decl for handleInitialState() |
| 202 |
|
| 203 |
* narrowingSequenceSearch3.cc |
| 204 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): fix bug where |
| 205 |
empty startStates caused nrInitialStatesToTry to be wrong |
| 206 |
(NarrowingSequenceSearch3::handleInitialState): check for unsafe |
| 207 |
variable names here |
| 208 |
|
| 209 |
* narrowingSequenceSearch3.hh (NarrowingSequenceSearch3::problemOK): |
| 210 |
added |
| 211 |
|
| 212 |
* narrowingSequenceSearch3.cc |
| 213 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): check for unsafe |
| 214 |
variable names |
| 215 |
|
| 216 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): added data |
| 217 |
member problemOkay |
| 218 |
|
| 219 |
* narrowingSequenceSearch3.cc |
| 220 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): check for |
| 221 |
variables shared between initial states |
| 222 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): check for |
| 223 |
variables shared between initial state and goal in term disjunction case |
| 224 |
|
| 225 |
2024-05-01 Steven Eker <eker@pup> |
| 226 |
|
| 227 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3::findNextUnifier): |
| 228 |
lockPath() -> lockPathToCurrentState() |
| 229 |
|
| 230 |
* narrowingFolder.hh (class NarrowingFolder): lockPath() -> |
| 231 |
lockPathToCurrentState() |
| 232 |
|
| 233 |
* narrowingFolder.cc (NarrowingFolder::lockPath): becomes |
| 234 |
lockPathToCurrentState() |
| 235 |
|
| 236 |
* narrowingSequenceSearch3.cc |
| 237 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): pass keepHistory |
| 238 |
= true to stateCollection if KEEP_HISTORY | KEEP_PATHS |
| 239 |
|
| 240 |
* narrowingFolder.cc (NarrowingFolder::getNextSurvivingState): added |
| 241 |
Assert()s that an unexplore state is neither locked nor subsumed |
| 242 |
|
| 243 |
* narrowingSequenceSearch3.cc |
| 244 |
(NarrowingSequenceSearch3::findNextUnifier): if KEEP_PATHS then lock |
| 245 |
the path of any state that unifies with goal |
| 246 |
|
| 247 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): |
| 248 |
KEEP_FULL_HISTORY -> KEEP_PATH; added INVARIANT to enum Flags |
| 249 |
(NarrowingSequenceSearch3::getVariantFlags): added |
| 250 |
|
| 251 |
2024-04-30 Steven Eker <eker@pup> |
| 252 |
|
| 253 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): deleted |
| 254 |
data member needToTryInitialState; added data member nrInitialStatesToTry |
| 255 |
|
| 256 |
* narrowingSequenceSearch3.cc |
| 257 |
(NarrowingSequenceSearch3::findNextInterestingState): handle trying |
| 258 |
multiple initial states |
| 259 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): initialize |
| 260 |
nrInitialStatesToTry; don't initialize needToTryInitialState |
| 261 |
|
| 262 |
* narrowingFolder.hh (NarrowingFolder::exists): added |
| 263 |
|
| 264 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): added |
| 265 |
comment that NONE is used to represent unbounded |
| 266 |
|
| 267 |
2024-04-29 Steven Eker <eker@pup> |
| 268 |
|
| 269 |
* narrowingFolder.cc (NarrowingFolder::RetainedState::RetainedState): |
| 270 |
don't initialized stuff that is initialized in the struct decl |
| 271 |
(NarrowingFolder::insertState): mark locked states as subsumed rather |
| 272 |
than deleting them |
| 273 |
(NarrowingFolder::insertState): don't try to subsume the new state by |
| 274 |
a state that itself is marked subsumed |
| 275 |
(NarrowingFolder::insertState): don't try to subsume states that are |
| 276 |
already marked as subsumed |
| 277 |
(NarrowingFolder::cleanGraph): don't delete locked states even if |
| 278 |
they have no descendents |
| 279 |
(NarrowingFolder::cleanGraph): Assert() that we don't have a locked state |
| 280 |
if we're not keeping history |
| 281 |
(NarrowingFolder::lockPath): added |
| 282 |
|
| 283 |
* narrowingFolder.hh (class NarrowingFolder): added data member locked |
| 284 |
to struct RetainedState |
| 285 |
(class NarrowingFolder): reorganized struct RetainedState |
| 286 |
|
| 287 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): added |
| 288 |
VFOLD and KEEP_FULL_HISTORY to enum Flags and renumbered |
| 289 |
|
| 290 |
2024-04-26 Steven Eker <eker@pup> |
| 291 |
|
| 292 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): added |
| 293 |
data member protectedSubstitution |
| 294 |
|
| 295 |
* narrowingSequenceSearch3.cc |
| 296 |
(NarrowingSequenceSearch3::markReachableNodes): mark |
| 297 |
protectedSubstitution |
| 298 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): clear |
| 299 |
protectedSubstitution pointer; don't init startStates |
| 300 |
(NarrowingSequenceSearch3::handleInitialState): use protectedSubsitution |
| 301 |
to stop fresh variables from being garbage collected if they disappear |
| 302 |
from initial state during rewriting |
| 303 |
|
| 304 |
* narrowingSequenceSearch3.hh |
| 305 |
(NarrowingSequenceSearch3::getNrInitialStates): use initalStates |
| 306 |
rather than startStates |
| 307 |
(class NarrowingSequenceSearch3): added data member termDisjunction |
| 308 |
(NarrowingSequenceSearch3::getStateInfo): check if we have a |
| 309 |
termDisjunction |
| 310 |
(NarrowingSequenceSearch3::getInitialVariableInfo): check if we have |
| 311 |
a termDisjunction |
| 312 |
|
| 313 |
* narrowingSequenceSearch3.cc |
| 314 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): use |
| 315 |
handleInitialState() |
| 316 |
|
| 317 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): added |
| 318 |
decl for handleInitialState() |
| 319 |
|
| 320 |
* narrowingSequenceSearch3.cc |
| 321 |
(NarrowingSequenceSearch3::handleInitialState): added |
| 322 |
|
| 323 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): added |
| 324 |
struct InitialState and data member initialStates; deleted data member |
| 325 |
startStates |
| 326 |
|
| 327 |
2024-04-25 Steven Eker <eker@pup> |
| 328 |
|
| 329 |
* narrowingSequenceSearch3.cc |
| 330 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): only add |
| 331 |
accumulated substitutions to initial states which survive |
| 332 |
|
| 333 |
2024-04-24 Steven Eker <eker@pup> |
| 334 |
|
| 335 |
* narrowingSequenceSearch3.hh |
| 336 |
(NarrowingSequenceSearch3::getNrInitialStates): added |
| 337 |
|
| 338 |
* narrowingFolder.hh (NarrowingFolder::getRootIndex): added |
| 339 |
|
| 340 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): updated |
| 341 |
decl for getStateInfo() |
| 342 |
(NarrowingSequenceSearch3::getStateInfo): fill out initialStateDag |
| 343 |
|
| 344 |
* narrowingSequenceSearch3.cc |
| 345 |
(NarrowingSequenceSearch3::markReachableNodes): protect startStates |
| 346 |
rather than original variables |
| 347 |
|
| 348 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): added |
| 349 |
startStates data member |
| 350 |
|
| 351 |
* narrowingSequenceSearch3.cc |
| 352 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): save startStates |
| 353 |
|
| 354 |
* narrowingFolder.hh (class NarrowingFolder): made RetainedState::depth |
| 355 |
const |
| 356 |
(class NarrowingFolder): updated decl for RetainedState() |
| 357 |
|
| 358 |
* narrowingFolder.cc (NarrowingFolder::RetainedState::RetainedState): |
| 359 |
take and fill out rootIndex and depth |
| 360 |
(NarrowingFolder::insertState): pass rootIndex and depth to |
| 361 |
RetainedState() |
| 362 |
|
| 363 |
* narrowingFolder.hh (class NarrowingFolder): added data member |
| 364 |
rootIndex |
| 365 |
|
| 366 |
2024-04-23 Steven Eker <eker@pup> |
| 367 |
|
| 368 |
* narrowingSequenceSearch3.cc |
| 369 |
(NarrowingSequenceSearch3::markReachableNodes): added |
| 370 |
|
| 371 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): derive |
| 372 |
from SimpleRootContainer |
| 373 |
|
| 374 |
* narrowingSequenceSearch3.cc |
| 375 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): put multiple |
| 376 |
states in the stateCollection |
| 377 |
|
| 378 |
2024-04-22 Steven Eker <eker@pup> |
| 379 |
|
| 380 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): |
| 381 |
updated decl for ctor |
| 382 |
|
| 383 |
* narrowingSequenceSearch3.cc: take startStates argument |
| 384 |
|
| 385 |
2024-04-19 Steven Eker <eker@pup> |
| 386 |
|
| 387 |
* narrowingFolder.hh: fix comment |
| 388 |
(class NarrowingFolder): rearrange data members |
| 389 |
|
| 390 |
2024-03-21 Steven Eker <eker@pup> |
| 391 |
|
| 392 |
* unificationProblem.cc (UnificationProblem::UnificationProblem): |
| 393 |
use safeCastNonNull<> |
| 394 |
(UnificationProblem::bindFreeVariables): use safeCastNonNull<> |
| 395 |
(UnificationProblem::findOrderSortedUnifiers): use |
| 396 |
safeCastNonNull<> (3 places) |
| 397 |
|
| 398 |
* temporalSymbol.cc (TemporalSymbol::copyAttachments): use |
| 399 |
safeCastNonNull<> |
| 400 |
|
| 401 |
* satSolverSymbol.cc (SatSolverSymbol::copyAttachments): use |
| 402 |
safeCastNonNull<> |
| 403 |
(SatSolverSymbol::eqRewrite): use safeCastNonNull<> |
| 404 |
|
| 405 |
* rewriteConditionFragment.cc (RewriteConditionFragment::solve): |
| 406 |
use safeCastNonNull<> |
| 407 |
|
| 408 |
* narrowingUnificationProblem.cc |
| 409 |
(NarrowingUnificationProblem::variableIndexToSort): use |
| 410 |
safeCastNonNull<> (2 places) |
| 411 |
|
| 412 |
* modelCheckerSymbol.cc (ModelCheckerSymbol::copyAttachments): |
| 413 |
use safeCastNonNull<> |
| 414 |
(ModelCheckerSymbol::eqRewrite): use safeCastNonNull<> |
| 415 |
|
| 416 |
* assignmentConditionFragment.cc (AssignmentConditionFragment::solve): |
| 417 |
use safeCastNonNull<> |
| 418 |
|
| 419 |
===================================Maude160=========================================== |
| 420 |
|
| 421 |
2024-01-24 Steven Eker <eker@pup> |
| 422 |
|
| 423 |
* narrowingSearchState.cc: OR in RESPECT_FROZEN to flags before |
| 424 |
passing to PositionState() since narrowing, like rewriting, should |
| 425 |
always respect frozen arguments |
| 426 |
|
| 427 |
2024-01-19 Steven Eker <eker@pup> |
| 428 |
|
| 429 |
* searchState.hh (class SearchState): clarify explanation of |
| 430 |
GC_SUBSTITUTION |
| 431 |
|
| 432 |
* variantNarrowingSearchState.cc |
| 433 |
(VariantNarrowingSearchState::VariantNarrowingSearchState): only |
| 434 |
use variant equations that have not been marked nonexec |
| 435 |
|
| 436 |
2024-01-17 Steven Eker <eker@pup> |
| 437 |
|
| 438 |
* positionState.cc (PositionState::PositionState): changed Assert() so |
| 439 |
that if we aren't respecting frozen we can't respect unstackable, but |
| 440 |
we allow setting unstackable, since the dagnode will still be unstackable |
| 441 |
when respecting frozen |
| 442 |
|
| 443 |
* stateTransitionGraph.cc (StateTransitionGraph::getNextState): pass |
| 444 |
RewriteSearchState::RESPECT_UNREWRITABLE, |
| 445 |
PositionState::RESPECT_UNSTACKABLE to RewriteSearchState() |
| 446 |
|
| 447 |
* rewriteSearchState.cc (RewriteSearchState::RewriteSearchState): |
| 448 |
added Assert()s that unrewritable/unstackable flag conventions |
| 449 |
are obeyed |
| 450 |
(RewriteSearchState::findNextRewrite): don't check isUnrewritable() |
| 451 |
unless RESPECT_UNREWRITABLE flag is set |
| 452 |
(RewriteSearchState::findNextRewrite): turned commented out cerr into |
| 453 |
DebugInfo() |
| 454 |
|
| 455 |
* rewriteSearchState.hh (class RewriteSearchState): added |
| 456 |
RESPECT_UNREWRITEABLE flag |
| 457 |
|
| 458 |
2024-01-16 Steven Eker <eker@pup> |
| 459 |
|
| 460 |
* positionState.cc (PositionState::exploreNextPosition): pass |
| 461 |
respectUnstackable argument to stackPhysicalArguments() |
| 462 |
|
| 463 |
* positionState.hh (class PositionState): added REPECT_UNSTACKABLE |
| 464 |
to flags |
| 465 |
|
| 466 |
* narrowingSearchState.hh (class NarrowingSearchState): move |
| 467 |
SINGLE_POSITION from 64 to 512 to avoid conflict with GC_VAR_GEN in |
| 468 |
other classes |
| 469 |
|
| 470 |
2024-01-12 Steven Eker <eker@pup> |
| 471 |
|
| 472 |
* positionState.hh (class PositionState): changed comment on decl for |
| 473 |
findNextPosition() |
| 474 |
|
| 475 |
2024-01-08 Steven Eker <eker@pup> |
| 476 |
|
| 477 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): added data member |
| 478 |
returnedStateAlready |
| 479 |
|
| 480 |
* rewriteSequenceSearch.cc (RewriteSequenceSearch::RewriteSequenceSearch): |
| 481 |
init branchNeeded, returnedStateAlready |
| 482 |
(RewriteSequenceSearch::findNextInterestingState): implement branchNeeded |
| 483 |
|
| 484 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): added data |
| 485 |
member branchNeeded |
| 486 |
|
| 487 |
* sequenceSearch.hh (class SequenceSearch): added BRANCH to enum |
| 488 |
SequenceSearch |
| 489 |
|
| 490 |
===================================Maude156=========================================== |
| 491 |
|
| 492 |
2023-09-25 Steven Eker <eker@pup> |
| 493 |
|
| 494 |
* variantSearch.cc (VariantSearch::VariantSearch): deleted commented |
| 495 |
out code which deleted the substitution part of the variant in the |
| 496 |
subsumption case since we still need it for termination purposes |
| 497 |
(VariantSearch::isSubsumed): deleted commented out version |
| 498 |
|
| 499 |
2023-09-22 Steven Eker <eker@pup> |
| 500 |
|
| 501 |
* variantSearch.cc (VariantSearch::VariantSearch): init variantCollection |
| 502 |
|
| 503 |
* variantFolder.cc (VariantFolder::VariantFolder): handle ignoreSubsitution |
| 504 |
arugment |
| 505 |
(VariantFolder::subsumes): use ignoreSubsitution to determine which dags |
| 506 |
to check |
| 507 |
|
| 508 |
* variantFolder.hh (class VariantFolder): updated decl for |
| 509 |
findNextVariantThatMatches() |
| 510 |
(class VariantFolder): added data member ignore subsitution; updated |
| 511 |
decl for ctor |
| 512 |
|
| 513 |
* variantFolder.cc (VariantFolder::findNextVariantThatMatches): made const |
| 514 |
|
| 515 |
* variantSearch.cc (VariantSearch::isSubsumed): reimplemented to use |
| 516 |
variant matching infrastructure |
| 517 |
(VariantSearch::VariantSearch): keep accumulated substitution in the |
| 518 |
SUBSUMPTION_MODE case so that reducibility checks can be used to |
| 519 |
terminate search |
| 520 |
|
| 521 |
2023-09-20 Steven Eker <eker@pup> |
| 522 |
|
| 523 |
* filteredVariantUnifierSearch.hh (class FilteredVariantUnifierSearch): update |
| 524 |
comment to agree with the change that we no longer always pass the |
| 525 |
IRREDUNDANT_MODE flag to the base VariantSearch |
| 526 |
(class FilteredVariantUnifierSearch): added override declarations to document |
| 527 |
that we are just overriding the base functionality |
| 528 |
|
| 529 |
===================================Maude152=========================================== |
| 530 |
|
| 531 |
2023-05-08 Steven Eker <eker@pup> |
| 532 |
|
| 533 |
* variantFolder.cc (VariantFolder::insertVariant): removed commented out |
| 534 |
code |
| 535 |
|
| 536 |
===================================Maude149=========================================== |
| 537 |
|
| 538 |
2023-04-12 Steven Eker <eker@pup> |
| 539 |
|
| 540 |
* searchState.cc (SearchState::initSubstitution): use empty() |
| 541 |
|
| 542 |
===================================Maude145=========================================== |
| 543 |
|
| 544 |
2023-03-28 Steven Eker <eker@pup> |
| 545 |
|
| 546 |
* satSolverSymbol.cc (makeFormulaList): contractTo(0) -> clear() |
| 547 |
(makeFormula): contractTo(0) -> clear() |
| 548 |
|
| 549 |
===================================Maude144=========================================== |
| 550 |
|
| 551 |
2023-03-20 Steven Eker <eker@pup> |
| 552 |
|
| 553 |
* unificationProblem.cc (UnificationProblem::UnificationProblem): |
| 554 |
globalAdvisoryFlag -> globalDebugFlag |
| 555 |
|
| 556 |
* variantUnificationProblem.cc: |
| 557 |
(VariantUnificationProblem::VariantUnificationProblem): DebugAlways() -> |
| 558 |
DebugInfo() |
| 559 |
|
| 560 |
* narrowingSearchState2.cc (NarrowingSearchState2::NarrowingSearchState2): |
| 561 |
DebugAlways() -> DebugInfo() |
| 562 |
|
| 563 |
* positionState.cc (PositionState::rebuildAndInstantiateDag): converted |
| 564 |
DebugAlways() macro calls to DebugInfo() |
| 565 |
|
| 566 |
* narrowingSearchState2.cc: added code to copy each VariableDagNode in |
| 567 |
the substitution from original variables to variables from |
| 568 |
incomingVariableFamily so VariableDagNodes are not shared between |
| 569 |
dagToNarrow (in which indices must be preserved) and blockerDags (which |
| 570 |
VariantSearch will reindex, possibly many times) |
| 571 |
|
| 572 |
2023-03-13 Steven Eker <eker@pup> |
| 573 |
|
| 574 |
* narrowingSearchState.cc: don't initialize withExtension |
| 575 |
|
| 576 |
* narrowingSearchState.hh (class NarrowingSearchState): deleted data member |
| 577 |
withExtension |
| 578 |
|
| 579 |
2023-03-10 Steven Eker <eker@pup> |
| 580 |
|
| 581 |
* temporalSymbol.cc (TemporalSymbol::negate): moved here and made non-inline |
| 582 |
because it has static data which seems to cause issues with purify |
| 583 |
|
| 584 |
2023-03-09 Steven Eker <eker@pup> |
| 585 |
|
| 586 |
* variantNarrowingSearchState.hh (class VariantNarrowingSearchState): |
| 587 |
commented out data member freshVariableGenerator |
| 588 |
|
| 589 |
* variantNarrowingSearchState.cc |
| 590 |
(VariantNarrowingSearchState::VariantNarrowingSearchState): don't initialize |
| 591 |
freshVariableGenerator |
| 592 |
|
| 593 |
* narrowingSearchState3.hh (class NarrowingSearchState3): commented out data |
| 594 |
member variableFamily |
| 595 |
|
| 596 |
* narrowingSearchState2.hh (class NarrowingSearchState2): commented out data |
| 597 |
member variableFamily |
| 598 |
|
| 599 |
===================================Maude143=========================================== |
| 600 |
|
| 601 |
2023-01-26 Steven Eker <eker@pup> |
| 602 |
|
| 603 |
* assignmentConditionFragment.cc (AssignmentConditionFragment::check): added |
| 604 |
AdvisoryCheck() for the case that all the variables in the pattern are bound |
| 605 |
before the matching takes place |
| 606 |
|
| 607 |
===================================Maude139=========================================== |
| 608 |
|
| 609 |
2022-12-19 Steven Eker <eker@pup> |
| 610 |
|
| 611 |
* variantUnifierFilter.cc (VariantUnifierFilter::insertUnifier): take the range |
| 612 |
of the internal tuple from the root of the context rather than from the first |
| 613 |
binding in the unifier, to fix a bug in the case that the unifier is the empty |
| 614 |
assignment |
| 615 |
|
| 616 |
===================================Maude138=========================================== |
| 617 |
|
| 618 |
2022-02-21 Steven Eker <eker@pup> |
| 619 |
|
| 620 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3::findNextUnifier): use |
| 621 |
FilteredVariantUnifierSearch for unifying with goal if FILTER_VARIANT_UNIFIERS |
| 622 |
has been passed |
| 623 |
|
| 624 |
===================================Maude137b=========================================== |
| 625 |
|
| 626 |
2021-05-04 Steven Eker <eker2@eker10> |
| 627 |
|
| 628 |
* narrowingSequenceSearch.cc |
| 629 |
(NarrowingSequenceSearch::findNextMatch): use |
| 630 |
getVariableInfo().getNrVariables() in place of getNrOfVariablesInSubject() |
| 631 |
|
| 632 |
* narrowingSearchState.hh: deleted getNrOfVariablesInSubject() |
| 633 |
|
| 634 |
===================================Maude136=========================================== |
| 635 |
|
| 636 |
2021-02-19 Steven Eker <eker2@eker10> |
| 637 |
|
| 638 |
* unificationProblem.hh (class UnificationProblem): delete |
| 639 |
destructiveUpdates data member; update decl for ctor |
| 640 |
|
| 641 |
* unificationProblem.cc (UnificationProblem::UnificationProblem): |
| 642 |
removed destructiveUpdates argument |
| 643 |
|
| 644 |
* irredundantUnificationProblem.cc: don't pass a |
| 645 |
destructiveUpdates argument |
| 646 |
|
| 647 |
* unificationProblem.cc |
| 648 |
(UnificationProblem::findOrderSortedUnifiers): use new |
| 649 |
freeVariables semantics |
| 650 |
(UnificationProblem::bindFreeVariables): make new variables and do |
| 651 |
instantiation of orginal bindings if destructiveUpdates == false |
| 652 |
(UnificationProblem::UnificationProblem): force destructiveUpdates |
| 653 |
= false because they produce denormalized unifiers |
| 654 |
(UnificationProblem::bindFreeVariables): get name for new variable |
| 655 |
from old variable |
| 656 |
(UnificationProblem::bindFreeVariables): delete the code for the |
| 657 |
destructiveUpdate case |
| 658 |
|
| 659 |
* unificationProblem.hh (class UnificationProblem): data member |
| 660 |
freeVariables becomes a NatSet rather than a Vector<int> |
| 661 |
|
| 662 |
* irredundantUnificationProblem.cc |
| 663 |
(IrredundantUnificationProblem::IrredundantUnificationProblem): |
| 664 |
pass destructiveUpdates = false to UnificationProblem |
| 665 |
|
| 666 |
* unificationProblem.cc |
| 667 |
(UnificationProblem::UnificationProblem): take and set |
| 668 |
destructiveUpdates flag |
| 669 |
|
| 670 |
* unificationProblem.hh (class UnificationProblem): update ctor |
| 671 |
decl |
| 672 |
(class UnificationProblem): added data member destructiveUpdates |
| 673 |
|
| 674 |
* unificationProblem.cc (UnificationProblem::bindFreeVariables): |
| 675 |
index -> newSortIndex |
| 676 |
|
| 677 |
2021-02-18 Steven Eker <eker2@eker10> |
| 678 |
|
| 679 |
* irredundantUnificationProblem.cc |
| 680 |
(IrredundantUnificationProblem::findNextUnifier): fix off-by-error |
| 681 |
in call to UnifierFilter |
| 682 |
|
| 683 |
===================================Maude133=========================================== |
| 684 |
|
| 685 |
2020-12-11 Steven Eker <eker2@eker10> |
| 686 |
|
| 687 |
* narrowingSearchState2.cc |
| 688 |
(NarrowingSearchState2::NarrowingSearchState2): pass |
| 689 |
maintainInvariants = false to instantiate() |
| 690 |
|
| 691 |
* narrowingSearchState3.cc |
| 692 |
(NarrowingSearchState3::makeAccumulatedSubstitution): pass |
| 693 |
maintainInvariants = true to instantiate() |
| 694 |
|
| 695 |
* narrowingSequenceSearch3.cc |
| 696 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): pass |
| 697 |
maintainInvariants = false to instantiate(); comment out hack to |
| 698 |
compute sorts |
| 699 |
(NarrowingSequenceSearch3::findNextUnifier): pass |
| 700 |
maintainInvariants = false to instantiate() (2 places) |
| 701 |
|
| 702 |
* narrowingSequenceSearch.cc |
| 703 |
(NarrowingSequenceSearch::NarrowingSequenceSearch): pass |
| 704 |
maintainInvariants = false to instantiate() |
| 705 |
|
| 706 |
* narrowingUnificationProblem.cc |
| 707 |
(NarrowingUnificationProblem::bindFreeVariables): pass |
| 708 |
maintainInvariants = true to instantiate() |
| 709 |
|
| 710 |
* unificationProblem.cc |
| 711 |
(UnificationProblem::findOrderSortedUnifiers): pass |
| 712 |
maintainInvariants = true to instantiate() |
| 713 |
|
| 714 |
* variantMatchingProblem.cc |
| 715 |
(VariantMatchingProblem::findNextMatcher): pass maintainInvariants |
| 716 |
= true to instantiate() |
| 717 |
|
| 718 |
* variantNarrowingSearchState.cc |
| 719 |
(VariantNarrowingSearchState::findNextVariant): pass |
| 720 |
maintainInvariants = false to instantiate() (2 places) |
| 721 |
|
| 722 |
* variantSearch.cc: pass maintainInvariants = false to |
| 723 |
instantiate() |
| 724 |
|
| 725 |
2020-12-10 Steven Eker <eker2@eker10> |
| 726 |
|
| 727 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): |
| 728 |
added data member nrStatesExpanded |
| 729 |
|
| 730 |
* narrowingSequenceSearch3.cc |
| 731 |
(NarrowingSequenceSearch3::NarrowingSequenceSearch3): initialize |
| 732 |
nrStatesExpanded |
| 733 |
(NarrowingSequenceSearch3::findNextInterestingState): increment |
| 734 |
nrStatesExpanded everytime we try to expand a state; output this |
| 735 |
number in a Verbose() message |
| 736 |
|
| 737 |
* narrowingFolder.cc (NarrowingFolder::getNextSurvivingState): |
| 738 |
removed Verbose() since we can't be sure of number of surviving |
| 739 |
state - this is because cleanGraph() will erase states that |
| 740 |
have been expanded if we're not keeping a history |
| 741 |
|
| 742 |
* narrowingSequenceSearch3.cc |
| 743 |
(NarrowingSequenceSearch3::findNextInterestingState): fix |
| 744 |
Verbose() for total number of states seen so that it executes if |
| 745 |
we stop because of depth; include initial state in count |
| 746 |
|
| 747 |
2020-12-03 Steven Eker <eker2@eker10> |
| 748 |
|
| 749 |
* narrowingSequenceSearch3.cc: added hack to compute sorts in |
| 750 |
goal; probably we should fix this by having a flag to |
| 751 |
instantiate() to say whether sorts are expected and should be |
| 752 |
maintained for ground dags |
| 753 |
|
| 754 |
===================================Maude132=========================================== |
| 755 |
|
| 756 |
2020-10-05 Steven Eker <eker2@eker10> |
| 757 |
|
| 758 |
* variantSearch.cc: fill out problemOkay |
| 759 |
|
| 760 |
* variantSearch.hh (class VariantSearch): added decl for problemOK() |
| 761 |
(VariantSearch::problemOK):added |
| 762 |
(class VariantSearch): added data member problemOkay |
| 763 |
|
| 764 |
2020-09-28 Steven Eker <eker2@eker10> |
| 765 |
|
| 766 |
* variantFolder.cc (VariantFolder::insertVariant): deleted |
| 767 |
commented out code (3 places) |
| 768 |
|
| 769 |
2020-09-18 Steven Eker <eker2@eker10> |
| 770 |
|
| 771 |
* variantSearch.cc: removed BUG comment from reduce() call and |
| 772 |
added a detailed explanation of why the potential bug is in fact |
| 773 |
avoided by DagNode::indexVariables(NarrowingVariableInfo& indices, |
| 774 |
int baseIndex) |
| 775 |
|
| 776 |
2020-09-15 Steven Eker <eker2@eker10> |
| 777 |
|
| 778 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3): deleted |
| 779 |
fold and keepHistory arguments; take and store variantFlags |
| 780 |
argument |
| 781 |
(NarrowingSequenceSearch3::findNextInterestingState): pass |
| 782 |
variantFlags to NarrowingSearchState3 |
| 783 |
|
| 784 |
* narrowingSequenceSearch3.hh (class NarrowingSequenceSearch3): |
| 785 |
added enum flags; delete ctor fold and keepHistory arguments; |
| 786 |
added variantFlags argument |
| 787 |
(class NarrowingSequenceSearch3): added variantFlags data member |
| 788 |
|
| 789 |
* narrowingSearchState3.cc |
| 790 |
(NarrowingSearchState3::markReachableNodes): deleted because |
| 791 |
blockerDags vector is always empty |
| 792 |
|
| 793 |
* narrowingSearchState3.hh (class NarrowingSearchState3): make |
| 794 |
blockerDags const since it will always be empty; delete |
| 795 |
SimpleRootContainer private base class; delete decl for |
| 796 |
markReachableNodes() |
| 797 |
|
| 798 |
* narrowingSearchState3.cc (NarrowingSearchState2): take and store |
| 799 |
variantFlags |
| 800 |
(NarrowingSearchState3::findNextNarrowing): pass variantFlags to |
| 801 |
VariantUnificationProblem() |
| 802 |
|
| 803 |
* narrowingSearchState3.hh (class NarrowingSearchState3): added |
| 804 |
variantFlags argument to ctor; added data member variantFlags |
| 805 |
|
| 806 |
* narrowingSearchState2.hh (class NarrowingSearchState2): added |
| 807 |
data member variantFlags |
| 808 |
|
| 809 |
* narrowingSearchState2.cc (NarrowingSearchState2): take and store |
| 810 |
variantFlags argument |
| 811 |
(NarrowingSearchState2::findNextNarrowing): pass variantFlags to |
| 812 |
VariantUnificationProblem() |
| 813 |
|
| 814 |
* narrowingSearchState2.hh (class NarrowingSearchState2): added |
| 815 |
variantFlags argument to ctor |
| 816 |
|
| 817 |
* variantUnificationProblem.cc: take variantFlags and use them to |
| 818 |
decide between FilteredVariantUnifierSearch() and VariantSearch(); |
| 819 |
pass them on to the chosen constructor |
| 820 |
|
| 821 |
* variantUnificationProblem.hh (class VariantUnificationProblem): |
| 822 |
added variantFlags argument to ctor; added enum Flags |
| 823 |
|
| 824 |
2020-09-14 Steven Eker <eker2@eker10> |
| 825 |
|
| 826 |
* filteredVariantUnifierSearch.cc: updated comments |
| 827 |
|
| 828 |
2020-09-11 Steven Eker <eker2@eker10> |
| 829 |
|
| 830 |
* variantFolder.hh (class VariantFolder): deleted decls for |
| 831 |
getNextSurvivingVariant(), getLastReturnedVariant() |
| 832 |
|
| 833 |
* variantFolder.cc (VariantFolder::getNextSurvivingVariant): |
| 834 |
deleted |
| 835 |
(VariantFolder::getLastReturnedVariant): deleted |
| 836 |
|
| 837 |
* variantSearch.hh (class VariantSearch): deleted decls for |
| 838 |
getNextVariant(), getLastReturnedVariant() |
| 839 |
|
| 840 |
* variantSearch.cc (VariantSearch::getNextVariant): deleted |
| 841 |
(VariantSearch::getLastReturnedVariant): deleted |
| 842 |
|
| 843 |
* variantSearch.hh (VariantSearch::getCurrentVariant): translate |
| 844 |
parentNumber to external numbering scheme |
| 845 |
(class VariantSearch): data member nrVariantsReturned becomes |
| 846 |
nrVariantsFound |
| 847 |
|
| 848 |
* variantSearch.cc (VariantSearch::getNextVariant): deleted |
| 849 |
(VariantSearch::findNextVariant): increment nrVariantsFound |
| 850 |
(VariantSearch): initialize nrVariantsFound rather than |
| 851 |
nrVariantsReturned |
| 852 |
(VariantSearch::findNextVariant): build internal to external |
| 853 |
variant numbering map |
| 854 |
|
| 855 |
* variantSearch.hh (class VariantSearch): added decl for |
| 856 |
findNextVariant() |
| 857 |
|
| 858 |
* variantSearch.cc (VariantSearch::findNextVariant): added |
| 859 |
|
| 860 |
* variantSearch.hh (VariantSearch::getCurrentVariant): added |
| 861 |
|
| 862 |
2020-09-10 Steven Eker <eker2@eker10> |
| 863 |
|
| 864 |
* narrowingUnificationProblem.cc |
| 865 |
(NarrowingUnificationProblem::bindFreeVariables): use range-based |
| 866 |
for loop |
| 867 |
(NarrowingUnificationProblem::findOrderSortedUnifiers): use |
| 868 |
range-based loop (3 places) |
| 869 |
|
| 870 |
* unificationProblem.cc (UnificationProblem::bindFreeVariables): |
| 871 |
use range-based for loop |
| 872 |
|
| 873 |
* narrowingSearchState3.cc |
| 874 |
(NarrowingSearchState3::markReachableNodes): use range-based for |
| 875 |
loop |
| 876 |
|
| 877 |
* narrowingSearchState2.hh (class NarrowingSearchState2): |
| 878 |
rearrange data members for more compact layout |
| 879 |
|
| 880 |
* narrowingSearchState2.cc |
| 881 |
(NarrowingSearchState2::markReachableNodes): use range-based for |
| 882 |
loop |
| 883 |
|
| 884 |
* narrowingSequenceSearch3.cc |
| 885 |
(NarrowingSequenceSearch3::findNextInterestingState): updated call |
| 886 |
to NarrowingSearchState3() |
| 887 |
|
| 888 |
* narrowingSearchState3.hh (class NarrowingSearchState3): updated |
| 889 |
decl for ctor |
| 890 |
|
| 891 |
* narrowingSearchState3.cc: switch order of freshVariableGenerator |
| 892 |
and incomingVariableFamily for consistancy with other classes |
| 893 |
|
| 894 |
* narrowingSearchState3.hh (class NarrowingSearchState3): don't |
| 895 |
derive from CacheableState since we're not caching these |
| 896 |
|
| 897 |
* narrowingFolder.cc (NarrowingFolder::insertState): use StateSet |
| 898 |
|
| 899 |
* narrowingFolder.hh (class NarrowingFolder): added typedef |
| 900 |
StateSet |
| 901 |
|
| 902 |
* narrowingFolder.cc (~NarrowingFolder): use range-based for loop |
| 903 |
(NarrowingFolder::markReachableNodes): use range-based for loop |
| 904 |
(NarrowingFolder::insertState): use range-based for loop |
| 905 |
|
| 906 |
===================================Maude130=========================================== |
| 907 |
|
| 908 |
2020-09-04 Steven Eker <eker2@eker10> |
| 909 |
|
| 910 |
* variantSearch.hh (VariantSearch::makeVariantMatchingProblem): |
| 911 |
take subject as a RewritingContext |
| 912 |
|
| 913 |
* variantMatchingProblem.cc (VariantMatchingProblem): take subject |
| 914 |
as a RewritingContext; don't index subject variables here |
| 915 |
(~VariantMatchingProblem): delete subject |
| 916 |
(VariantMatchingProblem::checkVariablesInSubject): access subject |
| 917 |
as a RewritingContext |
| 918 |
(VariantMatchingProblem::markReachableNodes): don't mark subject |
| 919 |
(VariantMatchingProblem::findNextMatcher): access subject as a |
| 920 |
RewritingContext |
| 921 |
|
| 922 |
* variantMatchingProblem.hh |
| 923 |
(VariantMatchingProblem::freshVariablesNeeded): added |
| 924 |
(class VariantMatchingProblem): take and store subject as a |
| 925 |
RewritingContext |
| 926 |
|
| 927 |
* variantFolder.hh (class VariantFolder): better explained the |
| 928 |
semantics of findNextVariantThatMatches() |
| 929 |
|
| 930 |
* variantFolder.cc (VariantFolder::findNextVariantThatMatches): |
| 931 |
need to clear matcher on failure so caller doesn't try to double |
| 932 |
delete it |
| 933 |
|
| 934 |
2020-09-02 Steven Eker <eker2@eker10> |
| 935 |
|
| 936 |
* variantUnifierFilter.cc |
| 937 |
(VariantUnifierFilter::markReachableNodes): deleted |
| 938 |
(VariantUnifierFilter::insertUnifier): use setNode()/getNode() for |
| 939 |
encodedUnifier |
| 940 |
(VariantUnifierFilter): don't initialize encodedUnifier |
| 941 |
|
| 942 |
* variantUnifierFilter.hh (class VariantUnifierFilter): remove |
| 943 |
SimpleRootContainer as a base class |
| 944 |
(class VariantUnifierFilter): deleted decl for |
| 945 |
markReachableNodes(); make encodedUnifier a DagRoot |
| 946 |
|
| 947 |
* variantUnifierFilter.cc |
| 948 |
(VariantUnifierFilter::findNextSurvivingUnifier): moved here; no |
| 949 |
longer inline |
| 950 |
(VariantUnifierFilter): initialize currentUnifierSubsumed; |
| 951 |
currentUnifier |
| 952 |
(VariantUnifierFilter::findNextSurvivingUnifier): delete |
| 953 |
currentUnifier if it was subsumed and we move the iterator past it |
| 954 |
(VariantUnifierFilter::insertUnifier): don't waste time trying to |
| 955 |
subsume new unifier with current unifier if the |
| 956 |
currentUnifierSubsumed flag is set; set flag rather the deleting |
| 957 |
the currentUnifier if new unifier subsumes it |
| 958 |
|
| 959 |
* variantUnifierFilter.hh (class VariantUnifierFilter): added data |
| 960 |
member currentUnifierSubsumed |
| 961 |
|
| 962 |
2020-09-01 Steven Eker <eker2@eker10> |
| 963 |
|
| 964 |
* variantUnifierFilter.hh |
| 965 |
(VariantUnifierFilter::findNextSurvivingUnifier): support |
| 966 |
extraction even as new unifiers may be added |
| 967 |
|
| 968 |
* filteredVariantUnifierSearch.cc |
| 969 |
(FilteredVariantUnifierSearch::findNextUnifier): support |
| 970 |
incremental extraction |
| 971 |
|
| 972 |
* variantUnifierFilter.cc (VariantUnifierFilter::insertUnifier): |
| 973 |
allow unifiers to be added after extraction started |
| 974 |
|
| 975 |
* filteredVariantUnifierSearch.cc (FilteredVariantUnifierSearch): |
| 976 |
init flags; don't pass IRREDUNDANT_MODE by default |
| 977 |
|
| 978 |
* filteredVariantUnifierSearch.hh (class |
| 979 |
FilteredVariantUnifierSearch): added data member flags |
| 980 |
|
| 981 |
2020-08-28 Steven Eker <eker2@eker10> |
| 982 |
|
| 983 |
* filteredVariantUnifierSearch.hh |
| 984 |
(FilteredVariantUnifierSearch::filteringIncomplete()): added |
| 985 |
|
| 986 |
* variantUnifierFilter.cc: initialize filteringIncompleteFlag |
| 987 |
(VariantUnifierFilter::insertUnifier): check for incompleteness of |
| 988 |
subsumption variant set |
| 989 |
|
| 990 |
* variantUnifierFilter.hh |
| 991 |
(VariantUnifierFilter::filteringIncomplete): added |
| 992 |
(class VariantUnifierFilter): added data member |
| 993 |
filteringIncompleteFlag |
| 994 |
|
| 995 |
* variantMatchingProblem.cc |
| 996 |
(VariantMatchingProblem::checkVariablesInSubject): added |
| 997 |
(VariantMatchingProblem::findNextMatcher): call |
| 998 |
checkVariablesInSubject() and avoid used variables |
| 999 |
|
| 1000 |
* variantMatchingProblem.hh (class VariantMatchingProblem): added |
| 1001 |
decl for checkVariablesInSubject() |
| 1002 |
(class VariantMatchingProblem): added decl for data member |
| 1003 |
indicesToAvoid, checkedVariablesInSubject |
| 1004 |
|
| 1005 |
2020-08-27 Steven Eker <eker2@eker10> |
| 1006 |
|
| 1007 |
* variantSearch.cc (VariantSearch): use range-based for loop |
| 1008 |
(VariantSearch::markReachableNodes): use range-based for loop |
| 1009 |
(VariantSearch::expandLayer): use range-based for loop |
| 1010 |
|
| 1011 |
* unifierFilter.cc (~UnifierFilter): use range-based for loop |
| 1012 |
(UnifierFilter::markReachableNodes): use range-based for loop |
| 1013 |
(UnifierFilter::insertUnifier): use range-based for loop |
| 1014 |
|
| 1015 |
* variantFolder.cc (VariantFolder::insertVariant): deleted |
| 1016 |
commented out code |
| 1017 |
|
| 1018 |
* narrowingSequenceSearch.cc (~NarrowingSequenceSearch): use range |
| 1019 |
based for loop |
| 1020 |
|
| 1021 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3): |
| 1022 |
simplified and eliminated call to getBaseVariableSymbol(); deleted |
| 1023 |
commented out code |
| 1024 |
|
| 1025 |
* narrowingSequenceSearch.cc (NarrowingSequenceSearch): simplified |
| 1026 |
and eliminated call to getBaseVariableSymbol() |
| 1027 |
|
| 1028 |
* narrowingSearchState2.cc (NarrowingSearchState2): simplified and |
| 1029 |
eliminated call to getBaseVariableSymbol() |
| 1030 |
|
| 1031 |
* variantUnificationProblem.cc |
| 1032 |
(VariantUnificationProblem::findNextUnifier): simplified and |
| 1033 |
eliminated calls to getBaseVariableSymbol() |
| 1034 |
|
| 1035 |
* unificationProblem.cc |
| 1036 |
(UnificationProblem::findOrderSortedUnifiers): only use |
| 1037 |
getBaseVariableSymbol() for fresh variables |
| 1038 |
|
| 1039 |
2020-08-26 Steven Eker <eker2@eker10> |
| 1040 |
|
| 1041 |
* variantMatchingProblem.cc |
| 1042 |
(VariantMatchingProblem::findNextMatcher): handle null returned by |
| 1043 |
instantiate() |
| 1044 |
|
| 1045 |
* variantSearch.cc (VariantSearch): use original variable symbol |
| 1046 |
directly rather than getting sort and using getBaseVariableSymbol() |
| 1047 |
|
| 1048 |
* variantMatchingProblem.cc |
| 1049 |
(VariantMatchingProblem::findNextMatcher): pass variableInfo |
| 1050 |
rather than nrFreeVariables to findNextVariantThatMatches() |
| 1051 |
(VariantMatchingProblem::findNextMatcher): bind unbound variables |
| 1052 |
to fresh variables |
| 1053 |
|
| 1054 |
* variantFolder.hh (class VariantFolder): updated decl for |
| 1055 |
findNextVariantThatMatches() |
| 1056 |
|
| 1057 |
* variantFolder.cc (VariantFolder::findNextVariantThatMatches): |
| 1058 |
pass back variableInfo rather than nrFreeVariables |
| 1059 |
|
| 1060 |
* variantSearch.hh (VariantSearch::makeVariantMatchingProblem): |
| 1061 |
pass freshVariableGenerator to VariantMatchingProblem() |
| 1062 |
|
| 1063 |
* variantMatchingProblem.hh (class VariantMatchingProblem): |
| 1064 |
updated decl for ctor; added data member freshVariableGenerator |
| 1065 |
|
| 1066 |
* variantMatchingProblem.cc (VariantMatchingProblem): take |
| 1067 |
freshVariableGenerator |
| 1068 |
|
| 1069 |
* variantFolder.cc (VariantFolder::findNextVariantThatMatches): |
| 1070 |
take and fill out nrFreeVaraibles |
| 1071 |
|
| 1072 |
* variantFolder.hh (class VariantFolder): updated decl for |
| 1073 |
findNextVariantThatMatches() |
| 1074 |
|
| 1075 |
* variantMatchingProblem.cc |
| 1076 |
(VariantMatchingProblem::findNextMatcher): pass nrFreeVariables to |
| 1077 |
findNextVariantThatMatches() |
| 1078 |
|
| 1079 |
* variantSearch.cc (VariantSearch): warning for MATCH_MODE |
| 1080 |
problems with unsafe variable names |
| 1081 |
|
| 1082 |
2020-08-25 Steven Eker <eker2@eker10> |
| 1083 |
|
| 1084 |
* variantMatchingProblem.cc |
| 1085 |
(VariantMatchingProblem::findNextMatcher): apply matcher to |
| 1086 |
current variant substitution to get variant matcher |
| 1087 |
(VariantMatchingProblem::findNextMatcher): null out matcher and |
| 1088 |
subprobem after we delete them |
| 1089 |
|
| 1090 |
* variantFolder.hh (class VariantFolder): updated decl for |
| 1091 |
findNextVariantThatMatches() |
| 1092 |
|
| 1093 |
* variantFolder.cc (VariantFolder::findNextVariantThatMatches): |
| 1094 |
pass indexOfLastUsedVariant by reference so we can update it |
| 1095 |
|
| 1096 |
* variantMatchingProblem.cc |
| 1097 |
(VariantMatchingProblem::markReachableNodes): don't use auto& |
| 1098 |
since a reference is the same size as the thing refered to |
| 1099 |
|
| 1100 |
2020-08-21 Steven Eker <eker2@eker10> |
| 1101 |
|
| 1102 |
* variantSearch.hh (class VariantSearch): added |
| 1103 |
DELETE_LAST_VARIANT_MATCHING_PROBLEM to enum Flags |
| 1104 |
(VariantSearch::getLastVariantMatchingProblem): added |
| 1105 |
(VariantSearch::makeVariantMatchingProblem): moved here |
| 1106 |
|
| 1107 |
* variantSearch.cc (VariantSearch): initialize |
| 1108 |
lastVariantMatchingProblem |
| 1109 |
(~VariantSearch): delete lastVariantMatchingProblem if requested |
| 1110 |
|
| 1111 |
* variantSearch.hh (class VariantSearch): added data member |
| 1112 |
lastVariantMatchingProblem |
| 1113 |
(class VariantSearch): added decl for makeVariantMatchingProblem() |
| 1114 |
|
| 1115 |
* variantSearch.cc (VariantSearch::makeVariantMatchingProblem): |
| 1116 |
added |
| 1117 |
|
| 1118 |
2020-08-19 Steven Eker <eker2@eker10> |
| 1119 |
|
| 1120 |
* variantFolder.hh (class VariantFolder): added decl for |
| 1121 |
prepareForVariantMatching() |
| 1122 |
|
| 1123 |
* variantFolder.cc: use data member variableInfo rather than a |
| 1124 |
local variable |
| 1125 |
(VariantFolder::prepareForVariantMatching): added |
| 1126 |
|
| 1127 |
* variantFolder.hh (class VariantFolder): added data member |
| 1128 |
variableInfo to struct RetainedVariant |
| 1129 |
|
| 1130 |
* variantSearch.cc: hande MATCH_MODE; call |
| 1131 |
VariantFolder::prepareForVariantMatching() |
| 1132 |
|
| 1133 |
* variantSearch.hh (class VariantSearch): added MATCH_MODE to enum |
| 1134 |
Flags |
| 1135 |
|
| 1136 |
* variantFolder.hh (class VariantFolder): added decl for |
| 1137 |
findNextVariantThatMatches() |
| 1138 |
|
| 1139 |
* variantFolder.cc (VariantFolder::findNextVariantThatMatches): |
| 1140 |
added |
| 1141 |
|
| 1142 |
2020-08-14 Steven Eker <eker2@eker10> |
| 1143 |
|
| 1144 |
* higher.hh: added class VariantMatchingProblem |
| 1145 |
|
| 1146 |
* variantMatchingProblem.cc |
| 1147 |
(VariantMatchingProblem::VariantMatchingProblem): init matcher, |
| 1148 |
currentVariant |
| 1149 |
(~VariantMatchingProblem): delete matcher, subproblem |
| 1150 |
|
| 1151 |
* variantMatchingProblem.hh (class VariantMatchingProblem): added |
| 1152 |
data members matcher, currentVariant |
| 1153 |
|
| 1154 |
* variantMatchingProblem.cc |
| 1155 |
(VariantMatchingProblem::VariantMatchingProblem): init |
| 1156 |
indexOfLastUsedVariant, subproblem |
| 1157 |
|
| 1158 |
* variantMatchingProblem.hh (class VariantMatchingProblem): added |
| 1159 |
data members indexOfLastUsedVariant, subproblem |
| 1160 |
|
| 1161 |
2020-08-13 Steven Eker <eker2@eker10> |
| 1162 |
|
| 1163 |
* variantFolder.cc (VariantFolder::markReachableNodes): use range |
| 1164 |
based for loop (2 places) |
| 1165 |
(~VariantFolder): use range based for loop |
| 1166 |
|
| 1167 |
* variantMatchingProblem.cc: created |
| 1168 |
|
| 1169 |
* variantMatchingProblem.hh: created |
| 1170 |
|
| 1171 |
2020-08-06 Steven Eker <eker2@eker10> |
| 1172 |
|
| 1173 |
* variantUnifierFilter.cc: initialize encodedUnifier |
| 1174 |
(VariantUnifierFilter::insertUnifier): use object data member |
| 1175 |
encodedUnifier rather than local pointer |
| 1176 |
(VariantUnifierFilter::insertUnifier): add in the rewrite counts |
| 1177 |
from the variant searchs done for subsumption |
| 1178 |
|
| 1179 |
* variantUnifierFilter.hh (class VariantUnifierFilter): added data |
| 1180 |
member encodedUnifier |
| 1181 |
|
| 1182 |
* variantUnifierFilter.cc |
| 1183 |
(VariantUnifierFilter::markReachableNodes): implemented |
| 1184 |
|
| 1185 |
2020-08-05 Steven Eker <eker2@eker10> |
| 1186 |
|
| 1187 |
* variantUnifierFilter.cc |
| 1188 |
(VariantUnifierFilter::getNextSurvivingUnifier): deleted stub |
| 1189 |
(VariantUnifierFilter::insertUnifier): added Assert() |
| 1190 |
(VariantUnifierFilter::~VariantUnifierFilter): implemented |
| 1191 |
|
| 1192 |
* variantUnifierFilter.hh (class VariantUnifierFilter): data |
| 1193 |
member nextUnifer becomes currentUnifier |
| 1194 |
(VariantUnifierFilter::findNextSurvivingUnifier): added |
| 1195 |
(VariantUnifierFilter::getCurrentSurvivingUnifier): added |
| 1196 |
(class VariantUnifierFilter): deleted decl for |
| 1197 |
getNextSurvivingUnifier() |
| 1198 |
|
| 1199 |
* filteredVariantUnifierSearch.cc |
| 1200 |
(FilteredVariantUnifierSearch::findNextUnifier): implemented |
| 1201 |
(FilteredVariantUnifierSearch::getCurrentUnifier): implemented |
| 1202 |
|
| 1203 |
2020-08-04 Steven Eker <eker2@eker10> |
| 1204 |
|
| 1205 |
* filteredVariantUnifierSearch.cc |
| 1206 |
(FilteredVariantUnifierSearch::findNextUnifier): added stub |
| 1207 |
(FilteredVariantUnifierSearch::getCurrentUnifier): added stub |
| 1208 |
|
| 1209 |
* filteredVariantUnifierSearch.hh (class |
| 1210 |
FilteredVariantUnifierSearch): added decls for findNextUnifier(), |
| 1211 |
getCurrentUnifier() |
| 1212 |
|
| 1213 |
* variantSearch.cc (VariantSearch::getNextUnifier): deleted |
| 1214 |
|
| 1215 |
* variantSearch.hh (VariantSearch::getLastReturnedUnifier): deleted |
| 1216 |
(class VariantSearch): deleted decls for getNextUnifier(), |
| 1217 |
getLastReturnedUnifier() |
| 1218 |
|
| 1219 |
* filteredVariantUnifierSearch.hh (class |
| 1220 |
FilteredVariantUnifierSearch): deleted decls for getNextUnifier(), |
| 1221 |
getLastReturnedUnifier() |
| 1222 |
|
| 1223 |
* filteredVariantUnifierSearch.cc: rewritten to use |
| 1224 |
findNextUnifier()/getCurrentUnifier() rather than getNextUnifier() |
| 1225 |
(FilteredVariantUnifierSearch::getNextUnifier): deleted |
| 1226 |
(FilteredVariantUnifierSearch::getLastReturnedUnifier): deleted |
| 1227 |
|
| 1228 |
* narrowingSequenceSearch3.cc |
| 1229 |
(NarrowingSequenceSearch3::findNextUnifier): use |
| 1230 |
findNextUnifier()/getCurrentUnifier() rather than getNextUnifier() |
| 1231 |
|
| 1232 |
* variantUnificationProblem.cc |
| 1233 |
(VariantUnificationProblem::findNextUnifier): use |
| 1234 |
findNextUnifier()/getCurrentUnifier() rather than getNextUnifier() |
| 1235 |
|
| 1236 |
* variantFolder.hh (VariantFolder::getCurrentVariantSize): added |
| 1237 |
|
| 1238 |
* variantSearch.hh (class VariantSearch): added decls for |
| 1239 |
findNextUnifier(), getCurrentUnifier() |
| 1240 |
|
| 1241 |
* variantSearch.cc (VariantSearch::findNextUnifier): added |
| 1242 |
(VariantSearch::getCurrentUnifier): added |
| 1243 |
|
| 1244 |
* variantFolder.hh (class VariantFolder): added decls for |
| 1245 |
findNextSurvivingVariant() and getCurrentVariant() |
| 1246 |
|
| 1247 |
* variantFolder.cc (VariantFolder::findNextSurvivingVariant): |
| 1248 |
added |
| 1249 |
(VariantFolder::getCurrentVariant()): added |
| 1250 |
|
| 1251 |
* variantFolder.hh (class VariantFolder): added data member |
| 1252 |
currentVariant |
| 1253 |
|
| 1254 |
2020-08-03 Steven Eker <eker2@eker10> |
| 1255 |
|
| 1256 |
* higher.hh: added class FilteredVariantUnifierSearch |
| 1257 |
|
| 1258 |
* filteredVariantUnifierSearch.cc: created |
| 1259 |
|
| 1260 |
* filteredVariantUnifierSearch.hh: created |
| 1261 |
|
| 1262 |
* variantUnifierFilter.cc (VariantUnifierFilter::insertUnifier): |
| 1263 |
handle nrFreeVariables argument |
| 1264 |
(VariantUnifierFilter::getNextSurvivingUnifier): take |
| 1265 |
nrFreeVariables argument |
| 1266 |
|
| 1267 |
* variantUnifierFilter.hh (class VariantUnifierFilter): added |
| 1268 |
nrFreeVariables data member to struct RetainedUnifier |
| 1269 |
(VariantUnifierFilter::RetainedUnifier::RetainedUnifier): take and |
| 1270 |
store nrFreeVariables |
| 1271 |
(class VariantUnifierFilter): updated decl for insertUnifier() and |
| 1272 |
getNextSurvivingUnifier() |
| 1273 |
|
| 1274 |
* variantSearch.hh (class VariantSearch): reorganized member |
| 1275 |
functions and comments; made getNextUnifier(), |
| 1276 |
getLastReturnedUnifier() virtual |
| 1277 |
|
| 1278 |
* variantUnifierFilter.hh (class VariantUnifierFilter): updated |
| 1279 |
decl for ctor; deleted data member blockerDags |
| 1280 |
|
| 1281 |
* variantUnifierFilter.cc (VariantUnifierFilter::insertUnifier): |
| 1282 |
pass dummy vector instead of blockerDags |
| 1283 |
(VariantUnifierFilter::VariantUnifierFilter): don't take |
| 1284 |
blockerDags argument |
| 1285 |
|
| 1286 |
|
| 1287 |
2020-07-29 Steven Eker <eker2@eker10> |
| 1288 |
|
| 1289 |
* irredundantUnificationProblem.hh (class |
| 1290 |
IrredundantUnificationProblem): commented out decl for |
| 1291 |
markReachableNodes() |
| 1292 |
|
| 1293 |
* irredundantUnificationProblem.cc |
| 1294 |
(IrredundantUnificationProblem::markReachableNodes): commented out |
| 1295 |
- UnifierFilter protects the unifiers it returns |
| 1296 |
|
| 1297 |
2020-07-28 Steven Eker <eker2@eker10> |
| 1298 |
|
| 1299 |
* higher.hh: added class VariantUnifierFilter |
| 1300 |
|
| 1301 |
* variantUnifierFilter.hh (class VariantUnifierFilter): updated |
| 1302 |
decl for ctor |
| 1303 |
|
| 1304 |
* variantUnifierFilter.cc (VariantUnifierFilter::insertUnifier): |
| 1305 |
finished |
| 1306 |
|
| 1307 |
* variantUnifierFilter.hh |
| 1308 |
(VariantUnifierFilter::RetainedUnifier::RetainedUnifier): added |
| 1309 |
(VariantUnifierFilter::RetainedUnifier::~RetainedUnifier): added |
| 1310 |
|
| 1311 |
* variantUnifierFilter.cc |
| 1312 |
(VariantUnifierFilter::VariantUnifierFilter): take and initialize |
| 1313 |
freshVariableGenerator |
| 1314 |
|
| 1315 |
* variantUnifierFilter.hh |
| 1316 |
(VariantUnifierFilter::RetainedUnifier::subsumes): added |
| 1317 |
|
| 1318 |
2020-07-24 Steven Eker <eker2@eker10> |
| 1319 |
|
| 1320 |
* variantUnifierFilter.hh: created |
| 1321 |
|
| 1322 |
* variantUnifierFilter.cc: created |
| 1323 |
|
| 1324 |
* variantNarrowingSearchState.cc |
| 1325 |
(VariantNarrowingSearchState::VariantNarrowingSearchState): |
| 1326 |
updated comments; use range-based for loop for indexing variant |
| 1327 |
substitution; use range-based for loop for iterating over |
| 1328 |
equations |
| 1329 |
(VariantNarrowingSearchState::findNextVariant): use range-based |
| 1330 |
for loop for iterating over blocker dags |
| 1331 |
(VariantNarrowingSearchState::findNextVariant): replaced commned |
| 1332 |
out print statements with DebugInfo()s |
| 1333 |
(VariantNarrowingSearchState::VariantNarrowingSearchState): |
| 1334 |
replaced commented out print statement with DebugEnter() |
| 1335 |
|
| 1336 |
2020-07-23 Steven Eker <eker2@eker10> |
| 1337 |
|
| 1338 |
* variantFolder.hh (class VariantFolder): updated decl for |
| 1339 |
subsumes() |
| 1340 |
|
| 1341 |
* variantFolder.cc (VariantFolder::subsumes): made const |
| 1342 |
|
| 1343 |
* variantSearch.hh (class VariantSearch): added decl for |
| 1344 |
isSubsumed() |
| 1345 |
|
| 1346 |
* variantSearch.cc: added |
| 1347 |
|
| 1348 |
* variantFolder.hh (class VariantFolder): added decl for |
| 1349 |
isSubsumed( |
| 1350 |
|
| 1351 |
* variantFolder.cc (VariantFolder::isSubsumed): added |
| 1352 |
(VariantFolder::insertVariant): use isSubsumed() |
| 1353 |
|
| 1354 |
* variantSearch.cc (VariantSearch::VariantSearch): in |
| 1355 |
SUBSUMPTION_MODE we don't keep the variant substitution and we |
| 1356 |
generate a minimal complete set of variants upfront so we can be |
| 1357 |
done with blockerDags which some other subsumption search may |
| 1358 |
neeed to use |
| 1359 |
|
| 1360 |
2020-07-22 Steven Eker <eker2@eker10> |
| 1361 |
|
| 1362 |
* variantSearch.hh (class VariantSearch): added SUBSUMPTION_MODE |
| 1363 |
to Flags |
| 1364 |
|
| 1365 |
* variantUnificationProblem.cc: use new VariantSearch calling |
| 1366 |
conventions |
| 1367 |
|
| 1368 |
* narrowingSequenceSearch3.cc |
| 1369 |
(NarrowingSequenceSearch3::findNextUnifier): use new VariantSearch |
| 1370 |
calling conventions |
| 1371 |
|
| 1372 |
* variantSearch.cc (VariantSearch::VariantSearch): added argument |
| 1373 |
flags; deleted arguments unificationMode, irredundantMode, |
| 1374 |
deleteFreshVariableGenerator, checkVariableNames; use flags rather |
| 1375 |
than unificationMode (2 places) |
| 1376 |
(VariantSearch::expandVariant): use flags rather that |
| 1377 |
unificationMode (2 places) |
| 1378 |
(VariantSearch::VariantSearch): use flags instead of |
| 1379 |
checkVariableNames (2 places); use flags instead of |
| 1380 |
irredundantMode; updated comment to explain why we expect to get |
| 1381 |
redundant unifiers even with irredundant variants |
| 1382 |
(VariantSearch::~VariantSearch): use flags instead of |
| 1383 |
deleteFreshVariableGenerator |
| 1384 |
|
| 1385 |
* variantSearch.hh (class VariantSearch): added enum Flags |
| 1386 |
(class VariantSearch): updated ctor decl |
| 1387 |
(class VariantSearch): added data member flags; deleted data |
| 1388 |
members unificationMode, irredundantMode, |
| 1389 |
deleteFreshVariableGenerator |
| 1390 |
(VariantSearch::getIrredundantMode): use flags |
| 1391 |
|
| 1392 |
2020-07-15 Steven Eker <eker2@eker10> |
| 1393 |
|
| 1394 |
* irredundantUnificationProblem.cc |
| 1395 |
(IrredundantUnificationProblem::findNextUnifier): don't pass |
| 1396 |
argument to RewritingContext ctor |
| 1397 |
|
| 1398 |
2020-07-14 Steven Eker <eker2@eker10> |
| 1399 |
|
| 1400 |
* higher.hh: added forward decl for class |
| 1401 |
IrredundantUnificationProblem |
| 1402 |
|
| 1403 |
2020-07-10 Steven Eker <eker2@eker10> |
| 1404 |
|
| 1405 |
(IrredundantUnificationProblem::findNextUnifier): fill out sorts |
| 1406 |
of each binding using dummy RewritingContext |
| 1407 |
|
| 1408 |
* irredundantUnificationProblem.hh: created |
| 1409 |
|
| 1410 |
* irredundantUnificationProblem.cc: created |
| 1411 |
|
| 1412 |
* unificationProblem.cc (UnificationProblem::getSolution): moved |
| 1413 |
here because it can no longer be inline, having become virtual |
| 1414 |
(getNrFreeVariables): ditto |
| 1415 |
|
| 1416 |
* unificationProblem.hh (class UnificationProblem): make |
| 1417 |
markReachableNodes() protected so derived class can override it |
| 1418 |
|
| 1419 |
* unifierFilter.hh (class UnifierFilter): provide default values |
| 1420 |
for postionIndex, equationIndex |
| 1421 |
|
| 1422 |
* unificationProblem.hh (class UnificationProblem): made dtor, |
| 1423 |
findNextUnifier(), getSolution(), getNrFreeVariables() virtual |
| 1424 |
|
| 1425 |
* unifierFilter.hh (class UnifierFilter): added comment to explain |
| 1426 |
that posistionIndex and equationIndex are opaque and can be use to |
| 1427 |
store whatever integers the caller finds useful to maintain along |
| 1428 |
side a unifier |
| 1429 |
|
| 1430 |
===================================Maude129=========================================== |
| 1431 |
|
| 1432 |
2020-06-11 Steven Eker <eker2@eker10> |
| 1433 |
|
| 1434 |
* variantNarrowingSearchState.cc |
| 1435 |
(VariantNarrowingSearchState::collectUnifiers): make message |
| 1436 |
printed out every thousand unifier depend on globalVerboseFlag |
| 1437 |
rather than on DEBUG mode so we can get the same result in test |
| 1438 |
suite whether we are debugging or not |
| 1439 |
|
| 1440 |
2020-06-10 Steven Eker <eker2@eker10> |
| 1441 |
|
| 1442 |
* variantFolder.cc |
| 1443 |
(VariantFolder::RetainedVariant::RetainedVariant) fixed symmetric |
| 1444 |
bug |
| 1445 |
|
| 1446 |
* unifierFilter.cc |
| 1447 |
(UnifierFilter::RetainedUnifier::RetainedUnifier): fix bug where |
| 1448 |
we were compiling matching using one variable count and then |
| 1449 |
running matching with a higher variable count because we added |
| 1450 |
abstraction variables for a later binding. Compilation has to be a |
| 1451 |
separate pass after all abstraction variables have been added |
| 1452 |
|
| 1453 |
2020-06-09 Steven Eker <eker2@eker10> |
| 1454 |
|
| 1455 |
* narrowingSequenceSearch.cc |
| 1456 |
(NarrowingSequenceSearch::findNextNormalForm): added DebugInfo() |
| 1457 |
for duplicate states |
| 1458 |
(NarrowingSequenceSearch::findNextInterestingState) |
| 1459 |
(NarrowingSequenceSearch::findNextNormalForm): added DebugInfo() |
| 1460 |
for replacement and narrowedDag |
| 1461 |
(NarrowingSequenceSearch::findNextNormalForm) |
| 1462 |
(NarrowingSequenceSearch::findNextInterestingState): make dup |
| 1463 |
state DebugInfo() more prominent |
| 1464 |
|
| 1465 |
2020-04-15 Steven Eker <eker2@eker9> |
| 1466 |
|
| 1467 |
* cacheableState.hh (class CacheableState): delete stray ; |
| 1468 |
|
| 1469 |
===================================Maude128a=========================================== |
| 1470 |
|
| 1471 |
2019-11-11 Steven Eker <eker@mu> |
| 1472 |
|
| 1473 |
* unificationProblem.cc (UnificationProblem): pass true to |
| 1474 |
warnAboutUnimplemented (2 places) |
| 1475 |
|
| 1476 |
===================================Maude125=========================================== |
| 1477 |
|
| 1478 |
2018-11-05 Steven Eker <[email protected]> |
| 1479 |
|
| 1480 |
* searchState.hh (PositionState): added comment on |
| 1481 |
setInitialSubstitution() convention |
| 1482 |
|
| 1483 |
2018-11-02 Steven Eker <[email protected]> |
| 1484 |
|
| 1485 |
* positionState.hh (P): added and explanation of why DagPair exists |
| 1486 |
|
| 1487 |
===================================Maude120=========================================== |
| 1488 |
|
| 1489 |
2018-10-23 Steven Eker <[email protected]> |
| 1490 |
|
| 1491 |
* positionState.cc (exploreNextPosition): use stackPhysicalArguments() |
| 1492 |
|
| 1493 |
2018-09-28 Steven Eker <[email protected]> |
| 1494 |
|
| 1495 |
* variantSearch.hh (getLastReturnedUnifier): take and pass |
| 1496 |
variableFamily |
| 1497 |
|
| 1498 |
* variantSearch.cc (getLastReturnedVariant): pass variableFamily |
| 1499 |
to VariantFolder::getLastReturnedVariant() |
| 1500 |
|
| 1501 |
* variantFolder.hh (SimpleRootContainer): updated decl for |
| 1502 |
getLastReturnedVariant() |
| 1503 |
|
| 1504 |
* variantFolder.cc (getLastReturnedVariant): take variableFamily |
| 1505 |
argument |
| 1506 |
(getNextSurvivingVariant): code cleaning |
| 1507 |
|
| 1508 |
* variantSearch.hh (SimpleRootContainer): updated decls for |
| 1509 |
getNextVariant() and getLastReturnedVariant() |
| 1510 |
|
| 1511 |
* variantSearch.cc (getNextVariant): take variableFamily argument |
| 1512 |
(getLastReturnedVariant): take variableFamily argument |
| 1513 |
|
| 1514 |
* narrowingSequenceSearch.cc (findNextMatch): delete commented |
| 1515 |
out matchState->transferCount(*(getContext())) and add comment |
| 1516 |
to explain |
| 1517 |
|
| 1518 |
* searchState.hh (transferCount): becomes transferCountTo() |
| 1519 |
(transferCount): use transferCountFrom() |
| 1520 |
|
| 1521 |
* variantUnificationProblem.cc (findNextUnifier): |
| 1522 |
transferCount() -> transferCountFrom() |
| 1523 |
|
| 1524 |
* stateTransitionGraph.cc (getNextState): transferCount() -> |
| 1525 |
transferCountTo() |
| 1526 |
|
| 1527 |
* rewriteSequenceSearch.cc (findNextMatch): transferCount() -> |
| 1528 |
transferCountTo() |
| 1529 |
|
| 1530 |
* rewriteConditionState.cc (solve): transferCount() -> |
| 1531 |
transferCountTo() |
| 1532 |
|
| 1533 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3): |
| 1534 |
transferCount() -> transferCountFrom() |
| 1535 |
(findNextUnifier, findNextInterestingState): |
| 1536 |
transferCount() -> transferCountFrom() |
| 1537 |
|
| 1538 |
* narrowingSearchState2.cc (findNextNarrowing): transferCount() -> |
| 1539 |
transferCountFrom() (2 places) |
| 1540 |
|
| 1541 |
* stateTransitionGraph.hh (transferCount): becomes |
| 1542 |
transferCountTo() |
| 1543 |
(transferCountTo): use transferCountFrom() |
| 1544 |
|
| 1545 |
2018-09-27 Steven Eker <[email protected]> |
| 1546 |
|
| 1547 |
* variantSearch.hh (SimpleRootContainer): changed default value |
| 1548 |
for incomingVariableFamily from 2 to NONE so we still report |
| 1549 |
@ variables as a problem if no incomingVariableFamily is specified |
| 1550 |
|
| 1551 |
* variantSearch.cc (VariantSearch): change secondVariableFamily |
| 1552 |
calculation to handle NONE correctly |
| 1553 |
|
| 1554 |
* variantSearch.hh (SimpleRootContainer): disallowedVariableFamily -> |
| 1555 |
incomingVariableFamily |
| 1556 |
|
| 1557 |
* variantSearch.cc (VariantSearch): disallowedVariableFamily -> |
| 1558 |
incomingVariableFamily |
| 1559 |
(VariantSearch): pass incomingVariableFamily to |
| 1560 |
variableNameConflict() |
| 1561 |
|
| 1562 |
2018-09-25 Steven Eker <[email protected]> |
| 1563 |
|
| 1564 |
* unificationProblem.hh (getVariableFamily): added |
| 1565 |
|
| 1566 |
2018-09-21 Steven Eker <[email protected]> |
| 1567 |
|
| 1568 |
* unificationProblem.cc (UnificationProblem): initialize |
| 1569 |
variableFamilyToUse |
| 1570 |
(UnificationProblem): pass variableFamilyToUse to |
| 1571 |
UnificationContext |
| 1572 |
(findOrderSortedUnifiers): pass variableFamilyToUse to |
| 1573 |
getFreshVariableName() |
| 1574 |
|
| 1575 |
* unificationProblem.hh (SimpleRootContainer): updated |
| 1576 |
decl for ctor |
| 1577 |
(SimpleRootContainer): added data member variableFamilyToUse |
| 1578 |
|
| 1579 |
* unificationProblem.cc (UnificationProblem): take |
| 1580 |
incomingVariableFamily and pass it to variableNameConflict() |
| 1581 |
|
| 1582 |
2018-09-19 Steven Eker <[email protected]> |
| 1583 |
|
| 1584 |
* narrowingSearchState2.hh (SimpleRootContainer): deleted |
| 1585 |
decl for simpler ctor |
| 1586 |
|
| 1587 |
* narrowingSearchState2.cc (NarrowingSearchState2): deleted |
| 1588 |
simpler version since nothing calls it |
| 1589 |
|
| 1590 |
===================================Maude119=========================================== |
| 1591 |
|
| 1592 |
2018-03-23 Rubén Rubio <[email protected]> |
| 1593 |
|
| 1594 |
* pattern.cc (prepare): added |
| 1595 |
(Pattern): allow pattern processing to be postponed (for their use in SubtermStrategy) |
| 1596 |
|
| 1597 |
* pattern.hh (prepare): added, and two new attributes prepared and withExtension |
| 1598 |
(Pattern): allow pattern processing to be postponed |
| 1599 |
|
| 1600 |
2017-12-05 Steven Eker <[email protected]> |
| 1601 |
|
| 1602 |
* narrowingFolder.cc (RetainedState):getNrRealVariables() -> |
| 1603 |
getNrProtecctedVariables() to fix symmetric bug |
| 1604 |
|
| 1605 |
* variantFolder.cc (RetainedVariant): getNrRealVariables() -> |
| 1606 |
getNrProtecctedVariables() to fix symmetric bug |
| 1607 |
|
| 1608 |
2017-12-04 Steven Eker <[email protected]> |
| 1609 |
|
| 1610 |
* unifierFilter.cc (RetainedUnifier): us getNrProtectedVariables() |
| 1611 |
rather than getNrRealVariables() to fix bug where we weren't |
| 1612 |
accounting for abstraction variables |
| 1613 |
|
| 1614 |
===================================Maude116=========================================== |
| 1615 |
|
| 1616 |
2017-05-26 Steven Eker <[email protected]> |
| 1617 |
|
| 1618 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3): fixed |
| 1619 |
bug where we were not deleting stateBeingExpanded |
| 1620 |
|
| 1621 |
2017-05-25 Steven Eker <[email protected]> |
| 1622 |
|
| 1623 |
* narrowingFolder.cc (addHistory): added Assert() to catch null |
| 1624 |
values in unifier |
| 1625 |
(addHistory): reverted - nulls in a unifier are legal between |
| 1626 |
the rule variables and the dag variables |
| 1627 |
(markReachableNodes): check for null pointers in the unifier |
| 1628 |
(addHistory): added comment to explain why we don't need |
| 1629 |
to protect our variableInfo copy |
| 1630 |
|
| 1631 |
* higher.hh: deleted class NarrowingSequenceSearch2 |
| 1632 |
|
| 1633 |
2017-05-24 Steven Eker <[email protected]> |
| 1634 |
|
| 1635 |
* narrowingFolder.hh (getHistory): handle unifierVariableInfo |
| 1636 |
|
| 1637 |
* narrowingSequenceSearch3.hh (getHistory): handle |
| 1638 |
unifierVariableInfo |
| 1639 |
|
| 1640 |
* narrowingSequenceSearch3.cc (findNextInterestingState): pass |
| 1641 |
variableInfo to addHistory(); don't make a copy of the unifier |
| 1642 |
|
| 1643 |
* narrowingFolder.hh (SimpleRootContainer): updated decl for |
| 1644 |
addHistory(); added variableInfo data member to struct |
| 1645 |
RetainedState |
| 1646 |
|
| 1647 |
* narrowingFolder.cc (addHistory): moved here |
| 1648 |
(addHistory): take variableInfo argument; make copies of unifier |
| 1649 |
and variableInfo |
| 1650 |
|
| 1651 |
* narrowingFolder.hh (SimpleRootContainer): deleted decl |
| 1652 |
for getState() |
| 1653 |
|
| 1654 |
* narrowingFolder.cc (insertState): check that ther |
| 1655 |
is a parent state before incrementing its descendant |
| 1656 |
count |
| 1657 |
(getState): deleted |
| 1658 |
|
| 1659 |
2017-05-23 Steven Eker <[email protected]> |
| 1660 |
|
| 1661 |
* narrowingFolder.hh (getHistory): added |
| 1662 |
(getDepth): added |
| 1663 |
|
| 1664 |
* narrowingSequenceSearch3.hh (getExtraStateInfo): added |
| 1665 |
(getHistory): added |
| 1666 |
|
| 1667 |
2017-05-19 Steven Eker <[email protected]> |
| 1668 |
|
| 1669 |
* narrowingSequenceSearch2.cc: deleted |
| 1670 |
|
| 1671 |
* narrowingSequenceSearch2.hh: deleted |
| 1672 |
|
| 1673 |
* narrowingFolder.cc (RetainedState): call |
| 1674 |
determineContextVariables() and insertAbstractionVariables() |
| 1675 |
|
| 1676 |
* narrowingSequenceSearch3.hh (getUnifierVariableFamily): added |
| 1677 |
(getStateDag): deleted |
| 1678 |
|
| 1679 |
2017-05-18 Steven Eker <[email protected]> |
| 1680 |
|
| 1681 |
* narrowingSearchState2.cc (NarrowingSearchState2): fix bug that |
| 1682 |
we didn't hande the ground case |
| 1683 |
(NarrowingSearchState2): fix similar bug with blocker dags |
| 1684 |
|
| 1685 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3): rename |
| 1686 |
user variables to #variables; this side steps a bug where original |
| 1687 |
variables could be lost due to reduce and then garbage collected |
| 1688 |
|
| 1689 |
2017-05-17 Steven Eker <[email protected]> |
| 1690 |
|
| 1691 |
* narrowingSequenceSearch3.cc (findNextInterestingState): use |
| 1692 |
replacementContextProtector to protect replacementContext across |
| 1693 |
a reduce() call |
| 1694 |
|
| 1695 |
* narrowingSequenceSearch3.hh (SequenceSearch): added data member |
| 1696 |
replacementContextProtector |
| 1697 |
|
| 1698 |
* narrowingFolder.cc (insertState): increment the nrDescendants in |
| 1699 |
the not folding but keeping history case |
| 1700 |
|
| 1701 |
* narrowingFolder.hh (SimpleRootContainer): added decl for cleanGraph() |
| 1702 |
|
| 1703 |
* narrowingFolder.cc (cleanGraph): added |
| 1704 |
|
| 1705 |
* narrowingFolder.hh (SimpleRootContainer): added nrDescendants |
| 1706 |
field to RetainedState |
| 1707 |
|
| 1708 |
* narrowingFolder.cc (RetainedState): initialize nrDescendants |
| 1709 |
|
| 1710 |
2017-05-16 Steven Eker <[email protected]> |
| 1711 |
|
| 1712 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3): initialize |
| 1713 |
stateBeingExpandedDepth, expansionSuccessful |
| 1714 |
|
| 1715 |
* narrowingSequenceSearch3.hh (SequenceSearch): added data members |
| 1716 |
stateBeingExpandedDepth, expansionSuccessful |
| 1717 |
|
| 1718 |
* narrowingSequenceSearch3.cc (findNextInterestingState): support |
| 1719 |
=>! |
| 1720 |
|
| 1721 |
2017-05-12 Steven Eker <[email protected]> |
| 1722 |
|
| 1723 |
* narrowingSequenceSearch3.hh (getStateInfo): added |
| 1724 |
(getVariableInfo): becomes getUnifierVariableInfo() |
| 1725 |
(getInitialVariableInfo): added |
| 1726 |
|
| 1727 |
* narrowingSequenceSearch3.cc (findNextInterestingState): test for != |
| 1728 |
depth to treat -1 as unbounded |
| 1729 |
|
| 1730 |
* narrowingFolder.cc (subsumes): initialize subproblem to 0 |
| 1731 |
|
| 1732 |
* narrowingSequenceSearch3.hh (SequenceSearch): added data member |
| 1733 |
nextInterestingState |
| 1734 |
(getStateDag): added |
| 1735 |
|
| 1736 |
* narrowingSequenceSearch3.cc (NarrowingSequenceSearch3): initialize |
| 1737 |
nextInterestingState |
| 1738 |
(findNextUnifier): nextInterestingState is no longer local |
| 1739 |
|
| 1740 |
* narrowingSequenceSearch3.hh (getUnifier, getVariableInfo): added |
| 1741 |
|
| 1742 |
2017-05-11 Steven Eker <[email protected]> |
| 1743 |
|
| 1744 |
* narrowingSearchState3.cc (makeAccumulatedSubstitution): implemented |
| 1745 |
|
| 1746 |
* narrowingFolder.hh (keepingHistory): added |
| 1747 |
|
| 1748 |
* narrowingFolder.cc (RetainedState): zero out narrowingContext |
| 1749 |
and narrowingPosition |
| 1750 |
(markReachableNodes): mark narrowingContext if non-null |
| 1751 |
|
| 1752 |
* narrowingFolder.hh (SimpleRootContainer): added data member |
| 1753 |
narrowingContext to struct RetainedState |
| 1754 |
(addHistory): take and save narrowingContext |
| 1755 |
|
| 1756 |
* narrowingSearchState3.hh (SimpleRootContainer): updated decl |
| 1757 |
for getNarrowedDag() |
| 1758 |
(getSubstitution): becomes getUnifier() |
| 1759 |
|
| 1760 |
* narrowingSearchState3.cc (getNarrowedDag): implemented |
| 1761 |
|
| 1762 |
2017-05-10 Steven Eker <[email protected]> |
| 1763 |
|
| 1764 |
* narrowingSearchState3.cc (NarrowingSearchState3): implemented |
| 1765 |
(~NarrowingSearchState3): implemented |
| 1766 |
(markReachableNodes): implemented |
| 1767 |
(findNextNarrowing): implemented |
| 1768 |
|
| 1769 |
* narrowingSequenceSearch3.cc (findNextUnifier): handle instantiation of |
| 1770 |
goal correctly |
| 1771 |
(NarrowingSequenceSearch3): index goal |
| 1772 |
|
| 1773 |
2017-05-09 Steven Eker <[email protected]> |
| 1774 |
|
| 1775 |
* higher.hh: added class NarrowingSearchState3 and |
| 1776 |
class NarrowingSequenceSearch3 |
| 1777 |
|
| 1778 |
* narrowingSequenceSearch3.cc: created |
| 1779 |
|
| 1780 |
* narrowingSequenceSearch3.hh: created |
| 1781 |
|
| 1782 |
* narrowingSearchState3.hh: created |
| 1783 |
|
| 1784 |
* narrowingSearchState3.cc: created |
| 1785 |
|
| 1786 |
* narrowingFolder.hh (SimpleRootContainer): added data member |
| 1787 |
currentStateIndex |
| 1788 |
|
| 1789 |
* narrowingFolder.cc (NarrowingFolder): initialize |
| 1790 |
currentStateIndex |
| 1791 |
|
| 1792 |
* narrowingFolder.hh (SimpleRootContainer): updated decl for |
| 1793 |
getNextSurvivingState() |
| 1794 |
|
| 1795 |
* narrowingFolder.cc (getNextSurvivingState): added |
| 1796 |
|
| 1797 |
2017-05-05 Steven Eker <[email protected]> |
| 1798 |
|
| 1799 |
* narrowingFolder.cc (insertState): fill out depth field |
| 1800 |
|
| 1801 |
* narrowingFolder.hh (SimpleRootContainer): added depth field |
| 1802 |
to struct RetainedState |
| 1803 |
|
| 1804 |
2017-05-04 Steven Eker <[email protected]> |
| 1805 |
|
| 1806 |
* narrowingFolder.hh (getState): added |
| 1807 |
|
| 1808 |
2017-05-03 Steven Eker <[email protected]> |
| 1809 |
|
| 1810 |
* narrowingFolder.hh (SimpleRootContainer): added field |
| 1811 |
narrowingPosition |
| 1812 |
(addHistory): handle narrowingPosition |
| 1813 |
|
| 1814 |
2017-05-02 Steven Eker <[email protected]> |
| 1815 |
|
| 1816 |
* narrowingSearchState2.hh (SimpleRootContainer): updated decl for |
| 1817 |
complex ctor |
| 1818 |
|
| 1819 |
* narrowingSearchState2.cc (NarrowingSearchState2): deleted label arg |
| 1820 |
|
| 1821 |
2017-05-01 Steven Eker <[email protected]> |
| 1822 |
|
| 1823 |
* narrowingSearchState2.cc (NarrowingSearchState2): don't initialize |
| 1824 |
label (both versions) |
| 1825 |
|
| 1826 |
* narrowingSearchState2.hh (SimpleRootContainer): deleted label |
| 1827 |
data member |
| 1828 |
|
| 1829 |
* narrowingSearchState2.cc (findNextNarrowing): check narrowing |
| 1830 |
attribute rather than label |
| 1831 |
|
| 1832 |
* narrowingFolder.cc (markReachableNodes): protect |
| 1833 |
accumulatedSubstitution and unifier from garbage collection |
| 1834 |
|
| 1835 |
* narrowingFolder.hh (addHistory, addAccumulatedSubstitution): added |
| 1836 |
|
| 1837 |
* narrowingFolder.cc (RetainedState): default initialization of |
| 1838 |
variableFamily, accumulatedSubstitution, rule, unifier |
| 1839 |
|
| 1840 |
2017-04-28 Steven Eker <[email protected]> |
| 1841 |
|
| 1842 |
* higher.hh: added class NarrowingFolder |
| 1843 |
|
| 1844 |
* narrowingFolder.hh: created |
| 1845 |
|
| 1846 |
* narrowingFolder.cc: created |
| 1847 |
|
| 1848 |
===================================Maude113=========================================== |
| 1849 |
|
| 1850 |
2017-04-25 Steven Eker <[email protected]> |
| 1851 |
|
| 1852 |
* positionState.cc (rebuildAndInstantiateDag): deleted commented |
| 1853 |
out code |
| 1854 |
|
| 1855 |
===================================Maude112b=========================================== |
| 1856 |
|
| 1857 |
2017-03-30 Steven Eker <[email protected]> |
| 1858 |
|
| 1859 |
* variantSearch.hh (SimpleRootContainer): added data member |
| 1860 |
irredundantMode |
| 1861 |
(getIrredundantMode): added |
| 1862 |
|
| 1863 |
* variantSearch.cc (VariantSearch): initialize irredundantMode |
| 1864 |
|
| 1865 |
===================================Maude112a=========================================== |
| 1866 |
|
| 1867 |
2017-03-10 Steven Eker <[email protected]> |
| 1868 |
|
| 1869 |
* narrowingSequenceSearch.hh (getContext): don't Assert() that |
| 1870 |
stateStack.size() > 0 |
| 1871 |
|
| 1872 |
* narrowingSequenceSearch.cc (findNextInterestingState): call |
| 1873 |
incrementNarrowingCount() |
| 1874 |
|
| 1875 |
2017-03-09 Steven Eker <[email protected]> |
| 1876 |
|
| 1877 |
* narrowingSequenceSearch2.cc (NarrowingSequenceSearch2): initialize |
| 1878 |
currentDepth |
| 1879 |
(findNextInterestingState): respect maxDepth in the non-normal form |
| 1880 |
case |
| 1881 |
(findNextInterestingState): respect maxDepth in normal form case |
| 1882 |
|
| 1883 |
2017-03-03 Steven Eker <[email protected]> |
| 1884 |
|
| 1885 |
* narrowingSequenceSearch2.hh (getUnifierVariableFamily): added |
| 1886 |
|
| 1887 |
* narrowingSequenceSearch2.cc (findNextUnifier): use getStateDag(), |
| 1888 |
getStateVariableFamily() |
| 1889 |
|
| 1890 |
* narrowingSequenceSearch2.hh (SequenceSearch): added data members |
| 1891 |
expansionSuccessful, expansionFinished |
| 1892 |
(getStateDag, getVariableFamily): handle normalFormNeeded flag |
| 1893 |
(getStateVariableFamily): renamed from getVariableFamily() |
| 1894 |
|
| 1895 |
* narrowingSequenceSearch2.cc (NarrowingSequenceSearch2): set |
| 1896 |
expansionFinished = true so we don't expand a nonexistent state |
| 1897 |
(findNextInterestingState): reorganized using expansionSuccessful |
| 1898 |
and expansionFinished flags; handle normalFormNeeded |
| 1899 |
(~NarrowingSequenceSearch2): hand responsibility for deleting context |
| 1900 |
of state just expanded to stateBeingExpanded object |
| 1901 |
|
| 1902 |
* narrowingSequenceSearch2.hh (isIncomplete): added |
| 1903 |
(getVariableFamily): added |
| 1904 |
|
| 1905 |
* narrowingSequenceSearch2.cc (findNextUnifier): propagate incompleteness |
| 1906 |
from VariantSearch object |
| 1907 |
(findNextInterestingState): propagate incompleteness from |
| 1908 |
NarrowingSearchState2 object |
| 1909 |
|
| 1910 |
2017-03-02 Steven Eker <[email protected]> |
| 1911 |
|
| 1912 |
* narrowingSequenceSearch2.cc (allVariablesBelongToIncomingFamily): added |
| 1913 |
(NarrowingSequenceSearch2): support renaming if variables from outside |
| 1914 |
of family are detected |
| 1915 |
(findNextInterestingState): transfer reduce and narrowing step counts to |
| 1916 |
initial |
| 1917 |
(NarrowingSequenceSearch2): transfer reduce count to initial |
| 1918 |
(findNextInterestingState): call incrementNarrowingCount() after each |
| 1919 |
successful narrowing step |
| 1920 |
(findNextUnifier): transfer count from context in VariantSearch object |
| 1921 |
(NarrowingSequenceSearch2): fix bug where we weren't initializing |
| 1922 |
nextToExpand |
| 1923 |
|
| 1924 |
2017-03-01 Steven Eker <[email protected]> |
| 1925 |
|
| 1926 |
* narrowingSequenceSearch2.cc (findNextInterestingState): added support |
| 1927 |
for tracing and abort |
| 1928 |
|
| 1929 |
2017-02-28 Steven Eker <[email protected]> |
| 1930 |
|
| 1931 |
* narrowingSequenceSearch2.hh (getVariableInfo): added |
| 1932 |
|
| 1933 |
2017-02-27 Steven Eker <[email protected]> |
| 1934 |
|
| 1935 |
* narrowingSequenceSearch2.hh: created |
| 1936 |
|
| 1937 |
* narrowingSequenceSearch2.cc: created |
| 1938 |
|
| 1939 |
* higher.hh: added class NarrowingSequenceSearch2 |
| 1940 |
|
| 1941 |
2017-02-21 Steven Eker <[email protected]> |
| 1942 |
|
| 1943 |
* positionState.cc (rebuildAndInstantiateDag): use new |
| 1944 |
instantiateWithReplacement() convention |
| 1945 |
|
| 1946 |
2017-02-17 Steven Eker <[email protected]> |
| 1947 |
|
| 1948 |
* positionState.cc (exploreNextPosition): use Symbol version of |
| 1949 |
stackArguments() |
| 1950 |
(PositionState): pass eager flag to RedexPosition |
| 1951 |
(exploreNextPosition): pass eagerContext flag to stackArguments() |
| 1952 |
(rebuildAndInstantiateDag): use eager flag to decide which bindings |
| 1953 |
to pass to instantiateWithReplacement() |
| 1954 |
|
| 1955 |
2017-01-27 Steven Eker <[email protected]> |
| 1956 |
|
| 1957 |
* narrowingSearchState2.hh (SimpleRootContainer): added GC_VAR_GEN to |
| 1958 |
enum Flags; pass it by default |
| 1959 |
|
| 1960 |
* positionState.hh (P): made flags an int for safety |
| 1961 |
|
| 1962 |
* narrowingSearchState2.cc (NarrowingSearchState2): added simplified |
| 1963 |
ctor that assumes all variables are in-family and there are no |
| 1964 |
blocker dags |
| 1965 |
(NarrowingSearchState2): only delete the variable generator if the flag |
| 1966 |
was passed |
| 1967 |
|
| 1968 |
2017-01-11 Steven Eker <[email protected]> |
| 1969 |
|
| 1970 |
* rewriteConditionFragment.cc (solve): stack<> -> Stack<> |
| 1971 |
|
| 1972 |
* rewriteConditionFragment.hh: stack<> -> Stack<> |
| 1973 |
|
| 1974 |
* assignmentConditionFragment.cc (solve): stack<> -> Stack<> |
| 1975 |
|
| 1976 |
* assignmentConditionFragment.hh: stack<> -> Stack<> |
| 1977 |
|
| 1978 |
* sortTestConditionFragment.cc (solve): stack<> -> Stack<> |
| 1979 |
|
| 1980 |
* sortTestConditionFragment.hh: stack<> -> Stack<> |
| 1981 |
|
| 1982 |
* equalityConditionFragment.cc (solve): stack<> -> Stack<> |
| 1983 |
|
| 1984 |
* equalityConditionFragment.hh: stack<> -> Stack<> |
| 1985 |
|
| 1986 |
* searchState.hh: stack<> -> Stack<> |
| 1987 |
|
| 1988 |
===================================Maude111b=========================================== |
| 1989 |
|
| 1990 |
2017-01-06 Steven Eker <[email protected]> |
| 1991 |
|
| 1992 |
* narrowingSearchState2.cc (NarrowingSearchState2): index blockerDags |
| 1993 |
|
| 1994 |
* narrowingSearchState2.hh (SimpleRootContainer): blockerDags no longer const |
| 1995 |
|
| 1996 |
* narrowingSearchState2.cc (getNarrowedDag): fix bug where we had an assignment |
| 1997 |
inside ?: |
| 1998 |
(NarrowingSearchState2): rename variables blockerDags |
| 1999 |
|
| 2000 |
* variantUnificationProblem.cc (findNextUnifier): use unifier size to |
| 2001 |
know how many bindings to extract from unifier - this makes a difference |
| 2002 |
if there are other variables in the context or blocker terms |
| 2003 |
|
| 2004 |
2017-01-05 Steven Eker <[email protected]> |
| 2005 |
|
| 2006 |
* variantSearch.cc (VariantSearch): check for unsafe variables names in |
| 2007 |
blocker dags |
| 2008 |
|
| 2009 |
2017-01-03 Steven Eker <[email protected]> |
| 2010 |
|
| 2011 |
* narrowingSearchState2.hh (SimpleRootContainer): added data member |
| 2012 |
reverseMapping |
| 2013 |
|
| 2014 |
* narrowingSearchState2.cc (NarrowingSearchState2): fill out reverseMapping |
| 2015 |
(getNarrowedDag): use reverseMapping |
| 2016 |
(~NarrowingSearchState2): delete reverseMapping |
| 2017 |
|
| 2018 |
* narrowingSearchState2.hh (SimpleRootContainer): updated |
| 2019 |
decl for getNarrowedDag() |
| 2020 |
|
| 2021 |
* narrowingSearchState2.cc (getNarrowedDag): pass back a |
| 2022 |
replacementContext |
| 2023 |
|
| 2024 |
===================================Maude111a=========================================== |
| 2025 |
|
| 2026 |
2016-12-20 Steven Eker <[email protected]> |
| 2027 |
|
| 2028 |
* variantUnificationProblem.cc (findNextUnifier): undo change - |
| 2029 |
we introduced a suble bug by moving a necessary side effect |
| 2030 |
into an Assert() |
| 2031 |
|
| 2032 |
* narrowingSearchState2.cc (NarrowingSearchState2): rearrange Assert() |
| 2033 |
to avoid unused variable warning |
| 2034 |
|
| 2035 |
2016-12-19 Steven Eker <[email protected]> |
| 2036 |
|
| 2037 |
* narrowingSearchState2.cc (findNextNarrowing): transfer counts |
| 2038 |
from newContext to context if they differ (2 places) |
| 2039 |
|
| 2040 |
* variantUnificationProblem.cc (VariantUnificationProblem): initialize |
| 2041 |
context |
| 2042 |
(VariantUnificationProblem): new data member rather than local |
| 2043 |
variable for newContext |
| 2044 |
(findNextUnifier): tranfer counts from newContext to context |
| 2045 |
|
| 2046 |
* variantUnificationProblem.hh (SimpleRootContainer): added data |
| 2047 |
members context and newContext |
| 2048 |
|
| 2049 |
2016-12-16 Steven Eker <[email protected]> |
| 2050 |
|
| 2051 |
* narrowingSearchState2.hh (getNrOfVariablesInSubject): deleted |
| 2052 |
|
| 2053 |
* narrowingSearchState2.cc (getNarrowedDag): use stored |
| 2054 |
module pointer |
| 2055 |
|
| 2056 |
* narrowingSearchState2.hh (getReplacedDag): added |
| 2057 |
(getActiveContext): added |
| 2058 |
(getActiveVariableInfo): added |
| 2059 |
|
| 2060 |
2016-12-15 Steven Eker <[email protected]> |
| 2061 |
|
| 2062 |
* narrowingSearchState2.hh (SimpleRootContainer): added decl |
| 2063 |
for allVariablesBelongToIncomingFamily(); |
| 2064 |
disallowedVariableFamily ->incomingVariableFamily throughout |
| 2065 |
(getRule, getSubstitution): moved here |
| 2066 |
|
| 2067 |
* narrowingSearchState2.cc: disallowedVariableFamily -> |
| 2068 |
incomingVariableFamily throughout |
| 2069 |
(allVariablesBelongToIncomingFamily): added |
| 2070 |
|
| 2071 |
2016-12-14 Steven Eker <[email protected]> |
| 2072 |
|
| 2073 |
* narrowingSearchState2.cc (NarrowingSearchState2): fill out |
| 2074 |
freshVariableInfo as we create fresh variables. |
| 2075 |
(findNextNarrowing): pass freshVariableInfo rather than variableInfo |
| 2076 |
to VariantUnificationProblem() |
| 2077 |
|
| 2078 |
* narrowingSearchState2.hh (SimpleRootContainer): added data member |
| 2079 |
freshVariableInfo |
| 2080 |
|
| 2081 |
* narrowingSearchState2.cc (NarrowingSearchState2): don't |
| 2082 |
initialize PositionState; dynamically create a PositionState |
| 2083 |
object |
| 2084 |
(~NarrowingSearchState2): delete positionState |
| 2085 |
(findNextNarrowing, getNarrowedDag): use positionState |
| 2086 |
|
| 2087 |
* narrowingSearchState2.hh (SimpleRootContainer): removed |
| 2088 |
PositionState as a base class; added data member positionState |
| 2089 |
|
| 2090 |
* narrowingSearchState2.cc (~NarrowingSearchState2): delete |
| 2091 |
freshVariableGenerator |
| 2092 |
|
| 2093 |
2016-12-12 Steven Eker <[email protected]> |
| 2094 |
|
| 2095 |
* narrowingSequenceSearch.cc (NarrowingSequenceSearch): clear |
| 2096 |
incompleteFlag |
| 2097 |
(findNextInterestingState): update incompleteFlag |
| 2098 |
|
| 2099 |
* narrowingSequenceSearch.hh (SequenceSearch): added data |
| 2100 |
member incompleteFlag |
| 2101 |
(isIncomplete): added |
| 2102 |
|
| 2103 |
* narrowingSearchState.hh (PositionState): added data |
| 2104 |
member incompleteFlag |
| 2105 |
(isIncomplete): added |
| 2106 |
|
| 2107 |
* narrowingSearchState.cc (findNextNarrowing): update |
| 2108 |
incompleteFlag |
| 2109 |
(NarrowingSearchState): clear completeFlag |
| 2110 |
|
| 2111 |
* narrowingSearchState2.hh (SimpleRootContainer): added data |
| 2112 |
member incompleteFlag |
| 2113 |
|
| 2114 |
* narrowingSearchState2.cc (findNextNarrowing): update |
| 2115 |
incompleteFlag |
| 2116 |
(NarrowingSearchState2): clear incompleteFlag |
| 2117 |
|
| 2118 |
* narrowingSearchState2.hh (isIncomplete): added |
| 2119 |
|
| 2120 |
2016-12-09 Steven Eker <[email protected]> |
| 2121 |
|
| 2122 |
* narrowingSearchState2.cc (NarrowingSearchState2): use newContext |
| 2123 |
(findNextNarrowing): use newContext |
| 2124 |
(NarrowingSearchState2): delete newContext |
| 2125 |
|
| 2126 |
* narrowingSearchState2.hh (SimpleRootContainer): added data |
| 2127 |
member newContext |
| 2128 |
|
| 2129 |
* narrowingSearchState2.cc (getNarrowedDag): make a clone of replacement |
| 2130 |
so metaContexts work |
| 2131 |
|
| 2132 |
2016-12-08 Steven Eker <[email protected]> |
| 2133 |
|
| 2134 |
* narrowingSearchState2.cc (NarrowingSearchState2): new implementation |
| 2135 |
that handles variable renaming and initial reduction |
| 2136 |
|
| 2137 |
2016-11-23 Steven Eker <[email protected]> |
| 2138 |
|
| 2139 |
* narrowingSearchState2.hh (SimpleRootContainer): derive from CacheableState |
| 2140 |
|
| 2141 |
2016-11-22 Steven Eker <[email protected]> |
| 2142 |
|
| 2143 |
* variantUnificationProblem.cc (VariantUnificationProblem): don't |
| 2144 |
clear incompleteFlag |
| 2145 |
|
| 2146 |
* narrowingSearchState2.cc (findNextNarrowing): pass blockerDags to |
| 2147 |
VariantUnificationProblem() |
| 2148 |
|
| 2149 |
* variantUnificationProblem.cc (findNextUnifier): don't update incompleteFlag |
| 2150 |
|
| 2151 |
* variantUnificationProblem.hh (isIncomplete): use variantSearch incomplete |
| 2152 |
flag rather than local one |
| 2153 |
|
| 2154 |
* variantUnificationProblem.cc (VariantUnificationProblem): handle blockerDags |
| 2155 |
argument |
| 2156 |
|
| 2157 |
* variantUnificationProblem.hh (SimpleRootContainer): updated ctor |
| 2158 |
|
| 2159 |
* variantSearch.hh (SimpleRootContainer): updated comments |
| 2160 |
|
| 2161 |
* narrowingSearchState2.hh (SimpleRootContainer): added decl for |
| 2162 |
markReachableNodes() |
| 2163 |
|
| 2164 |
* narrowingSearchState2.cc (NarrowingSearchState2): take blockerDags argument |
| 2165 |
|
| 2166 |
* variantSearch.hh (SimpleRootContainer): updated decl for ctor |
| 2167 |
|
| 2168 |
* narrowingSearchState2.hh (SimpleRootContainer): private derivation |
| 2169 |
from SimpleRootContainer |
| 2170 |
(SimpleRootContainer): added data member blockerDags |
| 2171 |
|
| 2172 |
* narrowingSearchState2.cc (markReachableNodes): added |
| 2173 |
|
| 2174 |
2016-11-21 Steven Eker <[email protected]> |
| 2175 |
|
| 2176 |
* variantUnificationProblem.cc (VariantUnificationProblem): pass |
| 2177 |
checkVariableNames = false to avoid checks that are unneeded |
| 2178 |
and might cause an issue |
| 2179 |
|
| 2180 |
* variantSearch.cc (VariantSearch): handle checkVariableNames |
| 2181 |
argument |
| 2182 |
|
| 2183 |
* variantSearch.hh (SimpleRootContainer): updated decl for ctor |
| 2184 |
|
| 2185 |
2016-11-18 Steven Eker <[email protected]> |
| 2186 |
|
| 2187 |
* variantUnificationProblem.cc (VariantUnificationProblem): pass false |
| 2188 |
to VariantSearch deleteFreshVariableGenerator arg |
| 2189 |
|
| 2190 |
* variantSearch.cc (VariantSearch): handle deleteFreshVariableGenerator |
| 2191 |
arg |
| 2192 |
(VariantSearch): conditionally delete freshVariableGenerator |
| 2193 |
|
| 2194 |
* variantSearch.hh (SimpleRootContainer): added data member |
| 2195 |
deleteFreshVariableGenerator; updated decl for ctor |
| 2196 |
|
| 2197 |
2016-11-17 Steven Eker <[email protected]> |
| 2198 |
|
| 2199 |
* narrowingSearchState2.hh (PositionState): default to REPECT_FROZEN |
| 2200 |
|
| 2201 |
* variantUnificationProblem.cc (findNextUnifier): fix bug where |
| 2202 |
we weren't creating fresh variables to bind to unbound variables |
| 2203 |
from the preEquation |
| 2204 |
(findNextUnifier): increment nrFreeVariables after, rather than |
| 2205 |
before fresh variable is created so that numbering is correct |
| 2206 |
|
| 2207 |
2016-11-16 Steven Eker <[email protected]> |
| 2208 |
|
| 2209 |
* narrowingSearchState2.cc (findNextNarrowing): don't narrow |
| 2210 |
at variable positions |
| 2211 |
(findNextNarrowing): check that rule has the right kind on top |
| 2212 |
|
| 2213 |
* narrowingSearchState.cc (findNextNarrowing): don't narrow at |
| 2214 |
variable positions |
| 2215 |
|
| 2216 |
2016-11-15 Steven Eker <[email protected]> |
| 2217 |
|
| 2218 |
* variantUnificationProblem.cc (findNextUnifier): use new |
| 2219 |
VariableInfo::variable2Index() member function to translate |
| 2220 |
variable from preEquation |
| 2221 |
(VariantUnificationProblem): save pointer to preEquation |
| 2222 |
(findNextUnifier): fix multiple bugs in manipulation of indices |
| 2223 |
|
| 2224 |
2016-11-14 Steven Eker <[email protected]> |
| 2225 |
|
| 2226 |
* higher.hh: added class VariantUnificationProblem, |
| 2227 |
class NarrowingSearchState2 |
| 2228 |
|
| 2229 |
2016-11-11 Steven Eker <[email protected]> |
| 2230 |
|
| 2231 |
* narrowingSearchState2.hh: created |
| 2232 |
|
| 2233 |
* narrowingSearchState2.cc: created |
| 2234 |
|
| 2235 |
* variantSearch.hh (SimpleRootContainer): added data member targetCopy |
| 2236 |
|
| 2237 |
* variantSearch.cc (markReachableNodes): mark targetCopy |
| 2238 |
(VariantSearch): use copyAll() to make a complete copy of the target |
| 2239 |
dag |
| 2240 |
|
| 2241 |
2016-11-09 Steven Eker <[email protected]> |
| 2242 |
|
| 2243 |
* variantUnificationProblem.hh (SimpleRootContainer): added data member |
| 2244 |
nrPreEquationVariables |
| 2245 |
|
| 2246 |
* variantUnificationProblem.cc (findNextUnifier): avoid binding slots that |
| 2247 |
fall in the hole between preEquation variables and target variables |
| 2248 |
(VariantUnificationProblem): store nrPreEquationVariables |
| 2249 |
|
| 2250 |
2016-11-08 Steven Eker <[email protected]> |
| 2251 |
|
| 2252 |
* variantUnificationProblem.hh: created |
| 2253 |
|
| 2254 |
* variantUnificationProblem.cc: created |
| 2255 |
|
| 2256 |
2016-11-04 Steven Eker <[email protected]> |
| 2257 |
|
| 2258 |
* variantSearch.hh (SimpleRootContainer): updated decl for ctor |
| 2259 |
|
| 2260 |
* variantSearch.cc (VariantSearch): take disallowedVariableFamily |
| 2261 |
arg rather than firstVariableFamily, secondVariableFamily args |
| 2262 |
|
| 2263 |
* variantFolder.cc: deleted commented out version of getNextSurvivingVariant() |
| 2264 |
|
| 2265 |
2016-11-03 Steven Eker <[email protected]> |
| 2266 |
|
| 2267 |
* variantSearch.cc (VariantSearch): need to pass firstVariableFamily when we |
| 2268 |
create fresh variables for initial substitution |
| 2269 |
|
| 2270 |
2016-11-02 Steven Eker <[email protected]> |
| 2271 |
|
| 2272 |
* variantSearch.cc (expandVariant): pass variableFamily to insertVariant() |
| 2273 |
(VariantSearch): pass UNDEFINED as variableFamily to insertVariant() |
| 2274 |
(getNextUnifier): Assert() check for UNDEFINED variableFamily |
| 2275 |
|
| 2276 |
* variantFolder.hh (SimpleRootContainer): updated decl for insertVariant() |
| 2277 |
|
| 2278 |
* variantFolder.cc (getNextSurvivingVariant): fill out variableFamily |
| 2279 |
(insertVariant): take variableFamily argument and copy it into RetainedVariant |
| 2280 |
|
| 2281 |
* variantFolder.hh (SimpleRootContainer): added data member variableFamily |
| 2282 |
to struct RetainedVariant |
| 2283 |
|
| 2284 |
* variantSearch.cc (getNextUnifier): pass variableFamily argument to |
| 2285 |
getNextSurvivingVariant() |
| 2286 |
(getNextVariant): pass dummy variableFamily argument to |
| 2287 |
getNextSurvivingVariant() |
| 2288 |
|
| 2289 |
* variantFolder.cc (getNextSurvivingVariant): added variableFamily |
| 2290 |
argument |
| 2291 |
|
| 2292 |
* variantFolder.hh (SimpleRootContainer): updaed decl for |
| 2293 |
getNextSurvivingVariant() |
| 2294 |
|
| 2295 |
2016-11-01 Steven Eker <[email protected]> |
| 2296 |
|
| 2297 |
* variantSearch.hh (SimpleRootContainer): updated decl for getNextUnifier() |
| 2298 |
|
| 2299 |
2016-10-28 Steven Eker <[email protected]> |
| 2300 |
|
| 2301 |
* variantSearch.hh (SimpleRootContainer): updated ctor; |
| 2302 |
odd -> useFirstVariableFamily |
| 2303 |
|
| 2304 |
* variantSearch.cc (VariantSearch): take arguments |
| 2305 |
firstVariableFamily, secondVariableFamily |
| 2306 |
(expandVariant, VariantSearch): odd -> useFirstVariableFamily |
| 2307 |
|
| 2308 |
* variantSearch.hh (SimpleRootContainer): added data members |
| 2309 |
firstVariableFamily, secondVariableFamily |
| 2310 |
|
| 2311 |
* variantNarrowingSearchState.hh (PositionState): updated decl |
| 2312 |
for ctor |
| 2313 |
|
| 2314 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): odd |
| 2315 |
becomes variableFamily throughout |
| 2316 |
|
| 2317 |
2016-10-26 Steven Eker <[email protected]> |
| 2318 |
|
| 2319 |
* narrowingUnificationProblem.cc: odd -> variableFamily throughout |
| 2320 |
|
| 2321 |
* narrowingUnificationProblem.hh (SimpleRootContainer): data member |
| 2322 |
odd becomes int variableFamily; updated ctor decls |
| 2323 |
|
| 2324 |
2016-10-19 Steven Eker <[email protected]> |
| 2325 |
|
| 2326 |
* narrowingUnificationProblem.cc (classifyVariables): simplified |
| 2327 |
to make use of the invariant that variables occuring in a binding |
| 2328 |
to an original variable must themselves be unbound (otherwise |
| 2329 |
they would have been instiatiated away by PendingUnificationStack) |
| 2330 |
(findNextUnifier): removed commented out code |
| 2331 |
|
| 2332 |
===================================Maude111=========================================== |
| 2333 |
|
| 2334 |
2016-05-17 Steven Eker <[email protected]> |
| 2335 |
|
| 2336 |
* equalityConditionFragment.hh (normalize): added |
| 2337 |
|
| 2338 |
2016-04-08 Steven Eker <[email protected]> |
| 2339 |
|
| 2340 |
* unificationProblem.cc (findOrderSortedUnifiers): use |
| 2341 |
getCachedPairing() |
| 2342 |
|
| 2343 |
* narrowingUnificationProblem.hh (SimpleRootContainer): deleted |
| 2344 |
data members order, done, pending; deleted decls for explore(), |
| 2345 |
extractUnifier() |
| 2346 |
|
| 2347 |
* narrowingUnificationProblem.cc (explore, extractUnifier): deleted |
| 2348 |
|
| 2349 |
* narrowingUnificationProblem.hh (SimpleRootContainer): added |
| 2350 |
decl for classifyVariables() |
| 2351 |
|
| 2352 |
* narrowingUnificationProblem.cc (classifyVariables): added |
| 2353 |
(findNextUnifier): use classifyVariables() |
| 2354 |
|
| 2355 |
* unificationProblem.cc (bindFreeVariables): added |
| 2356 |
|
| 2357 |
* unificationProblem.hh (SimpleRootContainer): added decl for |
| 2358 |
bindFredVariables() |
| 2359 |
|
| 2360 |
* unificationProblem.cc (findNextUnifier): code cleaning |
| 2361 |
(findNextUnifier): re-organization |
| 2362 |
|
| 2363 |
2016-04-07 Steven Eker <[email protected]> |
| 2364 |
|
| 2365 |
* narrowingUnificationProblem.hh (SimpleRootContainer): updated comments |
| 2366 |
|
| 2367 |
* narrowingUnificationProblem.cc (NarrowingUnificationProblem): code |
| 2368 |
cleaning |
| 2369 |
|
| 2370 |
2016-04-06 Steven Eker <[email protected]> |
| 2371 |
|
| 2372 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): code |
| 2373 |
cleaning |
| 2374 |
|
| 2375 |
* unificationProblem.cc (findOrderSortedUnifiers): code |
| 2376 |
cleaning |
| 2377 |
|
| 2378 |
2016-04-01 Steven Eker <[email protected]> |
| 2379 |
|
| 2380 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): deleted |
| 2381 |
commented out code |
| 2382 |
|
| 2383 |
2016-03-31 Steven Eker <[email protected]> |
| 2384 |
|
| 2385 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): undo |
| 2386 |
last change as it introduced a bug where we were expecting |
| 2387 |
identities mappings on other BDD variables |
| 2388 |
(findOrderSortedUnifiers): use cached pairing for secondArgToReal |
| 2389 |
and explicitly add needed identity mappings |
| 2390 |
|
| 2391 |
2016-03-30 Steven Eker <[email protected]> |
| 2392 |
|
| 2393 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): use |
| 2394 |
cached pairing for realTofirstArg |
| 2395 |
|
| 2396 |
2016-03-25 Steven Eker <[email protected]> |
| 2397 |
|
| 2398 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): |
| 2399 |
use computeGeneralizedSort2() |
| 2400 |
|
| 2401 |
* unificationProblem.cc (findOrderSortedUnifiers): use |
| 2402 |
computeGeneralizedSort2() |
| 2403 |
|
| 2404 |
===================================Maude110=========================================== |
| 2405 |
|
| 2406 |
2016-02-05 Steven Eker <[email protected]> |
| 2407 |
|
| 2408 |
* variantSearch.cc (getLastReturnedVariant): pass pointers |
| 2409 |
rather than references to |
| 2410 |
VariantFolder::getLastReturnedVariant() |
| 2411 |
(getNextVariant): pass pointers rather than references to |
| 2412 |
VariantFolder::getLastReturnedVariant() |
| 2413 |
|
| 2414 |
* variantSearch.hh (getLastReturnedUnifier): removed dummy |
| 2415 |
variables now that we've changed interface to |
| 2416 |
VariantFolder::getNextSurvivingVariant() |
| 2417 |
|
| 2418 |
* variantSearch.cc (getNextUnifier): removed dummy variables |
| 2419 |
now that we've changed interface to |
| 2420 |
VariantFolder::getNextSurvivingVariant() |
| 2421 |
|
| 2422 |
* variantFolder.hh (SimpleRootContainer): updated decls for |
| 2423 |
getNextSurvivingVariant() and getLastReturnedVariant() |
| 2424 |
|
| 2425 |
* variantFolder.cc (getNextSurvivingVariant): variantNumber, |
| 2426 |
parentNumber and moreInLayer are now pointers rather than |
| 2427 |
references so that they can be null if the information |
| 2428 |
isn't wanted by the caller |
| 2429 |
(getLastReturnedVariant): symmetric changes to above, for |
| 2430 |
parentNumber and moreInLayer |
| 2431 |
|
| 2432 |
2016-02-04 Steven Eker <[email protected]> |
| 2433 |
|
| 2434 |
* variantSearch.hh (getLastReturnedUnifier): pass dummy |
| 2435 |
args to VariantFolder::getLastReturnedVariant() |
| 2436 |
|
| 2437 |
* variantSearch.cc (getLastReturnedVariant): added Assert() |
| 2438 |
to insist that there is actuualy a variant to return |
| 2439 |
|
| 2440 |
* variantFolder.cc (getLastReturnedVariant): moved here; no |
| 2441 |
longer inline |
| 2442 |
|
| 2443 |
* variantSearch.cc (getLastReturnedVariant): moved here; no |
| 2444 |
longer inline |
| 2445 |
|
| 2446 |
* variantFolder.hh (getLastReturnedVariant): take parentNumber |
| 2447 |
and moreInLayer arguments |
| 2448 |
|
| 2449 |
* variantSearch.hh (getLastReturnedVariant): take parentIndex |
| 2450 |
and moreInLayer args; updated decl for getNextVariant() |
| 2451 |
|
| 2452 |
* variantSearch.cc (getNextVariant): return parentIndex and |
| 2453 |
moreInLayer |
| 2454 |
|
| 2455 |
2016-01-28 Steven Eker <[email protected]> |
| 2456 |
|
| 2457 |
* variantFolder.hh (SimpleRootContainer): updated decl for |
| 2458 |
getNextSurvivingVariant() |
| 2459 |
|
| 2460 |
* variantFolder.cc (getNextSurvivingVariant): pass back |
| 2461 |
variantNumber and variantIndex |
| 2462 |
|
| 2463 |
* variantSearch.cc (getNextVariant): use new getNextSurvivingVariant() |
| 2464 |
convention; track nrVariantReturned |
| 2465 |
(getNextUnifier): use new getNextSurvivingVariant() convention |
| 2466 |
|
| 2467 |
* variantSearch.hh (SimpleRootContainer): added data members |
| 2468 |
nrVariantsReturned, internalIndexToExternalIndex |
| 2469 |
|
| 2470 |
2016-01-22 Steven Eker <[email protected]> |
| 2471 |
|
| 2472 |
* variantSearch.cc (getNextUnifier, getNextVariant): pass dummy |
| 2473 |
argument to getNextSurvivingVariant() |
| 2474 |
|
| 2475 |
* variantFolder.hh (SimpleRootContainer): updated decl for |
| 2476 |
getNextSurvivingVariant() |
| 2477 |
|
| 2478 |
* variantFolder.cc (insertVariant): manage layerNumber field |
| 2479 |
(getNextSurvivingVariant): rewritten to check for a next variant in |
| 2480 |
the same layer as the one we just found |
| 2481 |
|
| 2482 |
* variantFolder.hh (SimpleRootContainer): added layerNumber field to |
| 2483 |
struct RetainedVariant |
| 2484 |
|
| 2485 |
===================================Maude109=========================================== |
| 2486 |
|
| 2487 |
2015-10-16 Steven Eker <[email protected]> |
| 2488 |
|
| 2489 |
* unifierFilter.cc (subsumes): symmetric change to below |
| 2490 |
|
| 2491 |
* variantFolder.cc (subsumes): allocate at least one slot, but |
| 2492 |
clear the correct number of variables (even if it is 0) so that we |
| 2493 |
don't get a size mismatch with local substitutions in matching |
| 2494 |
automata |
| 2495 |
|
| 2496 |
===================================Maude108a=========================================== |
| 2497 |
|
| 2498 |
2015-09-17 Steven Eker <[email protected]> |
| 2499 |
|
| 2500 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2501 |
fixed nasty bug where we were narrowing with variant equations |
| 2502 |
from the wrong component |
| 2503 |
|
| 2504 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): use |
| 2505 |
getRemappedLeqRelation() for fresh variables |
| 2506 |
(findOrderSortedUnifiers): use applyLeqRelation() and |
| 2507 |
getRemappedLeqRelation() for original variables |
| 2508 |
|
| 2509 |
2015-08-21 Steven Eker <[email protected]> |
| 2510 |
|
| 2511 |
* variantSearch.hh (SimpleRootContainer): get rid of default |
| 2512 |
values for arguments |
| 2513 |
|
| 2514 |
2015-08-13 Steven Eker <[email protected]> |
| 2515 |
|
| 2516 |
* variantSearch.hh (SimpleRootContainer): added data member |
| 2517 |
incompleteFlag |
| 2518 |
(isIncomplete): added |
| 2519 |
|
| 2520 |
* variantSearch.cc (expandVariant): update incompleteFlag |
| 2521 |
(VariantSearch): clear incompleteFlag |
| 2522 |
|
| 2523 |
* narrowingUnificationProblem.hh (isIncomplete): added |
| 2524 |
|
| 2525 |
* variantNarrowingSearchState.hh (PositionState): added data |
| 2526 |
member incompleteFlag |
| 2527 |
(isIncomplete): added |
| 2528 |
|
| 2529 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2530 |
check unification problems for incompleteness and update incompleteFlag |
| 2531 |
(VariantNarrowingSearchState): clear incompleteFlag |
| 2532 |
|
| 2533 |
2015-07-23 Steven Eker <[email protected]> |
| 2534 |
|
| 2535 |
* unificationProblem.cc: deleted commented out variable order |
| 2536 |
stuff |
| 2537 |
|
| 2538 |
* unificationProblem.hh (isIncomplete): added |
| 2539 |
(SimpleRootContainer): deleted commented out variable order stuff |
| 2540 |
that is now done in PendingUnficationStack as part of the cycle |
| 2541 |
breaking code |
| 2542 |
|
| 2543 |
===================================Maude108=========================================== |
| 2544 |
|
| 2545 |
2015-02-23 Steven Eker <[email protected]> |
| 2546 |
|
| 2547 |
* variantSearch.hh (getLastReturnedVariant) |
| 2548 |
(getLastReturnedUnifier): added |
| 2549 |
|
| 2550 |
* variantFolder.hh (getLastReturnedVariant): added |
| 2551 |
|
| 2552 |
===================================Maude107=========================================== |
| 2553 |
|
| 2554 |
2014-11-18 Steven Eker <[email protected]> |
| 2555 |
|
| 2556 |
* unificationProblem.cc (UnificationProblem): added |
| 2557 |
instrumentation |
| 2558 |
|
| 2559 |
* narrowingUnificationProblem.cc (NarrowingUnificationProblem): |
| 2560 |
use DebugAdvisory() |
| 2561 |
|
| 2562 |
===================================Maude106=========================================== |
| 2563 |
|
| 2564 |
2014-08-06 Steven Eker <[email protected]> |
| 2565 |
|
| 2566 |
* equalityConditionFragment.hh (ConditionFragment): added decl for |
| 2567 |
buildInstances() |
| 2568 |
|
| 2569 |
* equalityConditionFragment.cc (buildInstances): added |
| 2570 |
|
| 2571 |
===================================Maude104=========================================== |
| 2572 |
|
| 2573 |
2014-03-03 Steven Eker <[email protected]> |
| 2574 |
|
| 2575 |
* variantSearch.cc (VariantSearch): don't initialize |
| 2576 |
irredundantMode mode |
| 2577 |
(expandLayer): clear both frontiers if we abort |
| 2578 |
|
| 2579 |
* variantSearch.hh (SimpleRootContainer): deleted data members |
| 2580 |
unifierCollection, irredundantMode, unifierIndex |
| 2581 |
(SimpleRootContainer): added data member nrVariantVariables |
| 2582 |
(SimpleRootContainer): updated decl for expandLayer() |
| 2583 |
|
| 2584 |
* variantSearch.cc (expandVariant): rewritten to place variants |
| 2585 |
corresponding to unifiers in the common VariantFolder |
| 2586 |
(expandLayer): swap frontiers even if newFrontier empty so we |
| 2587 |
don't revisit old frontier |
| 2588 |
(getNextUnifier): rewritten to handle combined variant/unifier |
| 2589 |
collection |
| 2590 |
(VariantSearch): don't rely on expandLayer() return value |
| 2591 |
(getNextVariant): don't rely on expandLayer() return value |
| 2592 |
(expandLayer): don't return a value |
| 2593 |
|
| 2594 |
* variantFolder.cc (RetainedVariant): added comments |
| 2595 |
(subsumes): allow comparison of variants of different sizes, with |
| 2596 |
instant failure |
| 2597 |
|
| 2598 |
2014-02-28 Steven Eker <[email protected]> |
| 2599 |
|
| 2600 |
* variantSearch.cc (getNextVariant): use irredundantMode flag |
| 2601 |
(getNextUnifier): use irredundantMode flag |
| 2602 |
|
| 2603 |
* variantSearch.hh (SimpleRootContainer): added data member |
| 2604 |
irredundantMode |
| 2605 |
|
| 2606 |
* variantSearch.cc (VariantSearch): use expandLayer() |
| 2607 |
(getNextVariant): rewritten to be incemental and moved here |
| 2608 |
(getNextUnifier): rewritten to be incemental and moved here |
| 2609 |
(VariantSearch): no longer call expandLayer() here |
| 2610 |
|
| 2611 |
* variantSearch.hh (SimpleRootContainer): added decl |
| 2612 |
expandLayer(); decl for expand() becomes expandVariant() |
| 2613 |
|
| 2614 |
* variantSearch.cc (expandLayer): added |
| 2615 |
(expand): becomes expandVariant(), loses odd arg |
| 2616 |
|
| 2617 |
* variantSearch.hh (SimpleRootContainer): added data member odd |
| 2618 |
|
| 2619 |
* variantFolder.hh (SimpleRootContainer): deleted data members |
| 2620 |
startedExtractingVariants, nextVariant; added data member |
| 2621 |
currentVariantIndex |
| 2622 |
|
| 2623 |
* variantFolder.cc (getNextSurvivingVariant): rewritten to allow |
| 2624 |
variants to be extracted, even though fresh variants may still be |
| 2625 |
inserted |
| 2626 |
(VariantFolder): init currentVariantIndex; don't init |
| 2627 |
startedExtractingVariants |
| 2628 |
|
| 2629 |
===================================Maude101=========================================== |
| 2630 |
|
| 2631 |
2014-02-06 Steven Eker <[email protected]> |
| 2632 |
|
| 2633 |
* variantSearch.cc (expand): #if out debugging code |
| 2634 |
|
| 2635 |
2013-12-20 Steven Eker <[email protected]> |
| 2636 |
|
| 2637 |
* variantNarrowingSearchState.cc (collectUnifiers): wrap |
| 2638 |
informational code in #ifndef NO_ASSERT |
| 2639 |
|
| 2640 |
===================================Maude100a=========================================== |
| 2641 |
|
| 2642 |
2013-03-22 Steven Eker <[email protected]> |
| 2643 |
|
| 2644 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): added |
| 2645 |
DebugAdvisory()s to examine the growth of BDD variables |
| 2646 |
|
| 2647 |
===================================Maude97=========================================== |
| 2648 |
|
| 2649 |
2012-12-13 Steven Eker <[email protected]> |
| 2650 |
|
| 2651 |
* unificationProblem.cc (findNextUnifier): added Assert() and |
| 2652 |
removed "breaking here" comment |
| 2653 |
|
| 2654 |
* unificationProblem.hh (SimpleRootContainer): commented out decls |
| 2655 |
for extractUnifier() and explore(), and data members order, done |
| 2656 |
and pending |
| 2657 |
|
| 2658 |
* unificationProblem.cc (extractUnifier, explore): commented out |
| 2659 |
(findNextUnifier): commented out call to extractUnifier - |
| 2660 |
pendingStack.solve() should do this work as part of cycle |
| 2661 |
resolution |
| 2662 |
|
| 2663 |
===================================Maude96c=========================================== |
| 2664 |
|
| 2665 |
2012-08-22 Steven Eker <[email protected]> |
| 2666 |
|
| 2667 |
* variantFolder.cc (subsumes): call okToCollectGarbage() |
| 2668 |
|
| 2669 |
* unifierFilter.cc (subsumes): call okToCollectGarbage() |
| 2670 |
|
| 2671 |
* variantNarrowingSearchState.cc (collectUnifiers): can't use |
| 2672 |
getDagNode() if we using the built in variant unification |
| 2673 |
equations because find next position won't have been called |
| 2674 |
|
| 2675 |
2012-08-21 Steven Eker <[email protected]> |
| 2676 |
|
| 2677 |
* variantNarrowingSearchState.cc (collectUnifiers): added code to |
| 2678 |
print out message if excessive number of unifiers seen |
| 2679 |
|
| 2680 |
* variantSearch.cc (expand): added code to print variants as they |
| 2681 |
are added to collection for debugging purposes |
| 2682 |
|
| 2683 |
2012-08-13 Steven Eker <[email protected]> |
| 2684 |
|
| 2685 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2686 |
don't clear() zero number of variables |
| 2687 |
|
| 2688 |
2012-08-07 Steven Eker <[email protected]> |
| 2689 |
|
| 2690 |
* narrowingSequenceSearch.cc (findNextNormalForm) |
| 2691 |
(NarrowingSequenceSearch): pass odd argument to |
| 2692 |
NarrowingSearchState() |
| 2693 |
(findNextInterestingState): pass odd argument to NarrowingSearchState() |
| 2694 |
|
| 2695 |
* narrowingSearchState.cc (NarrowingSearchState): deal with odd |
| 2696 |
argument |
| 2697 |
(findNextNarrowing): pass odd to NarrowingUnificationProblem() |
| 2698 |
(getNarrowedDag): uncomment code that clears slots between rule |
| 2699 |
variables and start of dag variables; use |
| 2700 |
getNrProtectedVariables() rather than getNrRealVariables() since |
| 2701 |
abstraction variables won't be written over by rhs construction |
| 2702 |
|
| 2703 |
* narrowingSearchState.hh (isOdd): added |
| 2704 |
(PositionState): updated ctor; added data member odd |
| 2705 |
|
| 2706 |
* narrowingSequenceSearch.cc (NarrowingSequenceSearch): rename |
| 2707 |
variables in initial state so that they don't clash with variables |
| 2708 |
in rules |
| 2709 |
(NarrowingSequenceSearch): delete initial |
| 2710 |
|
| 2711 |
2012-07-30 Steven Eker <[email protected]> |
| 2712 |
|
| 2713 |
* variantNarrowingSearchState.hh (PositionState): deleted data |
| 2714 |
member unificationMode |
| 2715 |
|
| 2716 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2717 |
support unfication mode |
| 2718 |
(VariantNarrowingSearchState): don't initialize unificationMode |
| 2719 |
|
| 2720 |
* narrowingUnificationProblem.hh (SimpleRootContainer): added decl |
| 2721 |
for new ctor |
| 2722 |
|
| 2723 |
* narrowingUnificationProblem.cc (NarrowingUnificationProblem): |
| 2724 |
don't initialize target |
| 2725 |
(NarrowingUnificationProblem): added ctor for lhs vs rhs version |
| 2726 |
|
| 2727 |
* narrowingUnificationProblem.hh (SimpleRootContainer): deleted |
| 2728 |
data member target |
| 2729 |
|
| 2730 |
* variantSearch.cc (VariantSearch): code cleaning; no longer count |
| 2731 |
notional rewrites |
| 2732 |
|
| 2733 |
* variantNarrowingSearchState.cc (findNextVariant): handle virtual |
| 2734 |
narrowing step in unification mode |
| 2735 |
|
| 2736 |
* variantNarrowingSearchState.hh (PositionState): added decl for |
| 2737 |
collectUnifier() |
| 2738 |
|
| 2739 |
* variantNarrowingSearchState.cc (collectUnifiers): added |
| 2740 |
(VariantNarrowingSearchState): use collectUnifiers |
| 2741 |
|
| 2742 |
* variantSearch.cc (expand): pass unificationMode to |
| 2743 |
VariantNarrowingSearchState() |
| 2744 |
|
| 2745 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2746 |
store unificationMode |
| 2747 |
|
| 2748 |
* variantNarrowingSearchState.hh (PositionState): updated ctor decl |
| 2749 |
(PositionState): added data member unificationMode |
| 2750 |
|
| 2751 |
* variantSearch.hh (SimpleRootContainer): added data member unifierIndex |
| 2752 |
|
| 2753 |
* variantSearch.cc (expand): handle null variant terms indicating |
| 2754 |
unifiers |
| 2755 |
(VariantSearch): initialize unifierIndex |
| 2756 |
|
| 2757 |
2012-07-27 Steven Eker <[email protected]> |
| 2758 |
|
| 2759 |
* variantSearch.cc (VariantSearch): support unificationMode |
| 2760 |
|
| 2761 |
* variantSearch.hh (getNextUnifier): added |
| 2762 |
(SimpleRootContainer): added data members unificationMode and |
| 2763 |
unifierCollection; updated decl for ctor |
| 2764 |
|
| 2765 |
2012-07-26 Steven Eker <[email protected]> |
| 2766 |
|
| 2767 |
* variantNarrowingSearchState.cc (findNextVariant): check |
| 2768 |
instantiated block dag to see that it isn't null |
| 2769 |
|
| 2770 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): use |
| 2771 |
variableIndexToSort() (3 places) |
| 2772 |
(bindFreeVariables): use findOrderSortedUnifiers() |
| 2773 |
|
| 2774 |
* narrowingUnificationProblem.hh (SimpleRootContainer): added data |
| 2775 |
member nrPreEquationVariables; added decl for variableIndexToSort() |
| 2776 |
|
| 2777 |
* narrowingUnificationProblem.cc (NarrowingUnificationProblem): |
| 2778 |
initialize nrPreEquationVariables |
| 2779 |
(bindFreeVariables): dispense with local nrPreEquationVariables |
| 2780 |
(findOrderSortedUnifiers): dispense with local |
| 2781 |
nrPreEquationVariables |
| 2782 |
(extractUnifier): dispense with local nrPreEquationVariables |
| 2783 |
(variableIndexToSort): added |
| 2784 |
|
| 2785 |
2012-07-20 Steven Eker <[email protected]> |
| 2786 |
|
| 2787 |
* variantSearch.cc (expand): fixed bug where we using a local |
| 2788 |
blockerDags variable |
| 2789 |
|
| 2790 |
2012-07-19 Steven Eker <[email protected]> |
| 2791 |
|
| 2792 |
* variantSearch.cc (VariantSearch): index, normalize, sort and |
| 2793 |
check blocker dags |
| 2794 |
|
| 2795 |
2012-07-18 Steven Eker <[email protected]> |
| 2796 |
|
| 2797 |
* variantSearch.cc (VariantSearch): take blockerDags argument |
| 2798 |
(markReachableNodes): protect blockerDags |
| 2799 |
|
| 2800 |
* variantSearch.hh (SimpleRootContainer): added data member |
| 2801 |
blockerDags; update decl for ctor |
| 2802 |
|
| 2803 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2804 |
clear blockerSubstitution to ensure any variables that only occur |
| 2805 |
in blocker dags are assigned 0 |
| 2806 |
|
| 2807 |
* variantNarrowingSearchState.hh (PositionState): store a |
| 2808 |
reference rather than a shallow copy of variantSubstitution |
| 2809 |
|
| 2810 |
* variantNarrowingSearchState.cc (findNextVariant): check for |
| 2811 |
blocker dags becoming reducible |
| 2812 |
|
| 2813 |
* variantSearch.cc (VariantSearch): try indexing varriables in |
| 2814 |
start dag from 0 since everything gets reindexed by |
| 2815 |
VariantNarrowingSearchState() anyway |
| 2816 |
(expand): pass blockerDags to VariantNarrowingSearchState() |
| 2817 |
|
| 2818 |
* variantNarrowingSearchState.hh (PositionState): added data |
| 2819 |
member blockerDags; updated decl for ctor |
| 2820 |
(PositionState): added data member blockerSubstitution |
| 2821 |
|
| 2822 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2823 |
take blockerDags argument |
| 2824 |
|
| 2825 |
2012-07-13 Steven Eker <[email protected]> |
| 2826 |
|
| 2827 |
* variantNarrowingSearchState.hh (PositionState): delete decl for |
| 2828 |
reducibleByVariantEquation() |
| 2829 |
|
| 2830 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2831 |
code cleaning |
| 2832 |
(reducibleByVariantEquation): deleted |
| 2833 |
(findNextVariant): use DagNode version of |
| 2834 |
reducibleByVariantEquation() |
| 2835 |
(VariantNarrowingSearchState): use DagNode version of |
| 2836 |
reducibleByVariantEquation() |
| 2837 |
|
| 2838 |
* variantNarrowingSearchState.hh (PositionState): removed data |
| 2839 |
members firstTargetSlot and nrInterestingVariables |
| 2840 |
|
| 2841 |
2012-07-12 Steven Eker <[email protected]> |
| 2842 |
|
| 2843 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2844 |
try doing reducibility check on interesting variables |
| 2845 |
|
| 2846 |
* variantNarrowingSearchState.hh (PositionState): added data |
| 2847 |
members firstTargetSlot and nrInterestingVariables |
| 2848 |
|
| 2849 |
* variantNarrowingSearchState.cc (reducibleByVariantEquation): use |
| 2850 |
isIrreducibleByVariantEquations() and |
| 2851 |
setIrreducibleByVariantEquations() |
| 2852 |
(findNextVariant): try checking bindings to interesting variables |
| 2853 |
for reducibility first |
| 2854 |
|
| 2855 |
* variantFolder.cc (RetainedVariant): changed comment on call to |
| 2856 |
normalize() |
| 2857 |
|
| 2858 |
* unifierFilter.cc (~UnifierFilter): RetainedUniferList replaces |
| 2859 |
RetainedUnifierMultimap |
| 2860 |
(markReachableNodes): RetainedUniferList replaces |
| 2861 |
RetainedUnifierMultimap; fix loop variable masking issue |
| 2862 |
(insertUnifier): RetainedUniferList replaces |
| 2863 |
RetainedUnifierMultimap |
| 2864 |
(getNextSurvivingUnifier): RetainedUniferList replaces |
| 2865 |
RetainedUnifierMultimap |
| 2866 |
(RetainedUnifier): changed comment on call to normalize() |
| 2867 |
|
| 2868 |
* unifierFilter.hh (SimpleRootContainer): added positionIndex to |
| 2869 |
struct RetainedUnifier; RetainedUnifierMultimap becomes |
| 2870 |
RetainedUniferList |
| 2871 |
|
| 2872 |
2012-07-10 Steven Eker <[email protected]> |
| 2873 |
|
| 2874 |
* narrowingSearchState.cc (getNarrowedDag): use new |
| 2875 |
rebuildAndInstantiateDag() return value |
| 2876 |
|
| 2877 |
* variantNarrowingSearchState.cc (findNextVariant): use new |
| 2878 |
rebuildAndInstantiateDag() return value |
| 2879 |
|
| 2880 |
* positionState.hh (P): updated decl for |
| 2881 |
rebuildAndInstantiateDag() |
| 2882 |
|
| 2883 |
* positionState.cc (rebuildAndInstantiateDag): don't both |
| 2884 |
returning replacement because it can't change - we don't support |
| 2885 |
extension for narrowing |
| 2886 |
|
| 2887 |
* narrowingUnificationProblem.hh (SimpleRootContainer): updated |
| 2888 |
decl for findOrderSortedUnifiers() |
| 2889 |
|
| 2890 |
* narrowingUnificationProblem.cc (findNextUnifier): use |
| 2891 |
bindFreeVariables() |
| 2892 |
(findOrderSortedUnifiers): removed commented out code |
| 2893 |
(findOrderSortedUnifiers): now return bool |
| 2894 |
(findNextUnifier): rewritten |
| 2895 |
|
| 2896 |
* narrowingUnificationProblem.hh (SimpleRootContainer): added decl |
| 2897 |
for bindFreeVariables() |
| 2898 |
|
| 2899 |
* narrowingUnificationProblem.cc (bindFreeVariables): added |
| 2900 |
|
| 2901 |
2012-07-09 Steven Eker <[email protected]> |
| 2902 |
|
| 2903 |
* narrowingUnificationProblem.cc (NarrowingUnificationProblem): |
| 2904 |
pass odd argument to UnificationContext |
| 2905 |
|
| 2906 |
2012-07-06 Steven Eker <[email protected]> |
| 2907 |
|
| 2908 |
* variantNarrowingSearchState.cc (findNextVariant): clear slots in |
| 2909 |
unifier that might have been trample by rhs construction |
| 2910 |
|
| 2911 |
* variantSearch.cc (expand): newFrontier is now a VariantIndexVec |
| 2912 |
(VariantSearch): frontier is now a VariantIndexVec |
| 2913 |
|
| 2914 |
* variantSearch.hh (SimpleRootContainer): replace VariantIndexSet |
| 2915 |
with VariantIndexVec |
| 2916 |
|
| 2917 |
* variantSearch.cc (expand): hack to trace expansion of variants |
| 2918 |
|
| 2919 |
* variantFolder.cc (getNextSurvivingVariant): hack to trace |
| 2920 |
parentage of variants |
| 2921 |
|
| 2922 |
2012-07-03 Steven Eker <[email protected]> |
| 2923 |
|
| 2924 |
* unifierFilter.hh (SimpleRootContainer): deleted commented out code |
| 2925 |
|
| 2926 |
* unifierFilter.cc (RetainedUnifier): code cleaning and add comments |
| 2927 |
(subsumes): code cleaning |
| 2928 |
|
| 2929 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2930 |
fix bug where we were passing the wrong number of interesting |
| 2931 |
variables to UnificationFilter (but this should only be an |
| 2932 |
efficiency issue) |
| 2933 |
(VariantNarrowingSearchState): code cleaning; fix comments |
| 2934 |
|
| 2935 |
* variantSearch.hh (SimpleRootContainer): updated decl for |
| 2936 |
getContext(); ifdef'd decl for dumpVariant() |
| 2937 |
|
| 2938 |
* variantSearch.cc (VariantSearch): code cleaning; fix out of date comments |
| 2939 |
(markReachableNodes): remove commented out code; added comment |
| 2940 |
(expand): code cleaning and fix comments |
| 2941 |
(dumpVariant): ifdef'd |
| 2942 |
|
| 2943 |
2012-05-31 Steven Eker <[email protected]> |
| 2944 |
|
| 2945 |
* variantFolder.cc (RetainedVariant): compile dags in reverse order |
| 2946 |
(subsumes): match dags in reverse order |
| 2947 |
|
| 2948 |
* narrowingUnificationProblem.hh (SimpleRootContainer): added data |
| 2949 |
member sortConstrainedVariables |
| 2950 |
|
| 2951 |
* narrowingUnificationProblem.cc (extractUnifier): don't call |
| 2952 |
explore() on unbound variables |
| 2953 |
(explore): fill out sortConstraintVariables |
| 2954 |
(extractUnifier): clear sortConstrainedVariables |
| 2955 |
(findOrderSortedUnifiers): only assign BDD variables to sort |
| 2956 |
constrained free variables rather than all free variables |
| 2957 |
(findNextUnifier): don't do BDD lookup for free variables which |
| 2958 |
are not sort constrained |
| 2959 |
|
| 2960 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2961 |
only variable occuring in the term part of the variant being |
| 2962 |
narrowing are considered to be interesting for unifier filtering |
| 2963 |
purposes |
| 2964 |
|
| 2965 |
2012-05-29 Steven Eker <[email protected]> |
| 2966 |
|
| 2967 |
* variantFolder.hh (SimpleRootContainer): updated decl for subsumes() |
| 2968 |
|
| 2969 |
* variantFolder.cc (subsumes): fix performance bug where we were |
| 2970 |
passing the variant by copy rather than by reference |
| 2971 |
|
| 2972 |
===================================Maude96a=========================================== |
| 2973 |
|
| 2974 |
2012-05-23 Steven Eker <[email protected]> |
| 2975 |
|
| 2976 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 2977 |
need to delete unificationProblem after we're done with it |
| 2978 |
|
| 2979 |
2012-05-22 Steven Eker <[email protected]> |
| 2980 |
|
| 2981 |
* unifierFilter.hh (SimpleRootContainer): commented out previous changes |
| 2982 |
|
| 2983 |
* unifierFilter.cc (insertUnifier): commented out previous changes |
| 2984 |
(getNextSurvivingUnifier): commented out previous changes |
| 2985 |
|
| 2986 |
* variantNarrowingSearchState.cc (findNextVariant) |
| 2987 |
(VariantNarrowingSearchState): commented out previous changes |
| 2988 |
|
| 2989 |
* variantNarrowingSearchState.hh (PositionState): commented out |
| 2990 |
previous decl change |
| 2991 |
|
| 2992 |
* variantSearch.hh (getNextVariant): pass back nrFreeVariables |
| 2993 |
|
| 2994 |
* variantSearch.cc (expand): commented out nrFreeVariables change |
| 2995 |
(VariantSearch): check for unsafe variable names |
| 2996 |
|
| 2997 |
* variantFolder.hh (SimpleRootContainer): updated decl for |
| 2998 |
getNextSurvivingVariant() |
| 2999 |
|
| 3000 |
* variantFolder.cc (RetainedVariant): fill out nrFreeVariables |
| 3001 |
(getNextSurvivingVariant): return nrFreeVariables |
| 3002 |
|
| 3003 |
* variantNarrowingSearchState.hh (PositionState): updated decl for |
| 3004 |
findNextVariant() |
| 3005 |
|
| 3006 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 3007 |
pass nrFreeVariables to insertUnifier() |
| 3008 |
(findNextVariant): get nrFreeVariables from |
| 3009 |
getNextSurvivingUnifier() |
| 3010 |
|
| 3011 |
* unifierFilter.hh (SimpleRootContainer): add nrFreeVariables to |
| 3012 |
struct RetainedUnifier; updated decls for insertUnifier() and |
| 3013 |
getNextSurvivingUnifier() |
| 3014 |
|
| 3015 |
* unifierFilter.cc (getNextSurvivingUnifier): return nrFreeVariables |
| 3016 |
(insertUnifier): store nrFreeVariables |
| 3017 |
|
| 3018 |
2012-05-21 Steven Eker <[email protected]> |
| 3019 |
|
| 3020 |
* narrowingSequenceSearch.cc (findNextNormalForm): check for abort |
| 3021 |
after reducing; use incrementNarrowingCount() and addInCount() |
| 3022 |
|
| 3023 |
* variantSearch.hh (SimpleRootContainer): derive from CacheableState |
| 3024 |
|
| 3025 |
* higher.hh: added classes UnifierFilter, |
| 3026 |
VariantNarrowingSearchState, VariantSearch, VariantFolder |
| 3027 |
|
| 3028 |
* variantSearch.hh (SimpleRootContainer): adde decl for dtor |
| 3029 |
|
| 3030 |
* variantSearch.cc (~NarrowingSequenceSearch): added |
| 3031 |
|
| 3032 |
* variantSearch.hh (getNextVariant): check for traceAbort() |
| 3033 |
(getContext): added |
| 3034 |
|
| 3035 |
* variantSearch.cc (VariantSearch): repostition traceAbort() test |
| 3036 |
|
| 3037 |
* variantNarrowingSearchState.cc (findNextVariant): call |
| 3038 |
incrementVariantNarrowingCount() |
| 3039 |
|
| 3040 |
* variantSearch.cc (markReachableNodes): don't protect |
| 3041 |
VariableDagNodes in variableInfo now that we notice they |
| 3042 |
will be reachable from original dag which itself is protected |
| 3043 |
|
| 3044 |
* variantNarrowingSearchState.cc (findNextVariant): pass |
| 3045 |
originalVariables to traceVariantNarrowingStep() |
| 3046 |
|
| 3047 |
* variantNarrowingSearchState.hh (PositionState): updated decl for |
| 3048 |
ctor; added data member originalVariables |
| 3049 |
|
| 3050 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 3051 |
take extra argument and initialize originalVariables |
| 3052 |
|
| 3053 |
* variantSearch.cc (expand): add in subcontext counts |
| 3054 |
(VariantSearch): delete redContext; add in count from redContext |
| 3055 |
(expand): pass variableInfo to VariantNarrowingSearchState ctor |
| 3056 |
|
| 3057 |
2012-05-18 Steven Eker <[email protected]> |
| 3058 |
|
| 3059 |
* variantNarrowingSearchState.cc (findNextVariant): add tracing |
| 3060 |
|
| 3061 |
2012-05-17 Steven Eker <[email protected]> |
| 3062 |
|
| 3063 |
* variantSearch.cc (VariantSearch): reduce initial term after |
| 3064 |
rather than before replacement of variables with fresh variables; |
| 3065 |
this fixes a bug where reduction was introducing new ground terms |
| 3066 |
without their ground flags set which broke instantiation. |
| 3067 |
(VariantSearch): check for abort |
| 3068 |
|
| 3069 |
* variantNarrowingSearchState.cc (reducibleByVariantEquation): fix |
| 3070 |
multiple problems with the deletion of subproblems |
| 3071 |
|
| 3072 |
2012-05-11 Steven Eker <[email protected]> |
| 3073 |
|
| 3074 |
* variantSearch.hh (SimpleRootContainer): added data member |
| 3075 |
protectedVariant |
| 3076 |
|
| 3077 |
* variantSearch.cc (expand): use protectedVariant to avoid |
| 3078 |
substitution part of new variant being garbage collected when term |
| 3079 |
part is reduced |
| 3080 |
|
| 3081 |
* variantSearch.hh (V): updated decl for expand() |
| 3082 |
(SimpleRootContainer): inherit from SimpleRootContainer |
| 3083 |
(SimpleRootContainer): added decl for markReachableNodes() |
| 3084 |
|
| 3085 |
* variantSearch.cc (expand): handle odd flag and pass it to |
| 3086 |
VariantNarrowingSearchState |
| 3087 |
(VariantSearch): maintain odd flag and pass it to expand() |
| 3088 |
|
| 3089 |
* variantNarrowingSearchState.hh (PositionState): updated decl for ctor |
| 3090 |
|
| 3091 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 3092 |
pass odd flag to NarrowingUnificationProblem() |
| 3093 |
|
| 3094 |
* narrowingUnificationProblem.cc (NarrowingUnificationProblem): |
| 3095 |
handle odd flag |
| 3096 |
(findNextUnifier): pass odd flag to getFreshVariableName |
| 3097 |
|
| 3098 |
* narrowingUnificationProblem.hh (SimpleRootContainer): added odd |
| 3099 |
ctor argument and data member |
| 3100 |
|
| 3101 |
* narrowingUnificationProblem.cc (findNextUnifier): removed |
| 3102 |
commented out call to freshVariableGenerator->reset(); |
| 3103 |
|
| 3104 |
* variantNarrowingSearchState.cc (reducibleByVariantEquation): |
| 3105 |
delete subproblems |
| 3106 |
|
| 3107 |
* variantSearch.cc (VariantSearch): handle the case where |
| 3108 |
instantiate() returns null |
| 3109 |
|
| 3110 |
2012-05-10 Steven Eker <[email protected]> |
| 3111 |
|
| 3112 |
* variantNarrowingSearchState.cc (findNextVariant): fix bug where |
| 3113 |
we were not handling null returned by instantiate() |
| 3114 |
|
| 3115 |
* variantSearch.cc: added |
| 3116 |
|
| 3117 |
* variantSearch.hh: added |
| 3118 |
|
| 3119 |
2012-05-09 Steven Eker <[email protected]> |
| 3120 |
|
| 3121 |
* variantFolder.cc: created |
| 3122 |
|
| 3123 |
* variantFolder.hh: created |
| 3124 |
|
| 3125 |
2012-05-04 Steven Eker <[email protected]> |
| 3126 |
|
| 3127 |
* variantNarrowingSearchState.cc (findNextVariant): use |
| 3128 |
reducibleByVariantEquation() |
| 3129 |
(findNextVariant): normalize and compute sorts for instantiated |
| 3130 |
substition before checking for reducibility |
| 3131 |
|
| 3132 |
* variantNarrowingSearchState.hh (PositionState): added decl for |
| 3133 |
reducibleByVariantEquation() |
| 3134 |
|
| 3135 |
* variantNarrowingSearchState.cc (reducibleByVariantEquation): |
| 3136 |
added |
| 3137 |
|
| 3138 |
2012-05-03 Steven Eker <[email protected]> |
| 3139 |
|
| 3140 |
* variantNarrowingSearchState.cc (VariantNarrowingSearchState): |
| 3141 |
only use equations with the variant attribute |
| 3142 |
(VariantNarrowingSearchState): use equations indexed under symbol |
| 3143 |
for stable symbols |
| 3144 |
|
| 3145 |
2012-04-30 Steven Eker <[email protected]> |
| 3146 |
|
| 3147 |
* unifierFilter.cc (subsumes): don't create zero size |
| 3148 |
substitutions as this breaks stuff |
| 3149 |
|
| 3150 |
2012-04-27 Steven Eker <[email protected]> |
| 3151 |
|
| 3152 |
* unificationProblem.cc (UnificationProblem): use |
| 3153 |
getNrRealVariables() rather than getNrProtectedVariables() - more |
| 3154 |
a cleanliness issue here |
| 3155 |
(findNextUnifier): ditto |
| 3156 |
(findOrderSortedUnifiers): ditto |
| 3157 |
(extractUnifier): dirrot |
| 3158 |
|
| 3159 |
* narrowingUnificationProblem.cc (findNextUnifier): use |
| 3160 |
getNrRealVariables() rather than getNrProtectedVariables(); this |
| 3161 |
fixes a nasty problem that we were treating slots introduced for |
| 3162 |
purposes such as variable abstraction during matching as real |
| 3163 |
variables in the preEquation being used for narrowing, resulting |
| 3164 |
in memory corruption |
| 3165 |
(extractUnifier): ditto |
| 3166 |
(findOrderSortedUnifiers): ditto |
| 3167 |
|
| 3168 |
* narrowingSearchState.cc (getNarrowedDag): don't clear slots used |
| 3169 |
by rhsBuilder - unification code should never look at these |
| 3170 |
|
| 3171 |
2012-04-26 Steven Eker <[email protected]> |
| 3172 |
|
| 3173 |
* unifierFilter.hh (SimpleRootContainer): updated decl for getNextSurvivingUnifier() |
| 3174 |
|
| 3175 |
* unifierFilter.cc (getNextSurvivingUnifier): remove const from unifier |
| 3176 |
|
| 3177 |
* variantNarrowingSearchState.hh: created |
| 3178 |
|
| 3179 |
* variantNarrowingSearchState.cc: created |
| 3180 |
|
| 3181 |
* positionState.hh (P): updated decl for rebuildAndInstantiateDag() |
| 3182 |
|
| 3183 |
* positionState.cc (rebuildAndInstantiateDag): turned CantHappen() |
| 3184 |
into an Assert() |
| 3185 |
(rebuildAndInstantiateDag): take PositionIndex |
| 3186 |
|
| 3187 |
* unifierFilter.cc (getNextSurvivingUnifier): moved here |
| 3188 |
|
| 3189 |
2012-04-19 Steven Eker <[email protected]> |
| 3190 |
|
| 3191 |
* unifierFilter.cc: rewritten |
| 3192 |
|
| 3193 |
* unifierFilter.hh (SimpleRootContainer): rewritten to index |
| 3194 |
retained unifiers by positionIndex and to store equationIndex |
| 3195 |
|
| 3196 |
2012-04-18 Steven Eker <[email protected]> |
| 3197 |
|
| 3198 |
* narrowingUnificationProblem.hh: updated comment to reflect |
| 3199 |
change below |
| 3200 |
|
| 3201 |
* narrowingUnificationProblem.cc (findNextUnifier): rewritten so |
| 3202 |
that we don't modify previously generated unifiers to make new |
| 3203 |
unifiers |
| 3204 |
|
| 3205 |
2012-04-13 Steven Eker <[email protected]> |
| 3206 |
|
| 3207 |
* narrowingSearchState.cc (getNarrowedDag): new |
| 3208 |
rebuildAndInstantiateDag() calling convention |
| 3209 |
|
| 3210 |
* positionState.hh (P): updated decl for rebuildAndInstantiateDag() |
| 3211 |
|
| 3212 |
* positionState.cc (rebuildAndInstantiateDag): rewritten to take |
| 3213 |
an eager copy of the part the substitution we will use if |
| 3214 |
there is any instatiation going to happen |
| 3215 |
|
| 3216 |
2012-04-05 Steven Eker <[email protected]> |
| 3217 |
|
| 3218 |
* unifierFilter.hh: created |
| 3219 |
|
| 3220 |
* unifierFilter.cc: created |
| 3221 |
|
| 3222 |
2012-03-28 Steven Eker <[email protected]> |
| 3223 |
|
| 3224 |
* narrowingUnificationProblem.hh (SimpleRootContainer): switched |
| 3225 |
rule for preEquation |
| 3226 |
|
| 3227 |
* narrowingUnificationProblem.cc: switched rule for preEquation |
| 3228 |
thoughout file |
| 3229 |
|
| 3230 |
* pattern.hh (PreEquation): adde decl for print() |
| 3231 |
|
| 3232 |
* pattern.cc (print): added |
| 3233 |
|
| 3234 |
===================================Maude96=========================================== |
| 3235 |
|
| 3236 |
2011-01-06 Steven Eker <eker@rho> |
| 3237 |
|
| 3238 |
* unificationProblem.cc |
| 3239 |
(UnificationProblem::findOrderSortedUnifiers): simplifed |
| 3240 |
constraining free fresh variables by using |
| 3241 |
getRemappedLeqRelation() |
| 3242 |
(UnificationProblem::findOrderSortedUnifiers): simplified |
| 3243 |
constraining of free original variable using |
| 3244 |
getRemappedLeqRelation() |
| 3245 |
(UnificationProblem::findOrderSortedUnifiers): simplied |
| 3246 |
constraining of bound original variables using applyLeqRelation() |
| 3247 |
(UnificationProblem::findOrderSortedUnifiers): removed a |
| 3248 |
DebugAdvisory() since leqRelation does have a meaningful value at |
| 3249 |
this point |
| 3250 |
|
| 3251 |
===================================Maude95c=========================================== |
| 3252 |
|
| 3253 |
2010-11-30 Steven Eker <eker@rho> |
| 3254 |
|
| 3255 |
* pattern.cc (Pattern::Pattern): call setModuleInfo() to set null |
| 3256 |
info so we can identify PreEquations that don't belong to modules |
| 3257 |
|
| 3258 |
===================================Maude95b=========================================== |
| 3259 |
|
| 3260 |
2010-09-16 Steven Eker <eker@rho> |
| 3261 |
|
| 3262 |
* modelCheckerSymbol.cc (SystemAutomaton::checkProposition): reverted |
| 3263 |
|
| 3264 |
* satSolverSymbol.cc: reverted |
| 3265 |
|
| 3266 |
* satSolverSymbol.hh (class SatSolverSymbol): reverted |
| 3267 |
|
| 3268 |
* temporalSymbol.cc (TemporalSymbol::build): reverted - we need |
| 3269 |
proposition indices to be contiguous which is not guaranteed by |
| 3270 |
HashConsSet |
| 3271 |
|
| 3272 |
* temporalSymbol.hh (class TemporalSymbol): reverted |
| 3273 |
|
| 3274 |
* modelCheckerSymbol.cc (SystemAutomaton::checkProposition): use |
| 3275 |
HashConsSet |
| 3276 |
|
| 3277 |
* modelCheckerSymbol.hh (class ModelCheckerSymbol): DagNodeSet -> |
| 3278 |
HashConsSet |
| 3279 |
|
| 3280 |
* satSolverSymbol.cc (SatSolverSymbol::eqRewrite) |
| 3281 |
(SatSolverSymbol::makeModel, SatSolverSymbol::makeFormulaList) |
| 3282 |
(SatSolverSymbol::makeFormula): use HashConsSet |
| 3283 |
|
| 3284 |
* satSolverSymbol.hh (class SatSolverSymbol): DagNodeSet -> |
| 3285 |
HashConsSet |
| 3286 |
|
| 3287 |
* temporalSymbol.cc (TemporalSymbol::build): simplified using |
| 3288 |
HashConsSet |
| 3289 |
|
| 3290 |
* temporalSymbol.hh (class TemporalSymbol): DagNodeSet -> HashConsSet |
| 3291 |
|
| 3292 |
* stateTransitionGraph.cc (StateTransitionGraph::markReachableNodes): deleted |
| 3293 |
|
| 3294 |
* stateTransitionGraph.hh (class StateTransitionGraph): remove |
| 3295 |
derivation from SimpleRootContainer |
| 3296 |
(class StateTransitionGraph): deleted decl for |
| 3297 |
markReachableNodes() |
| 3298 |
|
| 3299 |
===================================Maude95=========================================== |
| 3300 |
|
| 3301 |
2010-07-20 Steven Eker <eker@rho> |
| 3302 |
|
| 3303 |
* unificationProblem.cc (UnificationProblem::findNextUnifier): use |
| 3304 |
solve() |
| 3305 |
|
| 3306 |
2010-07-16 Steven Eker <eker@rho> |
| 3307 |
|
| 3308 |
* unificationProblem.cc (UnificationProblem::findNextUnifier): use |
| 3309 |
solve2(); don't use extractUnifier() |
| 3310 |
|
| 3311 |
2010-05-21 Steven Eker <eker@rho> |
| 3312 |
|
| 3313 |
* rewriteConditionState.hh (class RewriteConditionState): use |
| 3314 |
StateTransitionGraph in place of StateTransitionGraph3 |
| 3315 |
|
| 3316 |
* stateTransitionGraph3.cc: deleted |
| 3317 |
|
| 3318 |
* stateTransitionGraph3.hh: deleted |
| 3319 |
|
| 3320 |
* rewriteSequenceSearch.cc |
| 3321 |
(RewriteSequenceSearch::RewriteSequenceSearch): removed mention of |
| 3322 |
StateTransitionGraph3 |
| 3323 |
|
| 3324 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): removed |
| 3325 |
mention of StateTransitionGraph3 |
| 3326 |
|
| 3327 |
* modelCheckerSymbol.cc: use StateTransitionGraph in place of |
| 3328 |
StateTransistionGraph3 throughout |
| 3329 |
|
| 3330 |
* modelCheckerSymbol.hh (class ModelCheckerSymbol): use |
| 3331 |
StateTransitionGraph in place of StateTransistionGraph3 |
| 3332 |
|
| 3333 |
===================================Maude94=========================================== |
| 3334 |
|
| 3335 |
2010-04-01 Steven Eker <eker@rho> |
| 3336 |
|
| 3337 |
* unificationProblem.cc (UnificationProblem::markReachableNodes): |
| 3338 |
deleted commented out unsortedSolution marking code |
| 3339 |
|
| 3340 |
* narrowingUnificationProblem.cc |
| 3341 |
(NarrowingUnificationProblem::markReachableNodes): deleted |
| 3342 |
commented out unsortedSolution marking code |
| 3343 |
|
| 3344 |
* narrowingSearchState.cc |
| 3345 |
(NarrowingSearchState::findNextNarrowing): don't pass |
| 3346 |
extensionInfo to NarrowingUnificationProblem() |
| 3347 |
|
| 3348 |
* narrowingUnificationProblem.hh (class |
| 3349 |
NarrowingUnificationProblem): updated ctor decl; deleted |
| 3350 |
extensionInfo data member; deleted subproblem commented out data |
| 3351 |
member |
| 3352 |
|
| 3353 |
* narrowingUnificationProblem.cc |
| 3354 |
(NarrowingUnificationProblem::NarrowingUnificationProblem): |
| 3355 |
deleted commented out subproblem and extension unification code |
| 3356 |
(~NarrowingUnificationProblem): deleted commented out subproblem |
| 3357 |
code |
| 3358 |
(NarrowingUnificationProblem::findNextUnifier): deleted commented |
| 3359 |
out subproblem code |
| 3360 |
(NarrowingUnificationProblem::NarrowingUnificationProblem): |
| 3361 |
deleted extensionInfo argument |
| 3362 |
|
| 3363 |
* unificationProblem.cc (UnificationProblem::UnificationProblem): |
| 3364 |
remove withExtension arg |
| 3365 |
(UnificationProblem::UnificationProblem): deleted commented out |
| 3366 |
subproblem code |
| 3367 |
(UnificationProblem::findNextUnifier): ditto |
| 3368 |
|
| 3369 |
* unificationProblem.hh (class UnificationProblem): remove |
| 3370 |
withExtension arg from ctor |
| 3371 |
|
| 3372 |
* unificationProblem.cc (UnificationProblem::UnificationProblem): |
| 3373 |
deleted extension handling code |
| 3374 |
(~UnificationProblem): don't delete extensionInfo |
| 3375 |
(UnificationProblem::makeContext): deleted |
| 3376 |
|
| 3377 |
* unificationProblem.hh (class UnificationProblem): deleted decls |
| 3378 |
for makeContext(), getExtensionInfo(), getLeftHandSides(); deleted |
| 3379 |
data member extensionInfo and commented out data member subproblem |
| 3380 |
(UnificationProblem::getExtensionInfo, Vector): deleted |
| 3381 |
|
| 3382 |
===================================Maude93a=========================================== |
| 3383 |
|
| 3384 |
2009-12-24 Steven Eker <[email protected]> |
| 3385 |
|
| 3386 |
* stateTransitionGraph.cc (getNextState): pass SET_UNREWRITABLE |
| 3387 |
and SET_UNSTACKABLE flags |
| 3388 |
|
| 3389 |
* rewriteSearchState.cc (RewriteSearchState): don't pass |
| 3390 |
SET_UNSTACKABLE flag |
| 3391 |
|
| 3392 |
* rewriteSearchState.hh (class RewriteSearchState): added |
| 3393 |
SET_UNREWRITABLE to enum Flags |
| 3394 |
|
| 3395 |
2009-12-11 Steven Eker <[email protected]> |
| 3396 |
|
| 3397 |
* rewriteSearchState.cc (RewriteSearchState): pass SET_UNSTACKABLE |
| 3398 |
flag |
| 3399 |
|
| 3400 |
* positionState.cc (PositionState): make sure we have |
| 3401 |
SET_UNSTACKABLE set without also setting RESPECT_FROZEN |
| 3402 |
(exploreNextPosition): handle SET_UNSTACKABLE |
| 3403 |
|
| 3404 |
* positionState.hh (class PositionState): added SET_UNSTACKABLE to |
| 3405 |
Flags |
| 3406 |
|
| 3407 |
2009-12-09 Steven Eker <[email protected]> |
| 3408 |
|
| 3409 |
* rewriteSearchState.cc (findNextRewrite): use |
| 3410 |
setUnrewritable()/isUnrewritable() |
| 3411 |
|
| 3412 |
2009-12-08 Steven Eker <[email protected]> |
| 3413 |
|
| 3414 |
* stateTransitionGraph3.cc (getNextState): fix symmetric bug where |
| 3415 |
we weren't allowing garbage collection |
| 3416 |
|
| 3417 |
2009-12-03 Steven Eker <[email protected]> |
| 3418 |
|
| 3419 |
* stateTransitionGraph.cc (getNextState): allow garbage collection |
| 3420 |
in the success case |
| 3421 |
|
| 3422 |
2009-11-25 Steven Eker <[email protected]> |
| 3423 |
|
| 3424 |
* stateTransitionGraph.cc: created |
| 3425 |
|
| 3426 |
* higher.hh: added class StateTransitionGraph |
| 3427 |
|
| 3428 |
2009-11-24 Steven Eker <[email protected]> |
| 3429 |
|
| 3430 |
* stateTransitionGraph.hh: created |
| 3431 |
|
| 3432 |
===================================Maude92b=========================================== |
| 3433 |
|
| 3434 |
2009-11-06 Steven Eker <[email protected]> |
| 3435 |
|
| 3436 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): |
| 3437 |
constrain free fresh variables to have sort indices in valid range |
| 3438 |
|
| 3439 |
* unificationProblem.cc (findOrderSortedUnifiers): move |
| 3440 |
constraints on free fresh variables to after the BDD variables |
| 3441 |
have been allocate, using a separate loop |
| 3442 |
|
| 3443 |
2009-10-29 Steven Eker <[email protected]> |
| 3444 |
|
| 3445 |
* unificationProblem.cc (findOrderSortedUnifiers): fix a critical |
| 3446 |
bug in the algorithm - notion of a sort index being valid cannot |
| 3447 |
be carried through generalized sort computations, and therefore |
| 3448 |
for free variables that are also fresh variables, and won't |
| 3449 |
otherwise be constrained, additional constraints must be added to |
| 3450 |
ensure they only range over valid sort indices |
| 3451 |
|
| 3452 |
2009-09-23 Steven Eker <[email protected]> |
| 3453 |
|
| 3454 |
* unificationProblem.cc (findOrderSortedUnifiers): added |
| 3455 |
DebugAdvisory() to investigate the BDD variable bug |
| 3456 |
|
| 3457 |
===================================Maude92a=========================================== |
| 3458 |
|
| 3459 |
2008-09-11 Steven Eker <[email protected]> |
| 3460 |
|
| 3461 |
* narrowingUnificationProblem.cc (findOrderSortedUnifiers): use & |
| 3462 |
rather that /\ in comment to avoid multi-line comment warning |
| 3463 |
(findOrderSortedUnifiers): delete nrFreeVariable |
| 3464 |
(findNextUnifier): added #if NO_ASSERT to avoid compiler warning |
| 3465 |
(2 places) |
| 3466 |
|
| 3467 |
* unificationProblem.cc (findOrderSortedUnifiers): use & rather |
| 3468 |
that /\ in comment to avoid multi-line comment warning |
| 3469 |
(findNextUnifier): added #if NO_ASSERT to avoid compiler warning |
| 3470 |
(2 places) |
| 3471 |
|
| 3472 |
===================================Maude91a=========================================== |
| 3473 |
|
| 3474 |
2008-04-10 Steven Eker <[email protected]> |
| 3475 |
|
| 3476 |
* unificationProblem.cc (UnificationProblem): change variable name |
| 3477 |
warning |
| 3478 |
|
| 3479 |
===================================Maude91=========================================== |
| 3480 |
|
| 3481 |
2008-02-12 Steven Eker <[email protected]> |
| 3482 |
|
| 3483 |
* narrowingUnificationProblem.cc (markReachableNodes): symmetric |
| 3484 |
with below |
| 3485 |
|
| 3486 |
* unificationProblem.cc (markReachableNodes): comment out |
| 3487 |
unsortedSolution now that UnificationContext handles this |
| 3488 |
|
| 3489 |
2008-02-05 Steven Eker <[email protected]> |
| 3490 |
|
| 3491 |
* narrowingUnificationProblem.cc (findNextUnifier): use |
| 3492 |
pendingStack rather than subproblem |
| 3493 |
|
| 3494 |
* narrowingUnificationProblem.hh (class |
| 3495 |
NarrowingUnificationProblem): pendingStack replaces subproblem |
| 3496 |
|
| 3497 |
* narrowingUnificationProblem.cc (NarrowingUnificationProblem): |
| 3498 |
use new computeSolvedForm() convention |
| 3499 |
|
| 3500 |
* unificationProblem.hh (class UnificationProblem): pendingStack |
| 3501 |
replaces subproblem |
| 3502 |
|
| 3503 |
* unificationProblem.cc (UnificationProblem): use new |
| 3504 |
computeSolvedForm() convention |
| 3505 |
(findNextUnifier): use pendingStack rather than subproblem |
| 3506 |
|
| 3507 |
2008-01-21 Steven Eker <[email protected]> |
| 3508 |
|
| 3509 |
* narrowingSequenceSearch.cc (NarrowingSequenceSearch): handle |
| 3510 |
narrowingFlags arg |
| 3511 |
(NarrowingSequenceSearch, findNextNormalForm) |
| 3512 |
(findNextInterestingState): pass narrowingFlags to |
| 3513 |
NarrowingSearchState() |
| 3514 |
|
| 3515 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3516 |
added data member narrowing flags; updated decl for ctor |
| 3517 |
|
| 3518 |
* narrowingSearchState.cc (NarrowingSearchState): initialize |
| 3519 |
noFurtherPositions |
| 3520 |
(findNextNarrowing): support SINGLE_POSITION flag |
| 3521 |
|
| 3522 |
* narrowingSearchState.hh (class NarrowingSearchState): added |
| 3523 |
SINGLE_POSITION flag |
| 3524 |
(class NarrowingSearchState): added data member noFurtherPositions |
| 3525 |
|
| 3526 |
* narrowingSequenceSearch.cc (findNextNormalForm): use new |
| 3527 |
getNarrowedDag() and traceNarrowingStep() conventions |
| 3528 |
(findNextInterestingState): ditto |
| 3529 |
|
| 3530 |
* narrowingSearchState.hh (class NarrowingSearchState): updated |
| 3531 |
decl for getNarrowedDag() |
| 3532 |
|
| 3533 |
* narrowingSearchState.cc (getNarrowedDag): return replacement via |
| 3534 |
a reference arg |
| 3535 |
|
| 3536 |
2008-01-18 Steven Eker <[email protected]> |
| 3537 |
|
| 3538 |
* narrowingSequenceSearch.cc (findNextInterestingState): support tracing |
| 3539 |
(findNextNormalForm): support tracing |
| 3540 |
|
| 3541 |
2008-01-17 Steven Eker <[email protected]> |
| 3542 |
|
| 3543 |
* narrowingSearchState.hh (getVariableInfo): added |
| 3544 |
|
| 3545 |
===================================Maude90=========================================== |
| 3546 |
|
| 3547 |
2007-12-04 Steven Eker <[email protected]> |
| 3548 |
|
| 3549 |
* narrowingSequenceSearch.hh (getVariableCounter) |
| 3550 |
(setVariableCounter): deleted |
| 3551 |
(getVariableTotalForPreviouslyReturnedStates): added |
| 3552 |
|
| 3553 |
* narrowingSequenceSearch.cc (findNextMatch): do variableTotal |
| 3554 |
accounting |
| 3555 |
(NarrowingSequenceSearch): clear |
| 3556 |
variableTotalForPreviouslyReturnedStates and |
| 3557 |
variableTotalForAllReturnedStates |
| 3558 |
|
| 3559 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3560 |
deleted data member variableCounter |
| 3561 |
|
| 3562 |
* narrowingSearchState.hh (getNrOfVariablesInSubject): added |
| 3563 |
|
| 3564 |
* narrowingSearchState.cc (NarrowingSearchState): comment out |
| 3565 |
whole info loop |
| 3566 |
|
| 3567 |
* narrowingSequenceSearch.hh (getStateDag): use stateStack and |
| 3568 |
getContext() in place of contextStack() |
| 3569 |
|
| 3570 |
* narrowingSearchState.hh (getContext): added |
| 3571 |
|
| 3572 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3573 |
deleted data member context stack |
| 3574 |
(getContext): added Assert() to protect against empty stack |
| 3575 |
|
| 3576 |
* narrowingSequenceSearch.cc (NarrowingSequenceSearch): don't use |
| 3577 |
contextStack |
| 3578 |
(NarrowingSequenceSearch): don't delete stuff from contextStack |
| 3579 |
(findNextNormalForm, findNextInterestingState): don't use |
| 3580 |
contextStack |
| 3581 |
|
| 3582 |
* narrowingSearchState.hh (class NarrowingSearchState): added data |
| 3583 |
member context |
| 3584 |
|
| 3585 |
* narrowingSearchState.cc (NarrowingSearchState): save context |
| 3586 |
(NarrowingSearchState): delete context |
| 3587 |
|
| 3588 |
* narrowingSequenceSearch.cc (findNextInterestingState): fix bug |
| 3589 |
where we weren't deleting state and context afte during |
| 3590 |
backtracking |
| 3591 |
|
| 3592 |
* narrowingSearchState.cc (findNextNarrowing): fix bug where we |
| 3593 |
weren't deleting a UnificationProblem after it fails to provide |
| 3594 |
another solution |
| 3595 |
|
| 3596 |
2007-12-03 Steven Eker <[email protected]> |
| 3597 |
|
| 3598 |
* narrowingSequenceSearch.hh (getFreshVariableGenerator): added |
| 3599 |
(class NarrowingSequenceSearch): added data member variableCounter |
| 3600 |
(getVariableCounter, setVariableCounter): added |
| 3601 |
|
| 3602 |
* narrowingSequenceSearch.cc (findNextMatch): handle null goal |
| 3603 |
|
| 3604 |
2007-11-29 Steven Eker <[email protected]> |
| 3605 |
|
| 3606 |
* higher.hh: added class CacheableState |
| 3607 |
|
| 3608 |
* searchState.hh (class SearchState): derive from CacheableState |
| 3609 |
|
| 3610 |
* sequenceSearch.hh: derive from CacheableState |
| 3611 |
|
| 3612 |
* unificationProblem.hh (class UnificationProblem): derive from |
| 3613 |
CacheableState |
| 3614 |
|
| 3615 |
* cacheableState.hh: created |
| 3616 |
|
| 3617 |
2007-11-21 Steven Eker <[email protected]> |
| 3618 |
|
| 3619 |
* narrowingSearchState.cc (findNextNarrowing): pass 0 as |
| 3620 |
extensionInfo to NarrowingUnificationProblem() |
| 3621 |
|
| 3622 |
2007-11-20 Steven Eker <[email protected]> |
| 3623 |
|
| 3624 |
* sortTestConditionFragment.cc (check): allow for the case that |
| 3625 |
normalize() deletes the original term due to collapse |
| 3626 |
|
| 3627 |
* rewriteConditionFragment.cc (check): allow for the case that |
| 3628 |
normalize() deletes the original term due to collapse |
| 3629 |
|
| 3630 |
* assignmentConditionFragment.cc (check): allow for the case that |
| 3631 |
normalize() deletes the original term due to collapse |
| 3632 |
|
| 3633 |
* equalityConditionFragment.cc (check): allow for the case that |
| 3634 |
normalize() deletes the original term due to collapse |
| 3635 |
|
| 3636 |
2007-11-19 Steven Eker <[email protected]> |
| 3637 |
|
| 3638 |
* narrowingSequenceSearch.cc (findNextMatch): use getStateDag() |
| 3639 |
|
| 3640 |
* narrowingSequenceSearch.hh (getContext): added |
| 3641 |
(getStateDag): added |
| 3642 |
|
| 3643 |
* higher.hh: added class SequenceSearch |
| 3644 |
|
| 3645 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): derive |
| 3646 |
from SequenceSearch |
| 3647 |
|
| 3648 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3649 |
derive from SequenceSearch |
| 3650 |
|
| 3651 |
* sequenceSearch.hh (class SequenceSearch): created |
| 3652 |
|
| 3653 |
2007-11-16 Steven Eker <[email protected]> |
| 3654 |
|
| 3655 |
* narrowingSearchState.hh (class NarrowingSearchState): added decl |
| 3656 |
for ~NarrowingSearchState() |
| 3657 |
|
| 3658 |
* narrowingSearchState.cc (~NarrowingSearchState): added |
| 3659 |
|
| 3660 |
* narrowingSequenceSearch.cc (~NarrowingSequenceSearch): delete |
| 3661 |
any pending states and contexts on the stacks |
| 3662 |
(~NarrowingSequenceSearch): delete freshVariableGenerator |
| 3663 |
|
| 3664 |
2007-11-15 Steven Eker <[email protected]> |
| 3665 |
|
| 3666 |
* narrowingSequenceSearch.cc (findNextNormalForm): use seenSet |
| 3667 |
(NarrowingSequenceSearch): initialize seenSet |
| 3668 |
(findNextInterestingState): use seenSet |
| 3669 |
(findNextNormalForm): falsify topOfStackFresh after detecting a |
| 3670 |
dup |
| 3671 |
|
| 3672 |
2007-11-14 Steven Eker <[email protected]> |
| 3673 |
|
| 3674 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3675 |
added data member seenSet |
| 3676 |
|
| 3677 |
* narrowingSequenceSearch.cc (findNextMatch): call |
| 3678 |
findNextNormalForm() from here |
| 3679 |
(findNextInterestingState): don't call findNextNormalForm() from |
| 3680 |
here |
| 3681 |
|
| 3682 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3683 |
replace firstCall flag with topOfStackFresh flag |
| 3684 |
|
| 3685 |
* narrowingSequenceSearch.cc (findNextNormalForm): handle maxDepth |
| 3686 |
(findNextNormalForm): reorganized |
| 3687 |
(findNextNormalForm): simplified; get rid of firstCall flag |
| 3688 |
(NarrowingSequenceSearch): initialize topOfStackFresh flag |
| 3689 |
|
| 3690 |
2007-11-13 Steven Eker <[email protected]> |
| 3691 |
|
| 3692 |
* narrowingSequenceSearch.cc (NarrowingSequenceSearch): initialize |
| 3693 |
firstCall |
| 3694 |
|
| 3695 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3696 |
added decl for findNextNormalForm(); added data member firstCall |
| 3697 |
|
| 3698 |
* narrowingSequenceSearch.cc (findNextNormalForm): added |
| 3699 |
|
| 3700 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3701 |
deleted data member reachingInitialStateOK |
| 3702 |
|
| 3703 |
* narrowingSequenceSearch.cc (NarrowingSequenceSearch): don't |
| 3704 |
initialize reachingInitialStateOK |
| 3705 |
|
| 3706 |
2007-11-06 Steven Eker <[email protected]> |
| 3707 |
|
| 3708 |
* narrowingSearchState.hh (class NarrowingSearchState): pass |
| 3709 |
ALLOW_NONEXEC as default flags argument |
| 3710 |
|
| 3711 |
2007-10-31 Steven Eker <[email protected]> |
| 3712 |
|
| 3713 |
* narrowingSequenceSearch.cc (findNextInterestingState): handle |
| 3714 |
maxDepth == NONE |
| 3715 |
(findNextInterestingState): handle trying of initial state |
| 3716 |
|
| 3717 |
2007-10-30 Steven Eker <[email protected]> |
| 3718 |
|
| 3719 |
* narrowingSequenceSearch.cc (findNextInterestingState): use |
| 3720 |
contextStack |
| 3721 |
(findNextMatch): use contextStack |
| 3722 |
(NarrowingSequenceSearch): initialize contextStack |
| 3723 |
(findNextInterestingState): start backtracking if current depth reached. |
| 3724 |
|
| 3725 |
* narrowingSequenceSearch.hh (class NarrowingSequenceSearch): |
| 3726 |
added data member contextStack |
| 3727 |
|
| 3728 |
2007-10-29 Steven Eker <[email protected]> |
| 3729 |
|
| 3730 |
* narrowingSequenceSearch.hh: created |
| 3731 |
|
| 3732 |
* narrowingSequenceSearch.cc: created |
| 3733 |
|
| 3734 |
* rewriteSequenceSearch.hh: #define _rewriteSequenceSearchState_hh_ |
| 3735 |
becomes _rewriteSequenceSearch_hh_ |
| 3736 |
|
| 3737 |
2007-10-24 Steven Eker <[email protected]> |
| 3738 |
|
| 3739 |
* positionState.hh (class PositionState): added decl for |
| 3740 |
rebuildAndInstantiateDag() |
| 3741 |
|
| 3742 |
* positionState.cc (rebuildAndInstantiateDag): added |
| 3743 |
|
| 3744 |
2007-10-19 Steven Eker <[email protected]> |
| 3745 |
|
| 3746 |
* narrowingSearchState.cc (findNextNarrowing): pass extension info |
| 3747 |
to NarrowingUnificationProblem() |
| 3748 |
|
| 3749 |
2007-10-17 Steven Eker <[email protected]> |
| 3750 |
|
| 3751 |
* higher.hh: added classes NarrowingUnificationProblem and |
| 3752 |
NarrowingSearchState |
| 3753 |
|
| 3754 |
* narrowingSearchState.cc (getSubstitution): added |
| 3755 |
(findNextNarrowing): implemented |
| 3756 |
|
| 3757 |
* narrowingSearchState.hh (class NarrowingSearchState): added data |
| 3758 |
member unificationProblem; added decl for getSubstitution() |
| 3759 |
|
| 3760 |
2007-10-16 Steven Eker <[email protected]> |
| 3761 |
|
| 3762 |
* narrowingSearchState.hh (class NarrowingSearchState): added data |
| 3763 |
member variableInfo |
| 3764 |
|
| 3765 |
* narrowingSearchState.cc: created |
| 3766 |
(NarrowingSearchState): use variableInfo |
| 3767 |
|
| 3768 |
* narrowingSearchState.hh: created |
| 3769 |
|
| 3770 |
* narrowingUnificationProblem.cc: created |
| 3771 |
|
| 3772 |
* narrowingUnificationProblem.hh: created |
| 3773 |
|
| 3774 |
2007-10-11 Steven Eker <[email protected]> |
| 3775 |
|
| 3776 |
* unificationProblem.cc (UnificationProblem): use data member variableInfo |
| 3777 |
(findNextUnifier): use variableInfo |
| 3778 |
(findOrderSortedUnifiers): use variableInfo |
| 3779 |
(extractUnifier): use variableInfo |
| 3780 |
|
| 3781 |
* unificationProblem.hh (class UnificationProblem): added many |
| 3782 |
commments |
| 3783 |
(getVariableInfo): added |
| 3784 |
(class UnificationProblem): made VariableInfo base class private |
| 3785 |
(class UnificationProblem): made VariableInfo a data member rather |
| 3786 |
than a base class |
| 3787 |
|
| 3788 |
===================================Maude89h=========================================== |
| 3789 |
|
| 3790 |
2007-08-24 Steven Eker <[email protected]> |
| 3791 |
|
| 3792 |
* unificationProblem.cc (~UnificationProblem): varsOK -> |
| 3793 |
problemOkay |
| 3794 |
(UnificationProblem): varsOK -> problemOkay |
| 3795 |
(UnificationProblem): check for unimplemented theories |
| 3796 |
|
| 3797 |
* unificationProblem.hh (variablesOK): becomes problemOK |
| 3798 |
(class UnificationProblem): varsOK becomes problemOkay |
| 3799 |
|
| 3800 |
2007-08-06 Steven Eker <[email protected]> |
| 3801 |
|
| 3802 |
* unificationProblem.cc (UnificationProblem): fix bug where we |
| 3803 |
were failing but leaving old subproblem ptr around for a double |
| 3804 |
deletion |
| 3805 |
|
| 3806 |
===================================Maude89e=========================================== |
| 3807 |
|
| 3808 |
2007-07-23 Steven Eker <[email protected]> |
| 3809 |
|
| 3810 |
* unificationProblem.cc (findOrderSortedUnifiers): fix bug where |
| 3811 |
we were not telling the BDD package about the BDD variables we |
| 3812 |
allocate to represent the sorts of real variables |
| 3813 |
|
| 3814 |
===================================Maude89d=========================================== |
| 3815 |
|
| 3816 |
2007-07-09 Steven Eker <[email protected]> |
| 3817 |
|
| 3818 |
* unificationProblem.cc (UnificationProblem): fix bug where we |
| 3819 |
we're initializing subproblem in the case that we returned early |
| 3820 |
|
| 3821 |
2007-07-06 Steven Eker <[email protected]> |
| 3822 |
|
| 3823 |
* unificationProblem.cc (UnificationProblem): pass extensionInfo |
| 3824 |
|
| 3825 |
2007-06-28 Steven Eker <[email protected]> |
| 3826 |
|
| 3827 |
* unificationProblem.cc (~UnificationProblem): delete |
| 3828 |
extensionInfo |
| 3829 |
|
| 3830 |
2007-06-27 Steven Eker <[email protected]> |
| 3831 |
|
| 3832 |
* unificationProblem.hh (class UnificationProblem): added decl for |
| 3833 |
makeContext() |
| 3834 |
(class UnificationProblem): added data member extensionInfo |
| 3835 |
(getLeftHandSides): added |
| 3836 |
(getExtensionInfo): added |
| 3837 |
|
| 3838 |
* unificationProblem.cc (UnificationProblem): added withExtension |
| 3839 |
arg (but not implementation yet) |
| 3840 |
(makeContext): added |
| 3841 |
|
| 3842 |
* unificationProblem.hh (class UnificationProblem): added |
| 3843 |
withExtension arg to ctor |
| 3844 |
|
| 3845 |
2007-06-19 Steven Eker <[email protected]> |
| 3846 |
|
| 3847 |
* unificationProblem.hh (class UnificationProblem): updated decl |
| 3848 |
for ctor |
| 3849 |
(class UnificationProblem): added data members leftHandDags, |
| 3850 |
rightHandDags, leftHandSides, rightHandSides; deleted data members |
| 3851 |
lhs, rhs, lhsDag, rhsDag |
| 3852 |
|
| 3853 |
* unificationProblem.cc (~UnificationProblem): fix memory leak |
| 3854 |
where we weren't deleting terms if variables weren't ok |
| 3855 |
(UnificationProblem): rewritten to do simultaneous unification |
| 3856 |
(~UnificationProblem): destruct vectors of terms |
| 3857 |
(markReachableNodes): mark vectors of dags |
| 3858 |
|
| 3859 |
2007-06-14 Steven Eker <[email protected]> |
| 3860 |
|
| 3861 |
* unificationProblem.hh (variablesOK): added |
| 3862 |
(class UnificationProblem): added data member varsOK |
| 3863 |
|
| 3864 |
* unificationProblem.cc (UnificationProblem): check variable names |
| 3865 |
for safety |
| 3866 |
(UnificationProblem): don't delete uninitialized pointers if |
| 3867 |
variables names are not OK |
| 3868 |
|
| 3869 |
2007-06-11 Steven Eker <[email protected]> |
| 3870 |
|
| 3871 |
* unificationProblem.cc (UnificationProblem): removed |
| 3872 |
lastVariableIndex argument |
| 3873 |
(findOrderSortedUnifiers): don't use lastVariableIndex |
| 3874 |
|
| 3875 |
* unificationProblem.hh (class UnificationProblem): updated ctor decl |
| 3876 |
(class UnificationProblem): removed lastVariableIndex data member |
| 3877 |
|
| 3878 |
2007-06-08 Steven Eker <[email protected]> |
| 3879 |
|
| 3880 |
* unificationProblem.cc (UnificationProblem): handle |
| 3881 |
lastVariableIndex arg |
| 3882 |
(findOrderSortedUnifiers): use lastVariableIndex |
| 3883 |
|
| 3884 |
===================================Maude89c=========================================== |
| 3885 |
|
| 3886 |
2007-04-19 Steven Eker <[email protected]> |
| 3887 |
|
| 3888 |
* unificationProblem.cc (UnificationProblem): fix bug where |
| 3889 |
subproblem was not being initialized in failure case with |
| 3890 |
resulting memory corruption in dtor |
| 3891 |
|
| 3892 |
===================================Maude89b=========================================== |
| 3893 |
|
| 3894 |
2007-03-16 Steven Eker <[email protected]> |
| 3895 |
|
| 3896 |
* unificationProblem.cc (UnificationProblem): removed support for |
| 3897 |
Robinson style unification |
| 3898 |
(findNextUnifier): removed support for Robinson style unification |
| 3899 |
|
| 3900 |
2007-03-15 Steven Eker <[email protected]> |
| 3901 |
|
| 3902 |
* unificationProblem.cc (UnificationProblem): need to delete |
| 3903 |
subproblem |
| 3904 |
|
| 3905 |
===================================Maude89a=========================================== |
| 3906 |
|
| 3907 |
2007-03-14 Steven Eker <[email protected]> |
| 3908 |
|
| 3909 |
* unificationProblem.cc (UnificationProblem): don't call |
| 3910 |
Substitution::notify(); make sortedSolution a specific size |
| 3911 |
(findOrderSortedUnifiers): use actual variables rather than |
| 3912 |
original variables to determine the number of free variables |
| 3913 |
(extractUnifier): nrRealVariables -> nrOriginalVariables |
| 3914 |
(findOrderSortedUnifiers): use acutal variables rather than |
| 3915 |
original variables when binding free variables to fresh variables |
| 3916 |
(findOrderSortedUnifiers): use getFreshVariableSort() to get the |
| 3917 |
sort of fresh variables so we know how many BDD variables to |
| 3918 |
allocate them |
| 3919 |
(findOrderSortedUnifiers): same fix in two other places |
| 3920 |
(UnificationProblem): don't use Substitution::clear() since we may |
| 3921 |
have a large subsitution than has been notified |
| 3922 |
(markReachableNodes): split marking of sortedSolution and |
| 3923 |
unsortedSolution for safety |
| 3924 |
(UnificationProblem): zero sortedSolution to prevent barfing on GC |
| 3925 |
|
| 3926 |
2007-03-13 Steven Eker <[email protected]> |
| 3927 |
|
| 3928 |
* unificationProblem.cc (findNextUnifier): don't call |
| 3929 |
FreshVariableGenerator::reset() |
| 3930 |
(findOrderSortedUnifiers): new FreshVariableGenerator semantics |
| 3931 |
|
| 3932 |
2007-03-09 Steven Eker <[email protected]> |
| 3933 |
|
| 3934 |
* unificationProblem.hh (class UnificationProblem): |
| 3935 |
unsortedSolution becomes a UnificationContext* |
| 3936 |
|
| 3937 |
* unificationProblem.cc (findNextUnifier): use unificationSolve() |
| 3938 |
(UnificationProblem): use UnificationContext |
| 3939 |
(markReachableNodes): mark lhsDag and unsortedSolution |
| 3940 |
|
| 3941 |
2007-02-28 Steven Eker <[email protected]> |
| 3942 |
|
| 3943 |
* unificationProblem.cc (extractUnifier): need to bind unsortedSolution |
| 3944 |
|
| 3945 |
* unificationProblem.hh (class UnificationProblem): decl for |
| 3946 |
extractUnifier() replaces decl for orderVariables() |
| 3947 |
|
| 3948 |
* unificationProblem.cc (orderVariables): becomes extractUnifier() |
| 3949 |
(findNextUnifier, UnificationProblem): support solved form |
| 3950 |
|
| 3951 |
2007-02-27 Steven Eker <[email protected]> |
| 3952 |
|
| 3953 |
* unificationProblem.cc (findNextUnifier): fix bug in that we are |
| 3954 |
not looking for another unsorted solution if our current unsorted |
| 3955 |
solution fails to have at least on sorted solution |
| 3956 |
|
| 3957 |
* unificationProblem.hh (class UnificationProblem): added data |
| 3958 |
members order, done and pending |
| 3959 |
(class UnificationProblem): added decls for orderVariables() and |
| 3960 |
explore() |
| 3961 |
|
| 3962 |
* unificationProblem.cc (orderVariables): added |
| 3963 |
(explore): added |
| 3964 |
|
| 3965 |
2007-02-26 Steven Eker <[email protected]> |
| 3966 |
|
| 3967 |
* unificationProblem.cc (UnificationProblem): added solved form |
| 3968 |
hack for experimentation |
| 3969 |
|
| 3970 |
===================================Maude89=========================================== |
| 3971 |
|
| 3972 |
2007-02-13 Steven Eker <[email protected]> |
| 3973 |
|
| 3974 |
* unificationProblem.cc (findOrderSortedUnifiers): use |
| 3975 |
sortedSolution |
| 3976 |
(~UnificationProblem): delete sortedSolution |
| 3977 |
(markReachableNodes): use sortedSolution |
| 3978 |
(findNextUnifier): use sortedSolution |
| 3979 |
(UnificationProblem): call Substitution::notify() |
| 3980 |
|
| 3981 |
* unificationProblem.hh (class UnificationProblem): removed |
| 3982 |
Substitution as a base class |
| 3983 |
(class UnificationProblem): added data member sortedSolution |
| 3984 |
(getSolution): added |
| 3985 |
|
| 3986 |
2007-02-09 Steven Eker <[email protected]> |
| 3987 |
|
| 3988 |
* unificationProblem.cc (findNextUnifier): use reset() |
| 3989 |
|
| 3990 |
* unificationProblem.hh (class UnificationProblem): added reset |
| 3991 |
function to class FreshVariableGenerator |
| 3992 |
|
| 3993 |
* unificationProblem.cc (findOrderSortedUnifiers): only do the |
| 3994 |
instantiation step if we actually have free variables |
| 3995 |
|
| 3996 |
2007-02-08 Steven Eker <[email protected]> |
| 3997 |
|
| 3998 |
* unificationProblem.cc (findNextUnifier): second call to solve() |
| 3999 |
needs to have false flag |
| 4000 |
(findOrderSortedUnifiers): clear free variables from previous |
| 4001 |
unsorted unifier |
| 4002 |
|
| 4003 |
2007-02-07 Steven Eker <[email protected]> |
| 4004 |
|
| 4005 |
* unificationProblem.cc (markReachableNodes): no need to mark |
| 4006 |
unsortedSolution now that it is a RewritingContext |
| 4007 |
|
| 4008 |
* unificationProblem.hh (class UnificationProblem): added data |
| 4009 |
member unsortedSolution |
| 4010 |
|
| 4011 |
* unificationProblem.cc (findOrderSortedUnifiers): clone |
| 4012 |
unsortedSolution |
| 4013 |
(findNextUnifier): handle looking for solutions to subproblems |
| 4014 |
(markReachableNodes): mark unsortedSolution |
| 4015 |
(UnificationProblem): build solution in unsortedSolution; don't |
| 4016 |
call findOrderSortedUnifiers() |
| 4017 |
|
| 4018 |
2007-01-30 Steven Eker <[email protected]> |
| 4019 |
|
| 4020 |
* unificationProblem.cc (UnificationProblem): use |
| 4021 |
computeBaseSortForGroundSubterms() |
| 4022 |
(findOrderSortedUnifiers): use DagNode version of |
| 4023 |
computeGeneralizedSort() |
| 4024 |
|
| 4025 |
===================================Maude88e=========================================== |
| 4026 |
|
| 4027 |
2007-01-17 Steven Eker <[email protected]> |
| 4028 |
|
| 4029 |
* unificationProblem.cc (~UnificationProblem): delete |
| 4030 |
freshVariableGenerator |
| 4031 |
(findOrderSortedUnifiers, findNextUnifier): use |
| 4032 |
freshVariableGenerator as a ptr rather than as a ref |
| 4033 |
(UnificationProblem): take freshVariableGenerator as a ptr rather |
| 4034 |
than as a ref |
| 4035 |
|
| 4036 |
* unificationProblem.hh (class UnificationProblem): added virtual |
| 4037 |
dtor to FreshVariableGenerator; freshVariableGenerator now passed |
| 4038 |
as a ptr |
| 4039 |
(class UnificationProblem): freshVariableGenerator data member now |
| 4040 |
a ptr |
| 4041 |
|
| 4042 |
* higher.hh: added class UnificationProblem |
| 4043 |
|
| 4044 |
* unificationProblem.cc: moved here |
| 4045 |
|
| 4046 |
* unificationProblem.hh: moved here |
| 4047 |
|
| 4048 |
===================================Maude88d=========================================== |
| 4049 |
|
| 4050 |
2006-11-14 Steven Eker <[email protected]> |
| 4051 |
|
| 4052 |
* rewriteSequenceSearch.cc (findNextInterestingState): rewritten |
| 4053 |
to use new flags and to allow cycles to the initial state in the |
| 4054 |
=>1 and =>+ cases |
| 4055 |
|
| 4056 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): deleted |
| 4057 |
data member searchType; added data members reachingInitialStateOK |
| 4058 |
and normalFormNeeded |
| 4059 |
|
| 4060 |
* rewriteSequenceSearch.cc (RewriteSequenceSearch): don't save |
| 4061 |
searchType; initialize reachingInitialStateOK and normalFormNeeded |
| 4062 |
|
| 4063 |
===================================Maude88c=========================================== |
| 4064 |
|
| 4065 |
2006-11-09 Steven Eker <[email protected]> |
| 4066 |
|
| 4067 |
* equalityConditionFragment.cc (solve): comment out state variable |
| 4068 |
|
| 4069 |
* sortTestConditionFragment.cc (solve): comment out state variable |
| 4070 |
|
| 4071 |
2006-11-06 Steven Eker <[email protected]> |
| 4072 |
|
| 4073 |
* assignmentConditionFragment.cc (makeRhsInstance): take |
| 4074 |
Substitution& rather than RewritingContext& |
| 4075 |
|
| 4076 |
* assignmentConditionFragment.hh (class |
| 4077 |
AssignmentConditionFragment): updated decl for makeRhsInstance() |
| 4078 |
|
| 4079 |
* rewriteConditionFragment.hh (class RewriteConditionFragment): |
| 4080 |
updated decl for makeLhsInstance() |
| 4081 |
|
| 4082 |
* rewriteConditionFragment.cc (makeLhsInstance): take |
| 4083 |
Substitution& rather than RewritingContext& |
| 4084 |
|
| 4085 |
2006-10-30 Steven Eker <[email protected]> |
| 4086 |
|
| 4087 |
* rewriteConditionFragment.cc (makeLhsInstance): added |
| 4088 |
(matchRoot): added |
| 4089 |
|
| 4090 |
* rewriteConditionFragment.hh (class RewriteConditionFragment): |
| 4091 |
added decls for makeLhsInstance() and matchRoot() |
| 4092 |
|
| 4093 |
2006-10-26 Steven Eker <[email protected]> |
| 4094 |
|
| 4095 |
* stateTransitionGraph3.cc (getNextState): fix trace bug using new |
| 4096 |
rebuildDag() semantics |
| 4097 |
|
| 4098 |
* positionState.cc (rebuildDag): now return DagPair |
| 4099 |
|
| 4100 |
* positionState.hh (class PositionState): added typedef DagPair; |
| 4101 |
both rebuildDag() functions now return DagPair |
| 4102 |
|
| 4103 |
2006-10-25 Steven Eker <[email protected]> |
| 4104 |
|
| 4105 |
* positionState.hh (getDagNode): added PositionIndex version |
| 4106 |
|
| 4107 |
2006-10-23 Steven Eker <[email protected]> |
| 4108 |
|
| 4109 |
* assignmentConditionFragment.cc (makeRhsInstance, matchRoot): |
| 4110 |
moved here |
| 4111 |
|
| 4112 |
2006-10-20 Steven Eker <[email protected]> |
| 4113 |
|
| 4114 |
* assignmentConditionFragment.hh (matchRoot): added |
| 4115 |
(makeRhsInstance): added |
| 4116 |
|
| 4117 |
2006-10-18 Steven Eker <[email protected]> |
| 4118 |
|
| 4119 |
* equalityConditionFragment.cc (dump): added |
| 4120 |
|
| 4121 |
* equalityConditionFragment.hh (class EqualityConditionFragment): |
| 4122 |
added decl for dump() |
| 4123 |
|
| 4124 |
===================================Maude88b=========================================== |
| 4125 |
|
| 4126 |
2006-10-05 Steven Eker <[email protected]> |
| 4127 |
|
| 4128 |
* searchState.cc (findFirstSolution): check that pattern and |
| 4129 |
subject are in the same component |
| 4130 |
|
| 4131 |
2006-09-29 Steven Eker <[email protected]> |
| 4132 |
|
| 4133 |
* positionState.hh (rebuildDag): added simplified version |
| 4134 |
(getPositionIndex): added |
| 4135 |
(class PositionState): added typedef for PositionIndex |
| 4136 |
|
| 4137 |
* positionState.cc (rebuildDag): rewritten to take external |
| 4138 |
extension info and position index |
| 4139 |
|
| 4140 |
2006-09-25 Steven Eker <[email protected]> |
| 4141 |
|
| 4142 |
* searchState.cc (hasCondition): added |
| 4143 |
(findNextSolution): use local version of hasCondition() |
| 4144 |
(findFirstSolution): use local version of hasCondition() |
| 4145 |
(hasCondition): use getFlags() |
| 4146 |
|
| 4147 |
* searchState.hh (class SearchState): added decl for |
| 4148 |
hasCondition() |
| 4149 |
|
| 4150 |
* rewriteSearchState.hh (class RewriteSearchState): renumbered |
| 4151 |
ALLOW_NONEXEC in enum Flags |
| 4152 |
|
| 4153 |
* matchSearchState.hh (class MatchSearchState): renumbered |
| 4154 |
GC_PATTERN in enum Flags |
| 4155 |
|
| 4156 |
* searchState.hh (class SearchState): added IGNORE_CONDITION to |
| 4157 |
enum Flags |
| 4158 |
|
| 4159 |
2006-09-14 Steven Eker <[email protected]> |
| 4160 |
|
| 4161 |
* positionState.hh (class PositionState): added explanation of |
| 4162 |
maxDepth edge cases |
| 4163 |
|
| 4164 |
===================================Maude88a=========================================== |
| 4165 |
|
| 4166 |
2006-04-05 Steven Eker <[email protected]> |
| 4167 |
|
| 4168 |
* rewriteSearchState.hh (class RewriteSearchState): add default |
| 4169 |
label arg for ctor |
| 4170 |
|
| 4171 |
* rewriteSequenceSearch.cc: fix comment |
| 4172 |
|
| 4173 |
===================================Maude87a=========================================== |
| 4174 |
|
| 4175 |
2003-11-06 Steven Eker <[email protected]> |
| 4176 |
|
| 4177 |
* satSolverSymbol.cc (attachData): use NULL_DATA() |
| 4178 |
(getDataAttachments): added |
| 4179 |
(getSymbolAttachments): added |
| 4180 |
(getTermAttachments): added |
| 4181 |
|
| 4182 |
* satSolverSymbol.hh (class SatSolverSymbol): added decls for |
| 4183 |
getDataAttachments(), getSymbolAttachments(), getTermAttachments() |
| 4184 |
|
| 4185 |
* modelCheckerSymbol.cc (attachData): use NULL_DATA() |
| 4186 |
(getDataAttachments): added |
| 4187 |
(getSymbolAttachments): added |
| 4188 |
(getTermAttachments): added |
| 4189 |
|
| 4190 |
* modelCheckerSymbol.hh (class ModelCheckerSymbol): added decls |
| 4191 |
for getDataAttachments(), getSymbolAttachments(), |
| 4192 |
getTermAttachments() |
| 4193 |
|
| 4194 |
* temporalSymbol.cc (getSymbolAttachments): added |
| 4195 |
|
| 4196 |
* temporalSymbol.hh (class TemporalSymbol): added decl for |
| 4197 |
getSymbolAttachments() |
| 4198 |
|
| 4199 |
2003-07-14 Steven Eker <[email protected]> |
| 4200 |
|
| 4201 |
* temporalSymbol.cc (build): TRUE -> LTL_TRUE, FALSE -> LTL_FALSE |
| 4202 |
|
| 4203 |
===================================Maude81=========================================== |
| 4204 |
|
| 4205 |
2003-05-23 Steven Eker <[email protected]> |
| 4206 |
|
| 4207 |
* rewriteSearchState.cc (findNextRewrite): use isNonexec() |
| 4208 |
|
| 4209 |
* rewriteSearchState.hh (class RewriteSearchState): added enum |
| 4210 |
Flags containing ALLOW_NONEXEC |
| 4211 |
|
| 4212 |
2003-04-25 Steven Eker <[email protected]> |
| 4213 |
|
| 4214 |
* positionState.hh (getExtensionInfo): no longer const |
| 4215 |
|
| 4216 |
* positionState.cc (PositionState): init extensionInfoValid |
| 4217 |
(findNextPosition): don't call makeExtensionInfo() here; set |
| 4218 |
extensionInfoValid false if we're working with extension |
| 4219 |
|
| 4220 |
* positionState.hh (class PositionState): added data member |
| 4221 |
extensionInfoValid |
| 4222 |
(getExtensionInfo): call makeExtensionInfo() on demand |
| 4223 |
|
| 4224 |
===================================Maude80=========================================== |
| 4225 |
|
| 4226 |
2003-02-26 Steven Eker <[email protected]> |
| 4227 |
|
| 4228 |
* equalityConditionFragment.cc (preprocess): updated Assert() |
| 4229 |
|
| 4230 |
* assignmentConditionFragment.cc (preprocess): updated Assert() |
| 4231 |
|
| 4232 |
* rewriteSearchState.cc: removed #pragma |
| 4233 |
|
| 4234 |
* rewriteSearchState.hh: removed #pragma |
| 4235 |
|
| 4236 |
* temporalSymbol.cc: removed #pragma |
| 4237 |
|
| 4238 |
* temporalSymbol.hh: removed #pragma |
| 4239 |
|
| 4240 |
* stateTransitionGraph3.cc: removed #pragma |
| 4241 |
|
| 4242 |
* stateTransitionGraph3.hh: removed #pragma |
| 4243 |
|
| 4244 |
* sortTestConditionFragment.cc: removed #pragma |
| 4245 |
(preprocess): updated Assert() |
| 4246 |
|
| 4247 |
* sortTestConditionFragment.hh: removed #pragma |
| 4248 |
|
| 4249 |
* searchState.cc: removed #pragma |
| 4250 |
|
| 4251 |
* searchState.hh: removed #pragma |
| 4252 |
|
| 4253 |
* satSolverSymbol.cc: removed #pragma |
| 4254 |
(eqRewrite): updated Assert() |
| 4255 |
(makeFormula): updated Assert()s |
| 4256 |
|
| 4257 |
* satSolverSymbol.hh: removed #pragma |
| 4258 |
|
| 4259 |
* rewriteSequenceSearch.cc: removed #pragma |
| 4260 |
|
| 4261 |
* rewriteSequenceSearch.hh: removed #pragma |
| 4262 |
|
| 4263 |
* rewriteConditionState.cc: removed #pragma |
| 4264 |
|
| 4265 |
* rewriteConditionState.hh: removed #pragma |
| 4266 |
|
| 4267 |
* rewriteConditionFragment.cc: removed #pragma |
| 4268 |
(preprocess): updated Assert() |
| 4269 |
|
| 4270 |
* rewriteConditionFragment.hh: removed #pragma |
| 4271 |
|
| 4272 |
* positionState.cc: removed #pragma |
| 4273 |
|
| 4274 |
* positionState.hh: removed #pragma |
| 4275 |
(getDagNode): updated Assert() |
| 4276 |
(getExtensionInfo): updated Assert() |
| 4277 |
|
| 4278 |
* pattern.cc: removed #pragma |
| 4279 |
|
| 4280 |
* pattern.hh: removed #pragma |
| 4281 |
|
| 4282 |
* modelCheckerSymbol.cc: removed #pragma |
| 4283 |
(eqRewrite): updated Assert() |
| 4284 |
|
| 4285 |
* modelCheckerSymbol.hh: removed #pragma |
| 4286 |
|
| 4287 |
* matchSearchState.cc: removed #pragma |
| 4288 |
|
| 4289 |
* matchSearchState.hh: removed #pragma |
| 4290 |
|
| 4291 |
* equalityConditionFragment.cc: removed #pragma |
| 4292 |
|
| 4293 |
* equalityConditionFragment.hh: removed #pragma |
| 4294 |
|
| 4295 |
* assignmentConditionState.cc: removed #pragma |
| 4296 |
|
| 4297 |
* assignmentConditionState.hh: removed #pragma |
| 4298 |
|
| 4299 |
* assignmentConditionFragment.cc: removed #pragma |
| 4300 |
|
| 4301 |
* assignmentConditionFragment.hh: removed #pragma |
| 4302 |
|
| 4303 |
===================================Maude79=========================================== |
| 4304 |
|
| 4305 |
2003-02-20 Steven Eker <[email protected]> |
| 4306 |
|
| 4307 |
* modelCheckerSymbol.hh (class ModelCheckerSymbol): parentSymbol |
| 4308 |
-> satisfiesSymbol in struct SystemAutomaton; added data member |
| 4309 |
satisfiesSymbol |
| 4310 |
|
| 4311 |
* modelCheckerSymbol.cc (ModelCheckerSymbol): clear |
| 4312 |
satisfiesSymbol |
| 4313 |
(attachSymbol): handle satisfiesSymbol |
| 4314 |
(copyAttachments): handle satisfiesSymbol |
| 4315 |
(checkProposition): removed hacks that were needed because same |
| 4316 |
symbol was used for model checking and satisfaction |
| 4317 |
(checkProposition): use satisfiesSymbol |
| 4318 |
(eqRewrite): use satisfiesSymbol |
| 4319 |
|
| 4320 |
===================================Maude78===================================== |
| 4321 |
|
| 4322 |
2002-11-25 Steven Eker <[email protected]> |
| 4323 |
|
| 4324 |
* positionState.cc (PositionState): switch initializer order to |
| 4325 |
placate g++3.2 |
| 4326 |
|
| 4327 |
2002-11-15 Steven Eker <[email protected]> |
| 4328 |
|
| 4329 |
* modelCheckerSymbol.cc (eqRewrite): use new style IssueAdvisory() |
| 4330 |
|
| 4331 |
* satSolverSymbol.cc (eqRewrite): use new style IssueAdvisory() |
| 4332 |
|
| 4333 |
2002-10-03 Steven Eker <[email protected]> |
| 4334 |
|
| 4335 |
* positionState.cc (exploreNextPosition): pass respectFrozen arg |
| 4336 |
to stackArguments() |
| 4337 |
|
| 4338 |
===================================Maude76================================================== |
| 4339 |
|
| 4340 |
2002-08-23 Steven Eker <[email protected]> |
| 4341 |
|
| 4342 |
* sortTestConditionFragment.cc (compileBuild): call useIndex() on |
| 4343 |
lhsIndex; don't set nrIndicesToProtect |
| 4344 |
|
| 4345 |
* sortTestConditionFragment.hh (class SortTestConditionFragment): |
| 4346 |
deleted data member nrIndicesToProtect |
| 4347 |
|
| 4348 |
* rewriteConditionFragment.cc (compileBuild): call useIndex() on |
| 4349 |
lhsIndex; don't set nrIndicesToProtect |
| 4350 |
|
| 4351 |
* rewriteConditionFragment.hh (class RewriteConditionFragment): |
| 4352 |
deleted data member nrIndicesToProtect |
| 4353 |
|
| 4354 |
* equalityConditionFragment.cc (compileBuild): don't set |
| 4355 |
nrIndicesToProtect |
| 4356 |
|
| 4357 |
* equalityConditionFragment.hh (class EqualityConditionFragment): |
| 4358 |
deleted data member nrIndicesToProtect |
| 4359 |
|
| 4360 |
* assignmentConditionFragment.hh (class |
| 4361 |
AssignmentConditionFragment): deleted data member |
| 4362 |
nrIndicesToProtect |
| 4363 |
|
| 4364 |
* assignmentConditionFragment.cc (compileBuild): call useIndex() |
| 4365 |
on rhsIndex, since we are now changing who is responsible for |
| 4366 |
caling useIndex() |
| 4367 |
(compileBuild): don't set nrIndicesToProtect |
| 4368 |
|
| 4369 |
2002-08-21 Steven Eker <[email protected]> |
| 4370 |
|
| 4371 |
* equalityConditionFragment.cc (compileBuild): fixed nasty bug |
| 4372 |
introduced by the coloring of constrcution indices: we need to |
| 4373 |
call useIndex() to stop lhsIndex and rhsIndex from being shared |
| 4374 |
via index coloring |
| 4375 |
|
| 4376 |
===================================Maude75================================================== |
| 4377 |
|
| 4378 |
2002-06-12 Steven Eker <[email protected]> |
| 4379 |
|
| 4380 |
* pattern.cc (Pattern): pass NONE as PreEquation() label arg |
| 4381 |
(Pattern): withExtensionconst -> withExtension (dunno how |
| 4382 |
withExtensionconst ever came about!) |
| 4383 |
|
| 4384 |
2002-04-03 Steven Eker <[email protected]> |
| 4385 |
|
| 4386 |
* sortTestConditionFragment.cc (check): simplified normalize() |
| 4387 |
call |
| 4388 |
|
| 4389 |
* rewriteConditionFragment.cc (check): simplified normalize() |
| 4390 |
call (2 places) |
| 4391 |
|
| 4392 |
* equalityConditionFragment.cc (check): simplified normalize() |
| 4393 |
call (2 places) |
| 4394 |
|
| 4395 |
* assignmentConditionFragment.cc (check): simplified normalize() |
| 4396 |
call (2 places) |
| 4397 |
|
| 4398 |
* modelCheckerSymbol.cc (makeTransition): simplified now that |
| 4399 |
makeDagNode() takes a default argument |
| 4400 |
|
| 4401 |
===================================Maude71a================================================== |
| 4402 |
|
| 4403 |
2002-02-28 Steven Eker <[email protected]> |
| 4404 |
|
| 4405 |
* modelCheckerSymbol.cc (eqRewrite): use pluralize() in Verbose() |
| 4406 |
call |
| 4407 |
|
| 4408 |
* satSolverSymbol.cc (postInterSymbolPass): call |
| 4409 |
TemporalSymbol::postInterSymbolPass(); |
| 4410 |
(eqRewrite): fix mistake in advisory - we don't compute negation |
| 4411 |
here |
| 4412 |
(eqRewrite): added Verbose() |
| 4413 |
|
| 4414 |
* modelCheckerSymbol.cc (eqRewrite): findCounterExample() -> |
| 4415 |
findCounterexample() |
| 4416 |
|
| 4417 |
* modelCheckerSymbol.hh (class ModelCheckerSymbol): |
| 4418 |
makeCounterExample() -> makeCounterexample() |
| 4419 |
counterExampleSymbol -> counterexampleSymbol |
| 4420 |
|
| 4421 |
* higher.hh: ModelSymbol -> ModelCheckerSymbol |
| 4422 |
|
| 4423 |
* modelCheckerSymbol.cc: was modelSymbol.cc |
| 4424 |
|
| 4425 |
* modelSymbol.cc: ModelSymbol -> ModelCheckerSymbol |
| 4426 |
(ModelCheckerSymbol): counterExampleSymbol -> counterexampleSymbol |
| 4427 |
(attachSymbol): counterExampleSymbol -> counterexampleSymbol |
| 4428 |
(copyAttachments): counterExampleSymbol -> counterexampleSymbol |
| 4429 |
(makeCounterExample): counterExampleSymbol -> counterexampleSymbol |
| 4430 |
(attachSymbol): don't bind LTL symbols |
| 4431 |
(copyAttachments): don't copy LTL symbols |
| 4432 |
(checkProposition): FreeSymbol -> TemporalSymbol |
| 4433 |
(attachData): FreeSymbol -> TemporalSymbol |
| 4434 |
(attachSymbol): FreeSymbol -> TemporalSymbol |
| 4435 |
(attachTerm): FreeSymbol -> TemporalSymbol |
| 4436 |
(copyAttachments): FreeSymbol -> TemporalSymbol |
| 4437 |
(reset): FreeSymbol -> TemporalSymbol |
| 4438 |
(build): deleted |
| 4439 |
(ModelCheckerSymbol): don't initialize LTL symbols |
| 4440 |
(postInterSymbolPass): call TemporalSymbol::postInterSymbolPass() |
| 4441 |
(makeCounterExample): becomes makeCounterexample() |
| 4442 |
(eqRewrite): makeCounterExample() -> makeCounterexample() |
| 4443 |
(eqRewrite): use negate() |
| 4444 |
(eqRewrite): use safeCast() |
| 4445 |
|
| 4446 |
* modelCheckerSymbol.hh: ModelSymbol -> ModelCheckerSymbol |
| 4447 |
(class ModelCheckerSymbol): derive from TemporalSymbol rather than |
| 4448 |
FreeSymbol |
| 4449 |
(class ModelCheckerSymbol): removed all the LTL Symbo, data members |
| 4450 |
(class ModelCheckerSymbol): delete decl for build() |
| 4451 |
(class ModelCheckerSymbol): counterExampleSymbol -> |
| 4452 |
counterexampleSymbol |
| 4453 |
|
| 4454 |
2002-02-25 Steven Eker <[email protected]> |
| 4455 |
|
| 4456 |
* temporalSymbol.cc (conjunct): rewritten since andSymbol may not |
| 4457 |
be assoc and therefore we can only pass 2 args at a time to |
| 4458 |
makeDagNode() |
| 4459 |
|
| 4460 |
* satSolverSymbol.cc (makeFormula): added |
| 4461 |
(makeFormulaList): use makeFormula() |
| 4462 |
|
| 4463 |
* temporalSymbol.cc (conjunct): added |
| 4464 |
|
| 4465 |
* temporalSymbol.hh: added decl for conjunct() |
| 4466 |
|
| 4467 |
2002-02-22 Steven Eker <[email protected]> |
| 4468 |
|
| 4469 |
* higher.hh: added fwd decls for class TemporalSymbol and class |
| 4470 |
SatSolverSymbol |
| 4471 |
|
| 4472 |
* satSolverSymbol.cc: created |
| 4473 |
|
| 4474 |
* temporalSymbol.cc: created |
| 4475 |
|
| 4476 |
* temporalSymbol.hh: created |
| 4477 |
|
| 4478 |
* satSolverSymbol.hh: created |
| 4479 |
|
| 4480 |
2002-02-11 Steven Eker <[email protected]> |
| 4481 |
|
| 4482 |
* rewriteConditionState.cc (solve): use transferCount() for |
| 4483 |
StateTransitionGraph3 |
| 4484 |
|
| 4485 |
* stateTransitionGraph3.hh (transferCount): added |
| 4486 |
|
| 4487 |
* rewriteSequenceSearch.cc (findNextMatch): use transferCount() in |
| 4488 |
place of addInCount() for MatchSearchState |
| 4489 |
|
| 4490 |
* stateTransitionGraph3.cc (getNextState): use transferCount() in |
| 4491 |
place of addInCount() for RewriteSearchState |
| 4492 |
|
| 4493 |
* rewriteSearchState.cc (findNextRewrite): don't call clearCount() |
| 4494 |
|
| 4495 |
* matchSearchState.cc (findNextMatch): don't call clearCount() |
| 4496 |
|
| 4497 |
* searchState.hh (transferCount): added |
| 4498 |
|
| 4499 |
2002-02-08 Steven Eker <[email protected]> |
| 4500 |
|
| 4501 |
* rewriteConditionState.hh (class RewriteConditionState): updated |
| 4502 |
data members |
| 4503 |
|
| 4504 |
* rewriteConditionState.cc (findNextState): simplified |
| 4505 |
(RewriteConditionState): new initialization |
| 4506 |
|
| 4507 |
2002-02-07 Steven Eker <[email protected]> |
| 4508 |
|
| 4509 |
* higher.hh: added forward decls for new classes |
| 4510 |
|
| 4511 |
* rewriteConditionState.cc: created |
| 4512 |
|
| 4513 |
* rewriteConditionState.hh: created |
| 4514 |
|
| 4515 |
* rewriteConditionFragment.cc (solve): replaced stub with |
| 4516 |
implementation |
| 4517 |
|
| 4518 |
* assignmentConditionFragment.cc (solve): use |
| 4519 |
AssignmentConditionState |
| 4520 |
|
| 4521 |
* assignmentConditionState.cc: created |
| 4522 |
|
| 4523 |
* assignmentConditionState.hh: created |
| 4524 |
|
| 4525 |
* rewriteConditionFragment.hh: created |
| 4526 |
|
| 4527 |
* rewriteConditionFragment.cc: created |
| 4528 |
|
| 4529 |
2002-02-06 Steven Eker <[email protected]> |
| 4530 |
|
| 4531 |
* assignmentConditionFragment.hh: created |
| 4532 |
|
| 4533 |
* assignmentConditionFragment.cc: created |
| 4534 |
|
| 4535 |
* sortTestConditionFragment.hh: created |
| 4536 |
|
| 4537 |
* sortTestConditionFragment.cc: created |
| 4538 |
|
| 4539 |
* equalityConditionFragment.hh: created |
| 4540 |
|
| 4541 |
* equalityConditionFragment.cc: created |
| 4542 |
|
| 4543 |
2002-02-05 Steven Eker <[email protected]> |
| 4544 |
|
| 4545 |
* modelSymbol.cc (ModelSymbol): deleted strategy argument passed |
| 4546 |
to FreeSymbol() |
| 4547 |
|
| 4548 |
* modelSymbol.hh (class ModelSymbol): deleted static data member |
| 4549 |
eagerStrategy |
| 4550 |
|
| 4551 |
===================================Maude70================================================== |
| 4552 |
|
| 4553 |
2002-01-25 Steven Eker <[email protected]> |
| 4554 |
|
| 4555 |
* modelSymbol.cc (eqRewrite): fixed a nasty bug where we were |
| 4556 |
deleting newContext to early; this left proposition dags that may |
| 4557 |
have been copied by a collapse equation unprotected from the |
| 4558 |
garbage collector and caused havoc when testing propositions; |
| 4559 |
the bug must have been introduced by code cleaning since Alpha68 |
| 4560 |
|
| 4561 |
2002-01-24 Steven Eker <[email protected]> |
| 4562 |
|
| 4563 |
* modelSymbol.cc (eqRewrite): Added Verbose() call to print number |
| 4564 |
of system states examined |
| 4565 |
|
| 4566 |
2002-01-22 Steven Eker <[email protected]> |
| 4567 |
|
| 4568 |
* rewriteSequenceSearch.cc (findNextInterestingState): yet another |
| 4569 |
rewrite: we now avoid examining more than one arc from each |
| 4570 |
maximum depth state if we are looking for normal forms - the |
| 4571 |
existence of a single state means we don't have a normal form and |
| 4572 |
since we are at max depth we will not explore children |
| 4573 |
(RewriteSequenceSearch): handle ONE_STEP by setting maxDepth = 1 |
| 4574 |
|
| 4575 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): |
| 4576 |
nextIndex -> nextArc |
| 4577 |
|
| 4578 |
* rewriteSequenceSearch.cc (findNextInterestingState): rewritten |
| 4579 |
to return exactly those states we should try matching against; |
| 4580 |
nextIndex -> nextArc throughout |
| 4581 |
|
| 4582 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): added |
| 4583 |
data member needToTryInitialState |
| 4584 |
|
| 4585 |
* rewriteSequenceSearch.cc (RewriteSequenceSearch): added maxDepth |
| 4586 |
arg, init maxDepth, exploreDepth, firstDeeperNodeNr |
| 4587 |
(findNextMatch): rewritten, assuming smarter findNextInterestingState() |
| 4588 |
|
| 4589 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): added |
| 4590 |
data members maxDepth, exploreDepth, firstDeeperNodeNr; add |
| 4591 |
maxDepth arg to ctor decl |
| 4592 |
|
| 4593 |
2002-01-21 Steven Eker <[email protected]> |
| 4594 |
|
| 4595 |
* rewriteSequenceSearch.cc (findNextMatch): add rewrites from |
| 4596 |
matchState to initial rewriting context |
| 4597 |
(findNextInterestingState): check for traceAbort() when we fail to |
| 4598 |
find a next arc from current explore state |
| 4599 |
|
| 4600 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): updated decls |
| 4601 |
|
| 4602 |
* rewriteSequenceSearch.cc (findNextInterestingState): added |
| 4603 |
(findNextMatch): rewritten using findNextInterestingState() |
| 4604 |
(findNextMatch): don't use startMatch() |
| 4605 |
(startMatch): deleted |
| 4606 |
(RewriteSequenceSearch): don't use startMatch() |
| 4607 |
|
| 4608 |
2002-01-18 Steven Eker <[email protected]> |
| 4609 |
|
| 4610 |
* rewriteSequenceSearch.cc: complete rewrite based on StateTransitionGraph3 |
| 4611 |
|
| 4612 |
* rewriteSequenceSearch.hh: complete rewrite based on StateTransitionGraph3 |
| 4613 |
|
| 4614 |
* stateTransitionGraph3.hh (getContext): added |
| 4615 |
(getStateParent): added |
| 4616 |
|
| 4617 |
* modelSymbol.cc (eqRewrite): check for bad LTL formula |
| 4618 |
|
| 4619 |
* stateTransitionGraph3.hh (getStateFwdArcs): added |
| 4620 |
|
| 4621 |
* modelSymbol.cc (makeCounterExample): pass last target to |
| 4622 |
makeTransitionList() |
| 4623 |
(makeTransitionList): pass target to makeTransition() |
| 4624 |
(makeTransition): include label in transition |
| 4625 |
(build): check that formula under LogicFormula::NOT is a proposition |
| 4626 |
|
| 4627 |
2002-01-17 Steven Eker <[email protected]> |
| 4628 |
|
| 4629 |
* modelSymbol.cc (makeCounterExample): use makeTransitionList() |
| 4630 |
|
| 4631 |
* modelSymbol.hh (class ModelSymbol): updated decls; changed data |
| 4632 |
members to symbols need for new style counter-examples |
| 4633 |
|
| 4634 |
* modelSymbol.cc (ModelSymbol): handle symbols for new style |
| 4635 |
counter-examples |
| 4636 |
(attachSymbol): handle symbols for new style counter-examples |
| 4637 |
(copyAttachments): handle symbols for new style counter-examples |
| 4638 |
(makeStateList): becomes makeTransitionList() |
| 4639 |
(makeTransitionList): added |
| 4640 |
|
| 4641 |
2002-01-16 Steven Eker <[email protected]> |
| 4642 |
|
| 4643 |
* modelSymbol.cc: use StateTransitionGraph3 throughout |
| 4644 |
|
| 4645 |
* modelSymbol.hh (class ModelSymbol): use StateTransitionGraph3 |
| 4646 |
|
| 4647 |
* stateTransitionGraph3.cc: created |
| 4648 |
|
| 4649 |
* stateTransitionGraph3.hh: created |
| 4650 |
|
| 4651 |
2001-12-21 Steven Eker <[email protected]> |
| 4652 |
|
| 4653 |
* modelSymbol.hh (class ModelSymbol): use StateTransitionGraph2 |
| 4654 |
|
| 4655 |
* stateTransitionGraph2.hh: created |
| 4656 |
|
| 4657 |
* stateTransitionGraph2.cc: created |
| 4658 |
|
| 4659 |
2001-12-19 Steven Eker <[email protected]> |
| 4660 |
|
| 4661 |
* positionState.hh (class PositionState): use NO_COPYING() macro |
| 4662 |
|
| 4663 |
* searchState.hh (class SearchState): updated decl for initSubstitution() |
| 4664 |
|
| 4665 |
* searchState.cc (initSubstitution): made arg const VariableInfo& |
| 4666 |
|
| 4667 |
* searchState.hh (class SearchState): updated decl for |
| 4668 |
findFirstSolution(), made data member preEquation, const PreEquation* |
| 4669 |
|
| 4670 |
* searchState.cc (findFirstSolution): make first arg const PreEquation* |
| 4671 |
|
| 4672 |
2001-12-12 Steven Eker <[email protected]> |
| 4673 |
|
| 4674 |
* modelChecker.cc: deleted |
| 4675 |
|
| 4676 |
* modelChecker.hh: deleted |
| 4677 |
|
| 4678 |
* modelSymbol.cc: cleaned up includes |
| 4679 |
|
| 4680 |
* modelSymbol.hh: cleaned up includes; delete class LogicFormula |
| 4681 |
hack |
| 4682 |
|
| 4683 |
===================================Maude69================================================== |
| 4684 |
|
| 4685 |
2001-12-06 Steven Eker <[email protected]> |
| 4686 |
|
| 4687 |
* stateTransitionGraph.cc (getNextState): use addInCount() and |
| 4688 |
clearCount() to move rewrites counts from reducing new states to |
| 4689 |
initil rewriting context |
| 4690 |
|
| 4691 |
* modelSymbol.cc (check): commented out |
| 4692 |
(checkProposition): add in test rewrite count to parent rewrite count |
| 4693 |
|
| 4694 |
2001-12-05 Steven Eker <[email protected]> |
| 4695 |
|
| 4696 |
* modelSymbol.hh (class ModelSymbol): added data members |
| 4697 |
stateListSymbol, nilStateListSymbol, counterExampleSymbol; added |
| 4698 |
decls for makeStateList() and makeCounterExample() |
| 4699 |
|
| 4700 |
* modelSymbol.cc (ModelSymbol): handle stateListSymbol, |
| 4701 |
nilStateListSymbol and counterExampleSymbol |
| 4702 |
(attachSymbol): handle stateListSymbol, nilStateListSymbol and |
| 4703 |
counterExampleSymbol |
| 4704 |
(copyAttachments): handle stateListSymbol, nilStateListSymbol and |
| 4705 |
counterExampleSymbol |
| 4706 |
(makeStateList): added |
| 4707 |
(makeCounterExample): added |
| 4708 |
(eqRewrite): use makeCounterExample() |
| 4709 |
|
| 4710 |
* modelSymbol.hh (class ModelSymbol): added decl for dump() |
| 4711 |
|
| 4712 |
* modelSymbol.cc (dump): added |
| 4713 |
(eqRewrite): use getLeadIn(), getCycle() |
| 4714 |
|
| 4715 |
2001-12-04 Steven Eker <[email protected]> |
| 4716 |
|
| 4717 |
* modelSymbol.cc (getNextState): added |
| 4718 |
(checkProposition): added |
| 4719 |
(eqRewrite): rewritten using ModelChecker2 |
| 4720 |
|
| 4721 |
* modelSymbol.hh (class ModelSymbol): added struct SystemAutomaton |
| 4722 |
|
| 4723 |
2001-12-03 Steven Eker <[email protected]> |
| 4724 |
|
| 4725 |
* modelChecker.cc (explorePropertyTransitions): use BuchiAutomaton2 |
| 4726 |
(explorePropertyTransitions): fixed nasty state ref bug to |
| 4727 |
intersectionStates - stale after call to |
| 4728 |
exploreSystemTransitions() beacuse intersectionStates vector may expand |
| 4729 |
|
| 4730 |
* modelChecker.hh (class ModelChecker): use BuchiAutomaton2 |
| 4731 |
|
| 4732 |
* modelChecker.cc (findCounterExample): deal with multiple initial states |
| 4733 |
|
| 4734 |
2001-11-27 Steven Eker <[email protected]> |
| 4735 |
|
| 4736 |
* modelSymbol.cc (eqRewrite): added hack to test BuchiAutomaton2 |
| 4737 |
|
| 4738 |
2001-11-14 Steven Eker <[email protected]> |
| 4739 |
|
| 4740 |
* modelSymbol.cc (eqRewrite): added hack to test GenBuchiAutomaton |
| 4741 |
class |
| 4742 |
|
| 4743 |
2001-11-02 Steven Eker <[email protected]> |
| 4744 |
|
| 4745 |
* modelSymbol.cc (eqRewrite): added hack to test |
| 4746 |
VeryWeakAlternatingAutomaton class |
| 4747 |
|
| 4748 |
2001-10-26 Steven Eker <[email protected]> |
| 4749 |
|
| 4750 |
* modelSymbol.cc (check): fixed nasty bug where we were not |
| 4751 |
deleting testContext; this is more than a memory leak since we |
| 4752 |
keep dag roots that point to dagNodes whose symbol pointers can |
| 4753 |
become stale when a module is deleted, leading to seg faults and |
| 4754 |
bus error in the mark pahse of garbage collection |
| 4755 |
(eqRewrite): fixed similar bug with newContext; note that |
| 4756 |
sysContext will be deleted by ModelChecker via |
| 4757 |
StateTransitionGraph |
| 4758 |
|
| 4759 |
2001-10-24 Steven Eker <[email protected]> |
| 4760 |
|
| 4761 |
* modelChecker.cc (findCounterExample): need to make |
| 4762 |
intersectionStates of length 1 before starting |
| 4763 |
(exploreSystemTransitions): need to increase size of |
| 4764 |
intersectionStates if we find a new state; |
| 4765 |
(exploreSystemTransitions): added code to fake a loop transition |
| 4766 |
if we arrive a a dealocked system state (no other transitions |
| 4767 |
available) |
| 4768 |
|
| 4769 |
* modelSymbol.cc (eqRewrite): use the ModelChecker class to do the |
| 4770 |
model check |
| 4771 |
(check): call index2DagNode() |
| 4772 |
|
| 4773 |
2001-10-23 Steven Eker <[email protected]> |
| 4774 |
|
| 4775 |
* modelSymbol.hh (class ModelSymbol): added decls for |
| 4776 |
attachTerm(), postInterSymbolPass() and reset(); added data |
| 4777 |
members trueTerm and falseTerm |
| 4778 |
|
| 4779 |
* modelSymbol.cc (postInterSymbolPass): added |
| 4780 |
(copyAttachments): copy trueTerm and falseTerm |
| 4781 |
(attachTerm): added |
| 4782 |
(reset): added |
| 4783 |
|
| 4784 |
* modelChecker.cc (explorePropertyTransitions): look for accepting |
| 4785 |
cycles; handle returning bool |
| 4786 |
(exploreSystemTransitions): handle returning bool |
| 4787 |
|
| 4788 |
2001-10-22 Steven Eker <[email protected]> |
| 4789 |
|
| 4790 |
* modelChecker.hh (class ModelChecker): added decls for |
| 4791 |
explorePropertyTransitions() and exploreSystemTransitions() |
| 4792 |
(class ModelChecker): added typedef StatePair and data member |
| 4793 |
searchStack |
| 4794 |
|
| 4795 |
* modelChecker.cc (explorePropertyTransitions): created |
| 4796 |
(exploreSystemTransitions): created |
| 4797 |
|
| 4798 |
2001-10-19 Steven Eker <[email protected]> |
| 4799 |
|
| 4800 |
* modelChecker.hh: rewritten |
| 4801 |
|
| 4802 |
* modelChecker.cc: created |
| 4803 |
|
| 4804 |
2001-09-28 Steven Eker <[email protected]> |
| 4805 |
|
| 4806 |
* modelSymbol.hh (class ModelSymbol): updated decl for build() |
| 4807 |
|
| 4808 |
* modelSymbol.cc (build): convert propositions to indices before |
| 4809 |
inserting them into LogicFormula |
| 4810 |
(eqRewrite): pass propositions set to build() |
| 4811 |
|
| 4812 |
===================================Maude68================================================== |
| 4813 |
|
| 4814 |
2001-08-09 Steven Eker <[email protected]> |
| 4815 |
|
| 4816 |
* rewriteSequenceSearch.cc (RewriteSequenceSearch): need to make a |
| 4817 |
new ArcMap for initial node of search graph |
| 4818 |
(findNextMatch): fixed bug where we were eclipsing data member |
| 4819 |
stateNr by a local variable and thus getting uninitialized memory |
| 4820 |
reads |
| 4821 |
|
| 4822 |
2001-08-08 Steven Eker <[email protected]> |
| 4823 |
|
| 4824 |
* rewriteSequenceSearch.cc (findNextMatch): rewritten |
| 4825 |
(~RewriteSequenceSearch): delete fwdArcs |
| 4826 |
|
| 4827 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): deleted |
| 4828 |
fwdRules field, made fwdArcs a map<int, set<Rule*> >* |
| 4829 |
(getStateFwdRules): deleted |
| 4830 |
|
| 4831 |
* rewriteSequenceSearch.cc (findNextMatch): keep track of forward |
| 4832 |
arcs and their rules |
| 4833 |
|
| 4834 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): added |
| 4835 |
fwdArcs and fwdRules fields to struct State |
| 4836 |
(getStateFwdArcs): added |
| 4837 |
(getStateFwdRules): added |
| 4838 |
|
| 4839 |
2001-06-22 Steven Eker <[email protected]> |
| 4840 |
|
| 4841 |
* buchiAutomaton.cc (dump): dump accepting sets |
| 4842 |
|
| 4843 |
* buchiAutomaton.hh (class BuchiAutomaton): added decls for |
| 4844 |
findUntilSubformulae(), findAcceptingStates(); deleted decls for |
| 4845 |
SI(), SI_Neg(), containsNegation() |
| 4846 |
|
| 4847 |
* buchiAutomaton.cc (contradiction): use structuallyContradicts() |
| 4848 |
instead if SI_Neg() |
| 4849 |
(redundant): added LTL2AUT optimization |
| 4850 |
(SI_Neg): deleted |
| 4851 |
(SI): deleted |
| 4852 |
(containsNegation): deleted |
| 4853 |
(findUntilSubformulae): added |
| 4854 |
(findAcceptingStates): added |
| 4855 |
(BuchiAutomaton): do accepting states calculation |
| 4856 |
|
| 4857 |
* logicFormula.cc (isNegation): rewritten |
| 4858 |
|
| 4859 |
2001-06-21 Steven Eker <[email protected]> |
| 4860 |
|
| 4861 |
* logicFormula.hh (class LogicFormula): added decls for |
| 4862 |
structuallyImplies(), structuallyContradicts(), containsNegation() |
| 4863 |
and isNegation() |
| 4864 |
|
| 4865 |
* logicFormula.cc (isNegation): added |
| 4866 |
(containsNegation): added |
| 4867 |
(structuallyContradicts): added |
| 4868 |
(structuallyImplies): added |
| 4869 |
|
| 4870 |
2001-06-20 Steven Eker <[email protected]> |
| 4871 |
|
| 4872 |
* buchiAutomaton.cc (contradiction): use SI_Neg() |
| 4873 |
(hasToBeStored): return false always |
| 4874 |
(SI_Neg): fixed bug in TRUE case |
| 4875 |
|
| 4876 |
* buchiAutomaton.hh (class BuchiAutomaton): added decl for SI_Neg() |
| 4877 |
|
| 4878 |
* buchiAutomaton.cc (SI_Neg): added |
| 4879 |
|
| 4880 |
* buchiAutomaton.hh (class BuchiAutomaton): added decls for add(), |
| 4881 |
SI(), containsNegation() |
| 4882 |
|
| 4883 |
* buchiAutomaton.cc (cover): use approach similar to published |
| 4884 |
algorithm to avoid re-covering subformulae; added Assert() to |
| 4885 |
check that we do it correctly |
| 4886 |
(add): added |
| 4887 |
(SI): added |
| 4888 |
(containsNegation): added |
| 4889 |
|
| 4890 |
2001-06-19 Steven Eker <[email protected]> |
| 4891 |
|
| 4892 |
* buchiAutomaton.cc (cover): quick hack to check if we've found to |
| 4893 |
cause of the extra states. |
| 4894 |
|
| 4895 |
2001-06-18 Steven Eker <[email protected]> |
| 4896 |
|
| 4897 |
* buchiAutomaton.cc (contradiction): implemented |
| 4898 |
(BuchiAutomaton): do breadth-first search |
| 4899 |
(contradiction): fixed bugs in PROPOSITION case: need to examine |
| 4900 |
upto _and_ including max and we need to check that covered |
| 4901 |
actually contains i |
| 4902 |
|
| 4903 |
2001-06-15 Steven Eker <[email protected]> |
| 4904 |
|
| 4905 |
* buchiAutomaton.hh: complete rewrite |
| 4906 |
|
| 4907 |
* buchiAutomaton.cc: complete rewrite using Daniele, Giunchilia & |
| 4908 |
Vardi approach |
| 4909 |
|
| 4910 |
2001-06-06 Steven Eker <[email protected]> |
| 4911 |
|
| 4912 |
* buchiAutomaton.hh (class BuchiAutomaton): added decls for dump() |
| 4913 |
and dumpNatSet() |
| 4914 |
|
| 4915 |
* buchiAutomaton.cc (dump): added |
| 4916 |
(dumpNatSet): added |
| 4917 |
|
| 4918 |
* logicFormula.cc (dump): added |
| 4919 |
|
| 4920 |
* modelSymbol.hh (class ModelSymbol): added decl for build() |
| 4921 |
|
| 4922 |
* buchiAutomaton.cc (BuchiAutomaton): call expand() |
| 4923 |
|
| 4924 |
* modelSymbol.cc (build): added |
| 4925 |
|
| 4926 |
2001-06-05 Steven Eker <[email protected]> |
| 4927 |
|
| 4928 |
* modelSymbol.cc (attachData): added |
| 4929 |
|
| 4930 |
* higher.hh: added forward decl for class ModelSymbol |
| 4931 |
|
| 4932 |
* modelSymbol.hh: created |
| 4933 |
|
| 4934 |
* modelSymbol.cc: created |
| 4935 |
|
| 4936 |
* higher.hh: added forward decls for classes LogicFormula, |
| 4937 |
BuchiAutomaton and StateTransitionGraph |
| 4938 |
|
| 4939 |
* buchiAutomaton.cc: created |
| 4940 |
|
| 4941 |
* buchiAutomaton.hh: created |
| 4942 |
|
| 4943 |
2001-05-11 Steven Eker <[email protected]> |
| 4944 |
|
| 4945 |
* rewriteSequenceSearch.cc (findNextMatch): crude support for |
| 4946 |
tracing and traceAbort() |
| 4947 |
|
| 4948 |
2001-05-10 Steven Eker <[email protected]> |
| 4949 |
|
| 4950 |
* rewriteSequenceSearch.hh (getStateNr): added |
| 4951 |
(getStateParent): added |
| 4952 |
(getStateDag): added |
| 4953 |
|
| 4954 |
* rewriteSequenceSearch.cc (RewriteSequenceSearch): use new |
| 4955 |
definition of seen |
| 4956 |
(~RewriteSequenceSearch): use new definition of seen |
| 4957 |
(findNextMatch): store parent states and rules used |
| 4958 |
|
| 4959 |
* rewriteSequenceSearch.hh (class RewriteSequenceSearch): added |
| 4960 |
struct State |
| 4961 |
|
| 4962 |
* rewriteSequenceSearch.cc (findNextMatch): set stateNt whenever |
| 4963 |
we create a new matchState |
| 4964 |
|
| 4965 |
* rewriteSequenceSearch.hh (getStateNr): added stateNr |
| 4966 |
(class RewriteSequenceSearch): added data member |
| 4967 |
|
| 4968 |
* positionState.hh (class PositionState): fixed a nasty bug where |
| 4969 |
flags was a bool rather than an int |
| 4970 |
|
| 4971 |
2001-05-02 Steven Eker <[email protected]> |
| 4972 |
|
| 4973 |
* rewriteSequenceSearch.hh (getNrStates): added |
| 4974 |
|
| 4975 |
* rewriteSequenceSearch.cc: created |
| 4976 |
|
| 4977 |
* rewriteSequenceSearch.hh: created |
| 4978 |
|
| 4979 |
2001-04-30 Steven Eker <[email protected]> |
| 4980 |
|
| 4981 |
* searchState.cc (initSubstitution): if there is no substition, |
| 4982 |
check that the set of unbound variables is empty |
| 4983 |
|
| 4984 |
2001-04-25 Steven Eker <[email protected]> |
| 4985 |
|
| 4986 |
* rewriteSearchState.hh (class RewriteSearchState): updated ctor |
| 4987 |
decl |
| 4988 |
|
| 4989 |
* rewriteSearchState.cc (RewriteSearchState): handle flags arg |
| 4990 |
|
| 4991 |
* matchSearchState.cc (MatchSearchState): take and pass flags arg |
| 4992 |
(~MatchSearchState): delete pattern only if flag set |
| 4993 |
|
| 4994 |
* matchSearchState.hh (class MatchSearchState): added enum Flags; |
| 4995 |
added flags arg to ctor |
| 4996 |
|
| 4997 |
* searchState.hh (class SearchState): added enum Flags |
| 4998 |
|
| 4999 |
* searchState.cc (SearchState): take flags arg rather than |
| 5000 |
respectFrozen arg |
| 5001 |
(~SearchState): delete substitution and context only if flags set |
| 5002 |
|
| 5003 |
* searchState.hh (class SearchState): flags replace respectFrozen |
| 5004 |
in ctor decl |
| 5005 |
|
| 5006 |
* positionState.cc (PositionState): take flags arg rather than |
| 5007 |
respectFrozen arg |
| 5008 |
(exploreNextPosition): test flags rather than respectFrozen |
| 5009 |
|
| 5010 |
* positionState.hh (class PositionState): delete respectFrozen |
| 5011 |
data member; added enum Flags and flags data member; added flags |
| 5012 |
arg to ctor decl |
| 5013 |
(getFlags): added |