| 1 |
2024-11-17 Steven Eker <eker@eker10> |
| 2 |
|
| 3 |
* wordLevel-selections.cc (WordLevel::exploreSelections): use |
| 4 |
unique_ptr |
| 5 |
|
| 6 |
* wordLevel.hh (class WordLevel): updated decl for |
| 7 |
makeNewLevel() |
| 8 |
|
| 9 |
* wordLevel.cc (WordLevel::makeNewLevel): use unique_ptr |
| 10 |
|
| 11 |
* wordSystem.cc (WordSystem::findNextSolution): use move |
| 12 |
assignment to current |
| 13 |
|
| 14 |
* wordLevel-selections.cc (WordLevel::trySelection): use nullptr |
| 15 |
(WordLevel::exploreSelections): use nullptr |
| 16 |
|
| 17 |
* wordLevel.hh (class WordLevel): update ResultPair |
| 18 |
|
| 19 |
* wordLevel.cc (WordLevel::findNextPartialSolution): use nullptr |
| 20 |
to initialize ResultPair |
| 21 |
|
| 22 |
2024-11-10 Steven Eker <eker@eker10> |
| 23 |
|
| 24 |
* wordSystem.cc (WordSystem::~WordSystem): deleted |
| 25 |
(WordSystem::findNextSolution): use std::move() to move |
| 26 |
unique_ptr<> to and from the stack |
| 27 |
|
| 28 |
* wordSystem.hh (class WordSystem): fix memory leak by |
| 29 |
making LevelStack hold unique_ptr<>s; make current a unique_ptr<> |
| 30 |
(class WordSystem): deleted decl for ~WordSystem() |
| 31 |
|
| 32 |
* wordLevel.hh (class WordLevel): deleted decl for ~WordLevel() |
| 33 |
|
| 34 |
* wordLevel.cc (WordLevel::WordLevel): don't need explicit |
| 35 |
initialization of pigPug |
| 36 |
(WordLevel::makePigPug): use reset() to assign to pigPug |
| 37 |
(WordLevel::~WordLevel): deleted |
| 38 |
|
| 39 |
* wordLevel.hh (class WordLevel): use unique_ptr for pigPug |
| 40 |
|
| 41 |
2024-04-18 Steven Eker <eker@pup> |
| 42 |
|
| 43 |
* rope.hh (Rope::const_iterator::operator[]): added |
| 44 |
(Rope::const_iterator::operator->): added |
| 45 |
|
| 46 |
2024-04-17 Steven Eker <eker@pup> |
| 47 |
|
| 48 |
* rope.hh (Rope::const_iterator::operator++): added post increment |
| 49 |
version |
| 50 |
(Rope::const_iterator::operator--): added post decrement version |
| 51 |
|
| 52 |
===================================Maude160=================================== |
| 53 |
|
| 54 |
2024-03-06 Steven Eker <eker@pup> |
| 55 |
|
| 56 |
* pointerMap.cc (PointerMap::PointerMap, PointerMap::setMap): |
| 57 |
code cleaning |
| 58 |
(PointerMap::getMap): code cleaning |
| 59 |
(PointerMap::findEntry): code cleaning |
| 60 |
(PointerMap::resize): code cleaning |
| 61 |
|
| 62 |
* pointerMap.hh (class PointerMap): updated decls for |
| 63 |
setMap(), getMap(), hash(), hash2(), findEntry(); struct Pair |
| 64 |
now has const void* field from |
| 65 |
|
| 66 |
* pointerMap.cc (PointerMap::hash, PointerMap::hash2): take |
| 67 |
const arg |
| 68 |
(PointerMap::setMap): take const from arg |
| 69 |
(PointerMap::getMap): take const from arg |
| 70 |
(PointerMap::findEntry): take const from arg |
| 71 |
|
| 72 |
2024-03-04 Steven Eker <eker@pup> |
| 73 |
|
| 74 |
* macros.hh: deleted typedef unsigned int Uint |
| 75 |
|
| 76 |
2024-03-01 Steven Eker <eker@pup> |
| 77 |
|
| 78 |
* tty.cc: deleted Tty::savedFlag |
| 79 |
|
| 80 |
* tty.hh (Tty::blockEscapeSequences): deleted |
| 81 |
(Tty::unblockEscapeSequences): deleted |
| 82 |
(class Tty): deleted static data member savedFlag |
| 83 |
|
| 84 |
===================================Maude158=================================== |
| 85 |
|
| 86 |
2024-02-14 Steven Eker <eker@pup> |
| 87 |
|
| 88 |
* checkedConstIterator.hh (Vector<T>::iterator::operator>): added |
| 89 |
(Vector<T>::iterator::operator<=): added |
| 90 |
(Vector<T>::iterator::operator>=): added |
| 91 |
|
| 92 |
* checkedIterator.hh (Vector<T>::iterator::operator>): added |
| 93 |
(Vector<T>::iterator::operator<=): added |
| 94 |
(Vector<T>::iterator::operator>=): added |
| 95 |
|
| 96 |
===================================Maude157=================================== |
| 97 |
|
| 98 |
2023-12-20 Steven Eker <eker@pup> |
| 99 |
|
| 100 |
* macros.hh (downCast): deleted |
| 101 |
|
| 102 |
===================================Maude156=================================== |
| 103 |
|
| 104 |
2023-11-21 Steven Eker <eker@pup> |
| 105 |
|
| 106 |
* rope.hh (class Rope): added decl for ctor from std::string |
| 107 |
|
| 108 |
* rope.cc (Rope::Rope): added ctor from std::string |
| 109 |
|
| 110 |
===================================Maude154=================================== |
| 111 |
|
| 112 |
2023-09-28 Steven Eker <eker@pup> |
| 113 |
|
| 114 |
* macros.hh: #include <typeinfo> |
| 115 |
|
| 116 |
===================================Maude152=================================== |
| 117 |
|
| 118 |
2023-08-04 Steven Eker <eker@pup> |
| 119 |
|
| 120 |
* timer.cc: added comments |
| 121 |
|
| 122 |
2023-07-14 Steven Eker <eker@pup> |
| 123 |
|
| 124 |
* natSet.hh (NatSet::containsSmall): return int_fast8_t to avoid |
| 125 |
converting a Word result into a bool |
| 126 |
(class NatSet): turn size_type into an int - we're not trying to |
| 127 |
duplicate an STL container so there's no need to return an unsigned |
| 128 |
with all its issues |
| 129 |
(NatSet::empty): use Vector::empty() |
| 130 |
(NatSet::max): use Index and Vector::size() |
| 131 |
(NatSet::NatSet): deleted copy ctor version |
| 132 |
(class NatSet): declare copy and move ctors to be default |
| 133 |
(class NatSet): declare copy and move assignment operators to be default |
| 134 |
(NatSet::operator=): deleted copy assignment |
| 135 |
|
| 136 |
2023-06-13 Steven Eker <eker@pup> |
| 137 |
|
| 138 |
* tty.cc: added def for Tty::savedFlag |
| 139 |
|
| 140 |
* tty.hh (Tty::blockEscapeSequences) |
| 141 |
(Tty::unblockEscapeSequences): added |
| 142 |
(class Tty): added static data member savedFlag |
| 143 |
|
| 144 |
2023-06-06 Steven Eker <eker@pup> |
| 145 |
|
| 146 |
* decBuf.cc (DecBuf::shiftAndAdd): uint64_t -> uint_fast64_t |
| 147 |
|
| 148 |
* decBuf.hh (class DecBuf): updated decl for shiftAndAdd() |
| 149 |
|
| 150 |
* binBuf.cc (BinBuf::init): uint64_t -> uint_fast64_t |
| 151 |
(BinBuf::times10): uint64_t -> uint_fast64_t, uint32_t -> uint_fast32_t |
| 152 |
|
| 153 |
* binBuf.hh (class BinBuf): updated decl for init() |
| 154 |
(class BinBuf): uint32_t -> uint_fast32_t |
| 155 |
|
| 156 |
2023-06-02 Steven Eker <eker@pup> |
| 157 |
|
| 158 |
* macros.hh (FOR_EACH_CONST): deleted |
| 159 |
|
| 160 |
===================================Maude150=================================== |
| 161 |
|
| 162 |
2023-05-12 Steven Eker <eker@pup> |
| 163 |
|
| 164 |
* macros.hh: use int64_t for stringToInt64(() decl |
| 165 |
(pluralize): use int64_t |
| 166 |
(pluralize): use int32_t rather than int since int cannot be |
| 167 |
overloaded with int64_t since they could be the same type |
| 168 |
(pluralize): get rid of int32_t version to appease clang |
| 169 |
(pluralize): use int_fast64 for 64-bit version |
| 170 |
|
| 171 |
* natSet.hh (NatSet::contains): FastBool -> int_fast8_t |
| 172 |
|
| 173 |
* macros.hh: deleted typedef FastBool |
| 174 |
|
| 175 |
* natSet.cc (NatSet::arrayContains): FastBool -> int_fast8_t |
| 176 |
|
| 177 |
* natSet.hh (class NatSet): FastBool -> int_fast8_t |
| 178 |
|
| 179 |
* macros.hh: fix decl for int64ToString() |
| 180 |
|
| 181 |
* variableConstraint.cc (VariableConstraint::absorb): deleted (already |
| 182 |
commented out) |
| 183 |
|
| 184 |
* variableConstraint.hh (class VariableConstraint): deleted commented |
| 185 |
out decl for absorb() |
| 186 |
|
| 187 |
* macros.hh: deleted typedef Uint32 |
| 188 |
|
| 189 |
* variableConstraint.hh (class VariableConstraint): Uint32 -> uint32_t |
| 190 |
|
| 191 |
* binBuf.hh (class BinBuf): Uint32 -> uint32_t |
| 192 |
|
| 193 |
* macros.hh: deleted typedef Uint64 |
| 194 |
|
| 195 |
* macros.cc (correctEcvt): Uint64 -> uint64_t |
| 196 |
(int64ToString): Uint64 -> uint64_t, Int64 -> int64_t |
| 197 |
(stringToInt64): Int64 -> unint64_t |
| 198 |
|
| 199 |
* decBuf.cc (DecBuf::shiftAndAdd): Uint64 -> uint64_t |
| 200 |
|
| 201 |
* decBuf.hh (class DecBuf): Uint64 -> uint64_t |
| 202 |
|
| 203 |
* binBuf.hh (class BinBuf): Uint64 -> uint64_t |
| 204 |
|
| 205 |
* binBuf.cc (BinBuf::init): Uint64 -> uint64_t |
| 206 |
(BinBuf::times10): Uint64 -> uint64_t, Uint32 -> uint32_t |
| 207 |
|
| 208 |
===================================Maude149=================================== |
| 209 |
|
| 210 |
2023-05-01 Steven Eker <eker@pup> |
| 211 |
|
| 212 |
* macros.hh: added Profile() macro |
| 213 |
|
| 214 |
===================================Maude148=================================== |
| 215 |
|
| 216 |
2023-04-13 Steven Eker <eker@pup> |
| 217 |
|
| 218 |
* intSet.cc (IntSet::findEntry): use empty() |
| 219 |
|
| 220 |
2023-04-12 Steven Eker <eker@pup> |
| 221 |
|
| 222 |
* macros.hh: deleted typedef Bool - all reasonable compilers have |
| 223 |
sizeof(bool) == 1 and for those that don't we don't care about |
| 224 |
wasting some memory |
| 225 |
(pluralize): use int rather than Int32 |
| 226 |
deleted typedef Int32 |
| 227 |
|
| 228 |
* digraph.hh (class Digraph): Bool -> bool |
| 229 |
|
| 230 |
* macros.hh: include <cstdint> |
| 231 |
|
| 232 |
2023-04-11 Steven Eker <eker@pup> |
| 233 |
|
| 234 |
* intSet.cc (IntSet::intersect): use empty(); contractTo(0) -> |
| 235 |
clear() (2 places) |
| 236 |
(IntSet::insert): use empty() |
| 237 |
(IntSet::subtract): use empty() |
| 238 |
(IntSet::disjoint): use empty() |
| 239 |
|
| 240 |
===================================Maude145=================================== |
| 241 |
|
| 242 |
2023-04-06 Steven Eker <eker@pup> |
| 243 |
|
| 244 |
* macros.hh: added decl for selfCheckFailHandler(); call it |
| 245 |
rather than abort() from AlwaysAssert() in NO_ASSERT case |
| 246 |
|
| 247 |
2023-04-05 Steven Eker <eker@pup> |
| 248 |
|
| 249 |
* vector.hh (front): fix bad non-call to data() (both versions) |
| 250 |
|
| 251 |
2023-04-04 Steven Eker <eker@pup> |
| 252 |
|
| 253 |
* indexedSet.hh (class IndexedSet): use Vector<> rather than |
| 254 |
vector<> now that we have move semantics for reallocation |
| 255 |
|
| 256 |
* intSet.cc (IntSet::erase): was subtract(); return 0 or 1 |
| 257 |
elements removed |
| 258 |
|
| 259 |
* intSet.hh (class IntSet): subract() (single int version) -> |
| 260 |
erase() |
| 261 |
|
| 262 |
* intSet.cc (IntSet::hash, IntSet::hash2): use std::hash |
| 263 |
|
| 264 |
* intSet.hh (IntSet::size): was cardinality() |
| 265 |
(IntSet::clear): was makeEmpty() |
| 266 |
(IntSet::ithElement): was index2Int() |
| 267 |
(IntSet::find): was int2Index() |
| 268 |
(IntSet::swap): added |
| 269 |
(IntSet::operator==): use size() |
| 270 |
(class IntSet): added typedef const_iterator |
| 271 |
(IntSet::begin): added |
| 272 |
(IntSet::end): added |
| 273 |
(class IntSet): use = default for default constructor, copy |
| 274 |
constructor and copy asignment operator |
| 275 |
(class IntSet): added preallocate ctor |
| 276 |
|
| 277 |
2023-04-03 Steven Eker <eker@pup> |
| 278 |
|
| 279 |
* pigPug.hh (class PigPug): use Vector rather than vector for |
| 280 |
typedef CombinedWord |
| 281 |
|
| 282 |
* vector.hh (operator<): added |
| 283 |
|
| 284 |
* intSet.cc: restored because unordered_map<int,int> has terrible |
| 285 |
performance |
| 286 |
|
| 287 |
* intSet.hh: ditto |
| 288 |
|
| 289 |
2023-03-29 Steven Eker <eker@pup> |
| 290 |
|
| 291 |
* preVector.hh (PreVector::empty): use simpler version now that |
| 292 |
it produces better code; deleted comment about Sparc |
| 293 |
(PreVector::freeMemory): added Assert() |
| 294 |
|
| 295 |
* pointerMap.hh (class PointerMap): make NO_COPYING to see if |
| 296 |
we accidently make copies |
| 297 |
|
| 298 |
2023-03-28 Steven Eker <eker@pup> |
| 299 |
|
| 300 |
* vector.hh (~Vector): use nullptr |
| 301 |
(expandTo): use nullptr |
| 302 |
(contractTo): use nullptr |
| 303 |
|
| 304 |
* preVector.hh (PreVector::initEmpty): use nullptr |
| 305 |
(PreVector::getAllocatedBytes): use nullptr |
| 306 |
(PreVector::getLength): use nullptr |
| 307 |
(PreVector::empty): use nullptr |
| 308 |
|
| 309 |
* intSet.cc: deleted |
| 310 |
|
| 311 |
* intSet.hh: deleted |
| 312 |
|
| 313 |
* macros.hh: deleted forward decl for class IntSet |
| 314 |
|
| 315 |
* natSet.hh (NatSet::clear): contractTo(0) -> clear() |
| 316 |
|
| 317 |
* vector.hh (Vector, reallocate, operator=): use std::memcopy() |
| 318 |
|
| 319 |
* macros.hh: use cstring rather than string.h or strings.h |
| 320 |
|
| 321 |
* stack.hh (top): use back() |
| 322 |
(pop): use pop_back() |
| 323 |
(push): use push_back() |
| 324 |
|
| 325 |
* vector.hh (front): use empty() in Assert() (both versions) |
| 326 |
(back): use empty() in Assert() (both versions) |
| 327 |
(pop_back): added |
| 328 |
|
| 329 |
2023-03-27 Steven Eker <eker@pup> |
| 330 |
|
| 331 |
* vector.hh (Vector): delete preallocate ctor |
| 332 |
(push_back): added two versions |
| 333 |
(front): added two versions |
| 334 |
(back): added two versions |
| 335 |
(expandBy): use size() rather than length() |
| 336 |
(bytesAllocated): deleted |
| 337 |
(data): added two versions |
| 338 |
(front): use data() (both versions) |
| 339 |
(back): use data() (both versions) |
| 340 |
(operator[]): use size() in Assert() (both versions) |
| 341 |
(operator[]): use data() (both versions) |
| 342 |
|
| 343 |
* allSat.cc (AllSat::AllSat): use reserve() rather than preallocate |
| 344 |
ctor (2 places) |
| 345 |
|
| 346 |
* sequencePartition.cc (SequencePartition::SequencePartition): use |
| 347 |
reserve() rather than preallocate ctor |
| 348 |
|
| 349 |
* diophantineSystem.cc (DiophantineSystem::DiophantineSystem): use |
| 350 |
reserve() rather than preallocate ctor (2 places) |
| 351 |
|
| 352 |
* vector.hh (reserve): added |
| 353 |
(reserve): need to set length if we reallocate |
| 354 |
(reallocate): added comment about not setting length |
| 355 |
|
| 356 |
* slowVector.hh: move slow Vector code here |
| 357 |
|
| 358 |
* vector.hh (Vector): use vector -> vec (2 versions) |
| 359 |
(reallocate): vector -> vec |
| 360 |
(expandTo): vector -> vec |
| 361 |
(contractTo): vector -> vec |
| 362 |
(append): vector -> vec (both versions) |
| 363 |
(isNull): use nullptr |
| 364 |
|
| 365 |
2023-03-24 Steven Eker <eker@pup> |
| 366 |
|
| 367 |
* vector.hh (Vector): added move ctor |
| 368 |
(operator=): added move assignment |
| 369 |
(reallocate): added |
| 370 |
(expandTo): use reallocate() |
| 371 |
(reallocate): use std::move() |
| 372 |
(append): use reallocate() |
| 373 |
(append): removed special casing for null Vector |
| 374 |
(append): added move version |
| 375 |
(reallocate): added std::is_trivially_copyable<> path |
| 376 |
(operator=): added std::is_trivially_copyable<> path to copy version |
| 377 |
(Vector): added std::is_trivially_copyable<> path to copy version |
| 378 |
|
| 379 |
===================================Maude144=================================== |
| 380 |
|
| 381 |
2023-03-10 Steven Eker <eker@pup> |
| 382 |
|
| 383 |
* macros.hh: union MachineWord moved to /Core/memoryBlock.hh |
| 384 |
|
| 385 |
* bddUser.hh (BddUser::setNrVariables): replaced commented out |
| 386 |
print statement with DebugInfo() |
| 387 |
|
| 388 |
===================================Maude142=================================== |
| 389 |
|
| 390 |
2023-02-24 Steven Eker <eker@pup> |
| 391 |
|
| 392 |
* macros.hh (ContinueWarning): added |
| 393 |
|
| 394 |
2023-02-17 Steven Eker <eker@pup> |
| 395 |
|
| 396 |
* macros.cc: defined globalDebugFlag |
| 397 |
|
| 398 |
* macros.hh: added decl for globalDebugFlag; replaced |
| 399 |
globalAdvisoryFlag with globalDebugFlag in all Debug macros |
| 400 |
|
| 401 |
2023-02-16 Steven Eker <eker@pup> |
| 402 |
|
| 403 |
* macros.hh (NO_COPYING): use delete for copy ctor and copy assignment |
| 404 |
operator; remove obsolete comment about branch free conditional |
| 405 |
assignments - these were deleted long ago |
| 406 |
|
| 407 |
===================================Maude141=================================== |
| 408 |
|
| 409 |
2023-01-17 Steven Eker <eker@pup> |
| 410 |
|
| 411 |
* macros.hh: don't use if in IssueAdvisory() to avoid dangling else |
| 412 |
|
| 413 |
2023-01-09 Steven Eker <eker@pup> |
| 414 |
|
| 415 |
* macros.hh: added typedef for Index |
| 416 |
|
| 417 |
===================================Maude139=================================== |
| 418 |
|
| 419 |
2021-07-12 Steven Eker <eker2@eker10> |
| 420 |
|
| 421 |
* pigPug-cycleDetection.cc (PigPug::firstMoveWithCycleDetection): |
| 422 |
use onCycle() rather than arrive() |
| 423 |
|
| 424 |
* pigPug.hh (class PigPug): arrive() becomes onCycle() |
| 425 |
|
| 426 |
* pigPug-cycleDetection.cc (PigPug::makeStateKey): try pushing |
| 427 |
upper bounds on stack as well |
| 428 |
(PigPug::arrive): becomes onCycle() |
| 429 |
|
| 430 |
2021-06-08 Steven Eker <eker2@eker10> |
| 431 |
|
| 432 |
* wordLevel-normalCase.cc |
| 433 |
(WordLevel::expandAssignmentsToFixedPointNormalCase): added |
| 434 |
comment explained why expanding to fixed point is needed |
| 435 |
|
| 436 |
2021-06-01 Steven Eker <eker2@eker10> |
| 437 |
|
| 438 |
* pigPug.hh (class PigPug): changed depthBoundMultiplier from int |
| 439 |
to double |
| 440 |
(PigPug::setDepthBoundMultiplier): take double |
| 441 |
|
| 442 |
2021-05-26 Steven Eker <eker2@eker10> |
| 443 |
|
| 444 |
* pigPug.hh (class PigPug): deleted decl for tightenConstraints() |
| 445 |
|
| 446 |
* pigPug-extract.cc (PigPug::extractUnifier): don't call |
| 447 |
tightenConstraints() since duplicates work that will be done by |
| 448 |
WordLevel::checkAssignmentNormalCase() in the next WordLevel for |
| 449 |
variables that are not eliminated |
| 450 |
(PigPug::tightenConstraints): deleted |
| 451 |
|
| 452 |
2021-05-25 Steven Eker <eker2@eker10> |
| 453 |
|
| 454 |
* wordLevel.hh (class WordLevel): deleted decl for |
| 455 |
checkAssignmentsToFixedPointNormalCase(); updated decl for |
| 456 |
checkAssignmentsNormalCase() |
| 457 |
|
| 458 |
* wordLevel-normalCase.cc (WordLevel::checkAssignmentsNormalCase): |
| 459 |
return true or false because we're no longer iterating to fixed |
| 460 |
point |
| 461 |
(WordLevel::checkAssignmentsToFixedPointNormalCase): deleted |
| 462 |
(WordLevel::expandAssignmentsToFixedPointNormalCase): use |
| 463 |
checkAssignmentsNormalCase() rather than |
| 464 |
checkAssignmentsToFixedPointNormalCase() |
| 465 |
|
| 466 |
2021-05-21 Steven Eker <eker2@eker10> |
| 467 |
|
| 468 |
* wordLevel-normalCase.cc |
| 469 |
(WordLevel::expandAssignmentsToFixedPointNormalCase): call |
| 470 |
checkAssignmentsToFixedPointNormalCase() after expansion rather |
| 471 |
than before expansion to make sure any rhs variables assigned |
| 472 |
empty have been removed before we check assignments against |
| 473 |
constraints |
| 474 |
(WordLevel::reallyExpandAssignmentNormalCase): don't call |
| 475 |
checkAssignmentNormalCase() or |
| 476 |
checkAssignmentsToFixedPointNormalCase() - we wait until partial |
| 477 |
solution is fully exanded before we consider constraint |
| 478 |
propagation |
| 479 |
|
| 480 |
2021-05-19 Steven Eker <eker2@eker10> |
| 481 |
|
| 482 |
* wordLevel-normalCase.cc (WordLevel::expandAssignmentNormalCase): |
| 483 |
fix bug where we were calling reallyExpandAssignmentCollapseCase() |
| 484 |
rather than reallyExpandAssignmentNormalCase() |
| 485 |
(WordLevel::checkAssignmentNormalCase): add comment to explain why |
| 486 |
we need to handle empty assignment |
| 487 |
|
| 488 |
2021-05-18 Steven Eker <eker2@eker10> |
| 489 |
|
| 490 |
* pigPug.hh (class PigPug): added DEFAULT_DEPTH_BOUND_MULTIPLIER = |
| 491 |
1 to enum SpecialValues |
| 492 |
(PigPug::setDepthBoundMultiplier): added |
| 493 |
|
| 494 |
* pigPug.cc: added def for depthBoundMultiplier |
| 495 |
(PigPug::PigPug): use depthBoundMultiplier |
| 496 |
|
| 497 |
* pigPug.hh (class PigPug): added static data member |
| 498 |
depthBoundMultiplier |
| 499 |
|
| 500 |
2021-05-13 Steven Eker <eker2@eker10> |
| 501 |
|
| 502 |
* wordLevel.cc (WordLevel::makeNewLevel): restructured if |
| 503 |
statement |
| 504 |
|
| 505 |
===================================Maude136=================================== |
| 506 |
|
| 507 |
2021-03-16 Steven Eker <eker2@eker10> |
| 508 |
|
| 509 |
* rope.cc: use use range-based for loop |
| 510 |
|
| 511 |
2021-03-15 Steven Eker <eker2@eker10> |
| 512 |
|
| 513 |
* mpzGcdInit.cc (MpzSystem::swapVariables): use range-based for |
| 514 |
loop |
| 515 |
(MpzSystem::initializeGcd): use range-based for loop |
| 516 |
|
| 517 |
* intContejeanDevie.cc (IntSystem::scalerProduct): made loop ref |
| 518 |
const |
| 519 |
(IntSystem::initialize): made loop ref const |
| 520 |
(IntSystem::findNextMinimalSolution): made loop ref const (3 |
| 521 |
places) |
| 522 |
|
| 523 |
* mpzContejeanDevie.cc (MpzSystem::scalerProduct): made loop ref |
| 524 |
const |
| 525 |
(MpzSystem::initialize): made loop ref const |
| 526 |
(MpzSystem::findNextMinimalSolution): made loop ref const (3 |
| 527 |
places) |
| 528 |
|
| 529 |
* intSystem.cc (IntSystem::initializeUpperBounds): use range-based |
| 530 |
for loop |
| 531 |
|
| 532 |
* mpzSystem.cc (MpzSystem::initializeUpperBounds): use range-based |
| 533 |
for loop |
| 534 |
|
| 535 |
* mpzGcdBasedSolver.cc (MpzSystem::updateResidues): use |
| 536 |
range-based for loop |
| 537 |
(MpzSystem::fillOutStackEntry): use range-based for loop |
| 538 |
(MpzSystem::fillOutLastEntry): use range-based for loop |
| 539 |
(MpzSystem::solveDiagonal): use range-based for loop (2 places) |
| 540 |
|
| 541 |
* mpzGcdInit.cc (MpzSystem::computeSumBound): use range-based for |
| 542 |
loop (2 places) |
| 543 |
(MpzSystem::initializeGcd): use range-based for loop (2 places) |
| 544 |
|
| 545 |
* mpzSystem.cc (MpzSystem::dumpEqns): use range-based for loop (2 |
| 546 |
places) |
| 547 |
(MpzSystem::minimal): use range-based for loop |
| 548 |
|
| 549 |
* intSystem.cc (IntSystem::minimal): make iterator variable ref |
| 550 |
const |
| 551 |
(IntSystem::dumpEqns): make iterator ref const |
| 552 |
|
| 553 |
* mpzSystem.cc (MpzSystem::greaterEqual): use range-based for loop |
| 554 |
(MpzSystem::minimal): use range-based for loop |
| 555 |
|
| 556 |
* mpzContejeanDevie.cc (MpzSystem::initialize): use range-based |
| 557 |
for loop (2 places) |
| 558 |
(MpzSystem::findNextMinimalSolution): use range-based for loop (3 |
| 559 |
places) |
| 560 |
|
| 561 |
* intContejeanDevie.cc (IntSystem::initialize): use range-based |
| 562 |
for loop |
| 563 |
|
| 564 |
* mpzContejeanDevie.cc (MpzSystem::scalerProduct): use range-based |
| 565 |
for loop |
| 566 |
|
| 567 |
* intContejeanDevie.cc (IntSystem::findNextMinimalSolution): use |
| 568 |
range-based for loop (additional place) |
| 569 |
|
| 570 |
2021-03-11 Steven Eker <eker2@eker10> |
| 571 |
|
| 572 |
* intContejeanDevie.cc (IntSystem::isZero): use range-based for |
| 573 |
loop |
| 574 |
(IntSystem::scalerProduct): use range-based for loop |
| 575 |
(IntSystem::initialize): use range-based for loop |
| 576 |
(IntSystem::findNextMinimalSolution): use range-based for loop (2 |
| 577 |
places) |
| 578 |
|
| 579 |
* intSystem.cc (IntSystem::greaterEqual): use range-based for loop |
| 580 |
(IntSystem::dumpEqns): use range-based for loop (2 places) |
| 581 |
(IntSystem::minimal): use range-based for loop |
| 582 |
|
| 583 |
* graph.cc (Graph::colorNode): use range-based for loop (2 places) |
| 584 |
(Graph::visit): use range-based for loop |
| 585 |
|
| 586 |
===================================Maude135=================================== |
| 587 |
|
| 588 |
2021-03-03 Steven Eker <eker2@eker10> |
| 589 |
|
| 590 |
* timeStuff.hh: added operator<() |
| 591 |
(timespecSubtract): added reference based version |
| 592 |
(timespecCompare): deleted |
| 593 |
(timespecSubtract): deleted pointer based version |
| 594 |
|
| 595 |
===================================Maude133=================================== |
| 596 |
|
| 597 |
2021-02-18 Steven Eker <eker2@eker10> |
| 598 |
|
| 599 |
* wordLevel-simplifyEquations.cc (WordLevel::simplifyEquation): |
| 600 |
added a DebugInfo() for the case where we can't turn an equation |
| 601 |
into an assignment because the lone variable already has an unsafe |
| 602 |
assignment |
| 603 |
|
| 604 |
2021-02-09 Steven Eker <eker2@eker10> |
| 605 |
|
| 606 |
* wordLevel-selections.cc (WordLevel::systemLinear): compute |
| 607 |
pseudo-constrained variables and don't count them for the purpose |
| 608 |
of determining linearity |
| 609 |
|
| 610 |
* wordLevel.hh (class WordLevel): deleted decl for canPinch(); |
| 611 |
added decl for computePinches() |
| 612 |
|
| 613 |
* wordLevel-selections.cc (WordLevel::computePinches): added |
| 614 |
(WordLevel::determinePinchedVariables): use computePinches() |
| 615 |
(WordLevel::canPinch): deleted |
| 616 |
|
| 617 |
2021-02-05 Steven Eker <eker2@eker10> |
| 618 |
|
| 619 |
* wordLevel.hh: deleted |
| 620 |
|
| 621 |
* wordLevel-feasible.cc: check unsafeAssignments() to determine |
| 622 |
bounds issues with partial solution |
| 623 |
|
| 624 |
* wordLevel-simplifyEquations.cc (WordLevel::checkForSingleton): |
| 625 |
added DebugInfo()s for where we can't bind to a variable that |
| 626 |
has an unsafe assignment |
| 627 |
(WordLevel::simplifyEquation): added code to dump partial solution |
| 628 |
in debug mode |
| 629 |
(WordLevel::checkForSingleton): added missing return so we don't |
| 630 |
fall into unsafe assignment case |
| 631 |
|
| 632 |
* pigPug.cc: output sizes in Assert()s |
| 633 |
|
| 634 |
2021-02-04 Steven Eker <eker2@eker10> |
| 635 |
|
| 636 |
* wordLevel-selections.cc (WordLevel::determinePinchedVariables): |
| 637 |
use unsafeAssignments to determine which assignments pinch |
| 638 |
variables |
| 639 |
|
| 640 |
2021-02-03 Steven Eker <eker2@eker10> |
| 641 |
|
| 642 |
* wordLevel-simplifyEquations.cc (WordLevel::simplifyEquation): |
| 643 |
call handleNullEquations() if checkForNull() made a null equation |
| 644 |
|
| 645 |
* wordLevel-simplifyAssignments.cc |
| 646 |
(WordLevel::fullyExpandAssignments): don't call |
| 647 |
handleNullEquations() here |
| 648 |
|
| 649 |
* wordLevel-collapseCase.cc |
| 650 |
(WordLevel::expandAssignmentsToFixedPointCollapseCase): don't call |
| 651 |
handleNullEquations() here |
| 652 |
|
| 653 |
* wordLevel.cc (WordLevel::simplify): call handleNullEquations() |
| 654 |
here at the beginning of each non-PIGPUG level |
| 655 |
|
| 656 |
* wordLevel-collapseCase.cc |
| 657 |
(WordLevel::reallyExpandAssignmentCollapseCase): don't call |
| 658 |
handleNullEquations() after resolveOccursCheckFailure() |
| 659 |
(WordLevel::checkAssignmentCollapseCase): call |
| 660 |
handleNullEquations() after unique collapse. |
| 661 |
(WordLevel::checkAssignmentsCollapseCase): don't call |
| 662 |
handleNullEquations() here |
| 663 |
(WordLevel::reallyExpandAssignmentCollapseCase): don't call |
| 664 |
handleNullEquations() here |
| 665 |
|
| 666 |
* wordLevel-null.cc (WordLevel::resolveOccursCheckFailure): call |
| 667 |
handleNullEquations() instead of returning true |
| 668 |
|
| 669 |
2021-02-02 Steven Eker <eker2@eker10> |
| 670 |
|
| 671 |
* wordLevel.hh (class WordLevel): deleted decls for |
| 672 |
checkAssignment(), checkAssignments(), |
| 673 |
checkAssignmentsToFixedPoint() |
| 674 |
|
| 675 |
* wordLevel-simplifyAssignments.cc |
| 676 |
(WordLevel::fullyExpandAssignments): call handleNullEquations in |
| 677 |
non-PIGPUG levels |
| 678 |
|
| 679 |
* wordLevel.hh (class WordLevel): delete decls for old versions of |
| 680 |
expandAssignments(), expandAssignment(), reallyExpandAssignment() |
| 681 |
|
| 682 |
* wordLevel-checkAssignments.cc: deleted |
| 683 |
|
| 684 |
* wordLevel-simplifyAssignments.cc |
| 685 |
(WordLevel::fullyExpandAssignments): cut out dead code |
| 686 |
(WordLevel::expandAssignments, WordLevel::expandAssignment) |
| 687 |
(WordLevel::reallyExpandAssignment): deleted old versions |
| 688 |
|
| 689 |
2021-02-01 Steven Eker <eker2@eker10> |
| 690 |
|
| 691 |
* wordLevel-simplifyEquations.cc: rewritten to respect |
| 692 |
unsafeAssignments and leave constraint checking to the assignment |
| 693 |
checking code |
| 694 |
(WordLevel::makeAssignment): handle equal variables case |
| 695 |
(WordLevel::simplifyEquation): copyBack() the partly simplified |
| 696 |
equation in UNSAFE cases |
| 697 |
|
| 698 |
* wordLevel.hh (class WordLevel): added UNSAFE to Result |
| 699 |
|
| 700 |
2021-01-29 Steven Eker <eker2@eker10> |
| 701 |
|
| 702 |
* wordLevel-simplifyAssignments.cc |
| 703 |
(WordLevel::fullyExpandAssignments): use |
| 704 |
expandAssignmentsToFixedPointNormalCase() |
| 705 |
|
| 706 |
* wordLevel.hh (class WordLevel): added decls for |
| 707 |
checkAssignmentNormalCase(), checkAssignmentsNormalCase(), |
| 708 |
checkAssignmentsToFixedPointNormalCase(), |
| 709 |
reallyExpandAssignmentNormalCase(), |
| 710 |
expandAssignmentNormalCase(), expandAssignmentsNormalCase(), |
| 711 |
expandAssignmentsToFixedPointNormalCase() |
| 712 |
|
| 713 |
* wordLevel-normalCase.cc: created |
| 714 |
|
| 715 |
* wordLevel-simplifyAssignments.cc |
| 716 |
(WordLevel::fullyExpandAssignments): use |
| 717 |
expandAssignmentsToFixedPointCollapseCase() |
| 718 |
|
| 719 |
* wordLevel.hh (class WordLevel): added decls for |
| 720 |
checkAssignmentCollapseCase(), checkAssignmentsCollapseCase(), |
| 721 |
checkAssignmentsToFixedPointCollapseCase(), |
| 722 |
reallyExpandAssignmentCollapseCase(), |
| 723 |
expandAssignmentCollapseCase(), expandAssignmentsCollapseCase(), |
| 724 |
expandAssignmentsToFixedPointCollapseCase() |
| 725 |
|
| 726 |
* wordLevel-collapseCase.cc: created |
| 727 |
|
| 728 |
* wordLevel-null.cc (WordLevel::handleNullEquations): restructured |
| 729 |
to use makeEmptyAssignment() |
| 730 |
(WordLevel::resolveOccursCheckFailure): restructured to use |
| 731 |
makeEmptyAssignment() |
| 732 |
|
| 733 |
* wordLevel.hh (class WordLevel): added decl for |
| 734 |
makeEmptyAssignment() |
| 735 |
|
| 736 |
* wordLevel-null.cc (WordLevel::makeEmptyAssignment): added |
| 737 |
|
| 738 |
2021-01-28 Steven Eker <eker2@eker10> |
| 739 |
|
| 740 |
* wordLevel-feasible.cc: added Assert() that if we're legal |
| 741 |
without collapse we should not have unsafeAssignments |
| 742 |
|
| 743 |
* wordLevel-simplifyEquations.cc (WordLevel::expandWord): don't |
| 744 |
substitute in unsafe assignments |
| 745 |
(WordLevel::append): use range-based for loop |
| 746 |
|
| 747 |
* wordLevel-simplifyAssignments.cc (WordLevel::expandAssignment): |
| 748 |
don't substitute in unsafeAssignments |
| 749 |
(WordLevel::fullyExpandAssignments): call |
| 750 |
checkAssignmentsToFixedPoint() before each expandAssignments() |
| 751 |
call |
| 752 |
(WordLevel::reallyExpandAssignment): don't substitute in |
| 753 |
unsafeAssignments |
| 754 |
|
| 755 |
* wordLevel.hh (class WordLevel): added decls for |
| 756 |
checkAssignment(), checkAssignments(), |
| 757 |
checkAssignmentsToFixedPoint() |
| 758 |
(class WordLevel): added data member unsafeAssignments |
| 759 |
|
| 760 |
* wordLevel-checkAssignments.cc: created |
| 761 |
|
| 762 |
2021-01-27 Steven Eker <eker2@eker10> |
| 763 |
|
| 764 |
* pigPug-extract.cc (PigPug::checkInvariant): commented out |
| 765 |
|
| 766 |
* pigPug.hh (class PigPug): commented out decl for |
| 767 |
checkInvariant() |
| 768 |
|
| 769 |
* pigPug-extract.cc (PigPug::extractUnifier): use |
| 770 |
tightenConstraints() |
| 771 |
|
| 772 |
* pigPug.hh (class PigPug): added decls for tightenConstraints(), |
| 773 |
checkInvariant() |
| 774 |
|
| 775 |
* pigPug-extract.cc (PigPug::extractUnifier): added post variable |
| 776 |
renaming pass to see if the constraint on any rhs variable can be |
| 777 |
tightened |
| 778 |
(PigPug::checkInvariant): added |
| 779 |
(PigPug::tightenConstraints): added |
| 780 |
|
| 781 |
2021-01-26 Steven Eker <eker2@eker10> |
| 782 |
|
| 783 |
* wordLevel-simplifyEquations.cc (WordLevel::simplifyEquation): |
| 784 |
rearrange if statement and added Assert()s and comments about the |
| 785 |
impossibility of null unificands arising in a PIGPUG level |
| 786 |
(WordLevel::simplifyEquation): don't assign to nrLhsVariables, |
| 787 |
just check for empty() |
| 788 |
(WordLevel::makeAssignment): refactor code with different loops |
| 789 |
for PIGPUG and INITIAL/SELECTION levels |
| 790 |
|
| 791 |
2021-01-22 Steven Eker <eker2@eker10> |
| 792 |
|
| 793 |
* wordLevel-selections.cc (WordLevel::systemLinear): only consider |
| 794 |
the linearity of unconstrained variables because these are the |
| 795 |
ones we are relying on to take an extra fresh variable and subsume |
| 796 |
a unifier with an identity assignment |
| 797 |
(WordLevel::determinePinchedVariables): handle the fact that we |
| 798 |
might have null equations after simplification |
| 799 |
(WordLevel::systemLinear): handle the fact that we might have null |
| 800 |
equations after simplification |
| 801 |
|
| 802 |
* wordLevel.hh (class WordLevel): added decls for systemLinear(), |
| 803 |
canPinch(), determinePinchedVariables() |
| 804 |
|
| 805 |
* wordLevel-selections.cc (WordLevel::systemLinear) |
| 806 |
(WordLevel::canPinch, WordLevel::determinePinchedVariables): added |
| 807 |
(WordLevel::chooseVariablesToSelectFrom): check for |
| 808 |
identityOptimizations and systemLinear(), and if so, restrict our |
| 809 |
attention to potentially pinched variables |
| 810 |
|
| 811 |
* wordLevel.hh (class WordLevel): added decl for |
| 812 |
chooseVariablesToSelectFrom() |
| 813 |
|
| 814 |
* wordLevel-selections.cc |
| 815 |
(WordLevel::chooseVariablesToSelectFrom): added |
| 816 |
|
| 817 |
2021-01-21 Steven Eker <eker2@eker10> |
| 818 |
|
| 819 |
* wordLevel.cc (WordLevel::makePigPug): allow equate optimization |
| 820 |
for last equation only |
| 821 |
|
| 822 |
2021-01-19 Steven Eker <eker2@eker10> |
| 823 |
|
| 824 |
* pigPug-search.cc (PigPug::nextMove): fix comment on |
| 825 |
equateOptimization |
| 826 |
|
| 827 |
===================================Maude133=================================== |
| 828 |
|
| 829 |
2020-12-10 Steven Eker <eker2@eker10> |
| 830 |
|
| 831 |
* bddUser.hh (class BddUser): multiplied all the default sizes by 10 |
| 832 |
|
| 833 |
2020-12-07 Steven Eker <eker2@eker10> |
| 834 |
|
| 835 |
* macros.hh: send Verbose() messages to cerr rather than cout so |
| 836 |
all out-of-band notifications go to stderr |
| 837 |
|
| 838 |
===================================Maude132=================================== |
| 839 |
|
| 840 |
2020-10-10 Steven Eker <eker2@eker10> |
| 841 |
|
| 842 |
* pigPug-stack.cc (PigPug::checkConstraintMap): updated comment to |
| 843 |
explain why theory constraints don't get messed up |
| 844 |
|
| 845 |
2020-10-09 Steven Eker <eker2@eker10> |
| 846 |
|
| 847 |
* macros.hh (pluralize): added Int64 version |
| 848 |
|
| 849 |
===================================Maude131a=================================== |
| 850 |
|
| 851 |
2020-10-02 Steven Eker <eker2@eker10> |
| 852 |
|
| 853 |
* pigPug-cycleDetection.cc (PigPug::confirmedLive): updated |
| 854 |
comment |
| 855 |
|
| 856 |
* pigPug-search.cc (PigPug::lhsPeel): check STRICT_RIGHT_LINEAR |
| 857 |
(PigPug::lhsPeel): rearrange if statements |
| 858 |
|
| 859 |
* pigPug.cc: Assert() for STRICT_RIGHT_LINEAR |
| 860 |
|
| 861 |
* wordLevel.cc (WordLevel::makePigPug): new calling convention for |
| 862 |
PigPug |
| 863 |
|
| 864 |
* pigPug.hh (class PigPug): updated decl for ctor |
| 865 |
(class PigPug): added enum Linearity |
| 866 |
(class PigPug): data member linearity replaces strictLeftLinear |
| 867 |
|
| 868 |
* pigPug-search.cc (PigPug::rhsPeel): use linearity rather than |
| 869 |
strictLeftLinear |
| 870 |
(PigPug::lhsPeel): use linearity rather than strictLeftLinear |
| 871 |
(PigPug::equate): use linearity rather than strictLeftLinear (4 |
| 872 |
places) |
| 873 |
|
| 874 |
* pigPug.cc (PigPug): take linearity rather than strictLeftLinear |
| 875 |
|
| 876 |
* pigPug.hh (class PigPug): deleted decls for dumpWord(), dump() |
| 877 |
|
| 878 |
* pigPug.cc (PigPug::variableOccurrencesBoundedBy2): rearranged |
| 879 |
(PigPug::getNextUnifier): updated comment |
| 880 |
(PigPug::dump): deleted |
| 881 |
(PigPug::dumpWord): deleted |
| 882 |
|
| 883 |
2020-09-28 Steven Eker <eker2@eker10> |
| 884 |
|
| 885 |
* rope.cc: added missing copyright notice |
| 886 |
(Rope::const_iterator::operator==): deleted commented out code |
| 887 |
(Rope::addFragment): turned commented out code into #ifdef'd code |
| 888 |
(Rope::operator+): turned commented out code into #ifdef'd code |
| 889 |
(Rope::rebalance): turned commented out code into #ifdef'd code |
| 890 |
|
| 891 |
* rope.hh: added reference to orginal ropes paper |
| 892 |
|
| 893 |
===================================Maude131=================================== |
| 894 |
|
| 895 |
2020-08-03 Steven Eker <eker2@eker10> |
| 896 |
|
| 897 |
* wordLevel.cc (WordLevel::makePigPug): temporarily disable PigPug |
| 898 |
equateOptimization until more consideration |
| 899 |
|
| 900 |
2020-07-31 Steven Eker <eker2@eker10> |
| 901 |
|
| 902 |
* wordSystem.cc (WordSystem::WordSystem): take |
| 903 |
identityOptimizations flag and pass it to WordLevel() |
| 904 |
|
| 905 |
* wordLevel.cc (WordLevel::makeNewLevel): pass |
| 906 |
identityOptimizations flag to WordLevel() |
| 907 |
|
| 908 |
* wordLevel-selections.cc (WordLevel::exploreSelections): pass |
| 909 |
identityOptimizations flag to WordLevel() |
| 910 |
|
| 911 |
* wordLevel.cc: take and init identityOptimizations |
| 912 |
(WordLevel::makePigPug): pass equateOptimization flag to PigPug |
| 913 |
|
| 914 |
* wordLevel.hh (class WordLevel): updated decl for makePigPug() |
| 915 |
(class WordLevel): added data member identityOptimizations; |
| 916 |
updated decl for ctor; made levelType const |
| 917 |
|
| 918 |
* wordLevel.cc (WordLevel::chooseEquation): new semantics |
| 919 |
(WordLevel::findNextPartialSolution): new chooseEquation() and |
| 920 |
makePigPug() semantics |
| 921 |
|
| 922 |
* wordLevel.hh (class WordLevel): added enum Linearity |
| 923 |
(class WordLevel): updated decl for chooseEquation() |
| 924 |
|
| 925 |
* pigPug.hh (class PigPug): added data member equateOptimization; |
| 926 |
added decl for doublePeelPossible(); updated decl for ctor |
| 927 |
|
| 928 |
* pigPug.cc: take an init equateOptimization flag |
| 929 |
|
| 930 |
* pigPug-search.cc (PigPug::doublePeelPossible): added |
| 931 |
|
| 932 |
2020-07-02 Steven Eker <eker2@eker10> |
| 933 |
|
| 934 |
* wordLevel-selections.cc (WordLevel::exploreSelections): pass |
| 935 |
this to WordLevel ctor |
| 936 |
|
| 937 |
* wordLevel.hh (WordLevel::setTheoryConstraint): added decl for |
| 938 |
insertCombination() |
| 939 |
|
| 940 |
* wordLevel-selections.cc (WordLevel::insertCombination): added |
| 941 |
|
| 942 |
* wordLevel.cc (WordLevel::WordLevel) : take parent argument |
| 943 |
(WordLevel::findNextPartialSolution): call insertCombination() to |
| 944 |
see if we've already tried this combination of variables set to |
| 945 |
empty |
| 946 |
|
| 947 |
* wordLevel.hh (class WordLevel): added data members |
| 948 |
finalCombinations, parent |
| 949 |
(class WordLevel): updated decl for ctor |
| 950 |
|
| 951 |
2020-07-01 Steven Eker <eker2@eker10> |
| 952 |
|
| 953 |
* wordLevel.cc (WordLevel::findNextPartialSolution): call |
| 954 |
levelFeasibleWithoutCollapse() for INITIAL and SELECTION levels |
| 955 |
|
| 956 |
* wordLevel-feasible.cc (WordLevel::levelFeasibleWithoutCollapse): |
| 957 |
added |
| 958 |
|
| 959 |
* wordLevel.hh (class WordLevel): added decl for |
| 960 |
feasibleWithoutCollapse() |
| 961 |
(WordLevel::legalWithoutCollapse): added |
| 962 |
(class WordLevel): added decl for levelFeasibleWithoutCollapse(); |
| 963 |
|
| 964 |
* wordLevel-feasible.cc: created |
| 965 |
|
| 966 |
* wordLevel-simplifyEquations.cc (WordLevel::simplifyEquation): |
| 967 |
call feasibleWithoutCollapse() for PIGPUG levels |
| 968 |
|
| 969 |
* wordLevel.cc (WordLevel::makeNewLevel): deleted old commented |
| 970 |
out code for copying constraintMap into new level |
| 971 |
(WordLevel::findNextPartialSolution): expanded comments |
| 972 |
|
| 973 |
* wordLevel.hh (class WordLevel): updated decl for trySelection() |
| 974 |
|
| 975 |
* wordLevel.cc (WordLevel::findNextPartialSolution): handle |
| 976 |
preservation of incompleteness flag from final PigPug result |
| 977 |
ourselves; don't pass it to trySelection() |
| 978 |
|
| 979 |
* wordLevel-selections.cc (WordLevel::trySelection): don't take |
| 980 |
result argument; simplfied return value |
| 981 |
|
| 982 |
2020-06-30 Steven Eker <eker2@eker10> |
| 983 |
|
| 984 |
* wordLevel-simplifyEquations.cc (WordLevel::makeAssignment): |
| 985 |
don't check for bounds violations in INITIAL and SELECTION levels; |
| 986 |
don't call resolveOccursCheckFailure() in PIGPUG levels |
| 987 |
(WordLevel::cancel): don't consider canTakeEmpty() in PIGPUG levels |
| 988 |
(WordLevel::makeAssignment): don't bother with checking |
| 989 |
canTakeEmpty() before incrementing needed since we only use needed |
| 990 |
in PIGPUG levels |
| 991 |
|
| 992 |
* wordLevel-null.cc (WordLevel::handleNullEquations) |
| 993 |
(WordLevel::resolveOccursCheckFailure): Assert() that they are not |
| 994 |
called in PIGPUG level |
| 995 |
|
| 996 |
* wordLevel-simplifyAssignments.cc |
| 997 |
(WordLevel::reallyExpandAssignment): use isUnbounded() rather than |
| 998 |
checking getUpperBound() against 0 |
| 999 |
|
| 1000 |
* wordLevel-simplifyEquations.cc (WordLevel::simplifyEquation): |
| 1001 |
don't check for null equations after expansion in PIGPUG levels |
| 1002 |
|
| 1003 |
* wordLevel-simplifyAssignments.cc |
| 1004 |
(WordLevel::reallyExpandAssignment): allow |
| 1005 |
resolveOccursCheckFailure() to be called in SELECTION level |
| 1006 |
|
| 1007 |
* wordLevel-selections.cc (WordLevel::trySelection): implemented |
| 1008 |
(WordLevel::exploreSelections): implemented |
| 1009 |
|
| 1010 |
2020-06-29 Steven Eker <eker2@eker10> |
| 1011 |
|
| 1012 |
* wordLevel.hh (class WordLevel): added decls for trySelection(), |
| 1013 |
exploreSelections() |
| 1014 |
|
| 1015 |
* wordLevel.cc (WordLevel::WordLevel): clear selection |
| 1016 |
(WordLevel::findNextPartialSolution): check for active selection; |
| 1017 |
try to set up selections if we're INITIAL and we run out of |
| 1018 |
solutions |
| 1019 |
|
| 1020 |
* wordSystem.cc (WordSystem::findNextSolution): don't qualify |
| 1021 |
OutcomeFlags |
| 1022 |
|
| 1023 |
* wordLevel.hh (class WordLevel): added date members idVariables, |
| 1024 |
selection |
| 1025 |
|
| 1026 |
2020-06-26 Steven Eker <eker2@eker10> |
| 1027 |
|
| 1028 |
* wordLevel-simplifyAssignments.cc |
| 1029 |
(WordLevel::fullyExpandAssignments): don't both with |
| 1030 |
handleNullEquations() if levelType is PIGPUG |
| 1031 |
(WordLevel::reallyExpandAssignment): only call |
| 1032 |
resolveOccursCheckFailure() if levelType is INITIAL |
| 1033 |
(WordLevel::reallyExpandAssignment): if we end up mapping a |
| 1034 |
variable to another variable, intersect their constraints; |
| 1035 |
otherwise check the length of the word against the variables |
| 1036 |
upperBound. |
| 1037 |
|
| 1038 |
* wordLevel.cc (WordLevel::simplify): only call |
| 1039 |
handleInitialOccursCheckFailure() for INITIAL WordLevel |
| 1040 |
|
| 1041 |
* wordSystem.cc (WordSystem::WordSystem): pass INTIAL as levelType |
| 1042 |
|
| 1043 |
* wordLevel.cc: take levelType |
| 1044 |
(WordLevel::makeNewLevel): pass PIGPUG as levelType |
| 1045 |
|
| 1046 |
* wordLevel.hh (class WordLevel): added enum LevelType |
| 1047 |
(class WordLevel): added data member levelType |
| 1048 |
(class WordLevel): updated decl for ctor |
| 1049 |
|
| 1050 |
* pigPug-checks.cc (PigPug::feasible): don't check canTakeEmpty() |
| 1051 |
- we won't try to deal with identity in PigPug after all |
| 1052 |
(PigPug::completed): remove comment about identity case since now |
| 1053 |
this will be dealt with outside of PigPug |
| 1054 |
|
| 1055 |
2020-06-25 Steven Eker <eker2@eker10> |
| 1056 |
|
| 1057 |
* pigPug-extract.cc (PigPug::extractUnifier): handle EQUATE | |
| 1058 |
FINAL case |
| 1059 |
|
| 1060 |
* pigPug-checks.cc (PigPug::completed): treat variable =? variable |
| 1061 |
as an EQUATE move for efficiency |
| 1062 |
(PigPug::completed): actually need to use EQUATE | FINAL to avoid |
| 1063 |
trying to undo a notional final move during backtracking |
| 1064 |
|
| 1065 |
* pigPug.hh (class PigPug): updated decl for composeFinal() |
| 1066 |
|
| 1067 |
* pigPug-extract.cc (PigPug::compose): 4 arg version renamed to |
| 1068 |
composeFinal() |
| 1069 |
(PigPug::extractUnifier): compose() -> composeFinal() |
| 1070 |
|
| 1071 |
2020-06-24 Steven Eker <eker2@eker10> |
| 1072 |
|
| 1073 |
* wordLevel-simplifyEquations.cc (WordLevel::makeAssignment): |
| 1074 |
rewritten to take account of variables in subword being able to |
| 1075 |
take identity and therefore not counting against upper sort bound |
| 1076 |
and occurs-check failure being resolvable. |
| 1077 |
|
| 1078 |
2020-06-23 Steven Eker <eker2@eker10> |
| 1079 |
|
| 1080 |
* wordSystem.hh (WordSystem::addNullEquation): added |
| 1081 |
|
| 1082 |
* wordLevel.hh (WordLevel::addNullEquation): added |
| 1083 |
|
| 1084 |
2020-06-22 Steven Eker <eker2@eker10> |
| 1085 |
|
| 1086 |
* wordLevel-simplifyEquations.cc (WordLevel::simplifyEquation): |
| 1087 |
check for singleton case after expanding each side |
| 1088 |
|
| 1089 |
* wordLevel-simplifyAssignments.cc (WordLevel::expandAssignment): |
| 1090 |
remove occurs-check code; Assert() that it doesn't happen |
| 1091 |
|
| 1092 |
* wordLevel.cc (WordLevel::simplify): call |
| 1093 |
handleInitialOccursCheckFailure() |
| 1094 |
|
| 1095 |
* wordLevel.hh (class WordLevel): added decl for |
| 1096 |
handleInitialOccursCheckFailure() |
| 1097 |
|
| 1098 |
* wordLevel-simplifyAssignments.cc (WordLevel::expandAssignment) |
| 1099 |
(WordLevel::reallyExpandAssignment): added DebugEnter() |
| 1100 |
(WordLevel::handleInitialOccursCheckFailure): added |
| 1101 |
|
| 1102 |
* wordLevel-simplifyEquations.cc (WordLevel::simplifyEquation): |
| 1103 |
added DebugEnter() |
| 1104 |
(WordLevel::simplifyEquation): added DebugInfo() for after |
| 1105 |
expansion |
| 1106 |
(WordLevel::checkForNull): added |
| 1107 |
(WordLevel::simplifyEquation): call checkForNull() after expansion |
| 1108 |
|
| 1109 |
* pigPug.cc: Assert() that lhs and rhs are larger than one |
| 1110 |
variable each |
| 1111 |
|
| 1112 |
2020-06-18 Steven Eker <eker2@eker10> |
| 1113 |
|
| 1114 |
* wordLevel-null.cc (WordLevel::resolveOccursCheckFailure): added |
| 1115 |
DebugInfo()s when we bind a variable to empty |
| 1116 |
(WordLevel::handleNullEquations): added DebugInfo() when we bind a |
| 1117 |
variable to empty |
| 1118 |
(WordLevel::resolveOccursCheckFailure): need to deal with the case |
| 1119 |
that a variable other than index appears multiple times in |
| 1120 |
newValue |
| 1121 |
|
| 1122 |
* wordLevel-simplifyAssignments.cc (WordLevel::expandAssignment): |
| 1123 |
added DebugInfo() for occur-check failure case |
| 1124 |
|
| 1125 |
* wordLevel.hh (class WordLevel): added typedef for |
| 1126 |
NullEquationQueue, nullEquations data member |
| 1127 |
|
| 1128 |
* wordLevel-simplifyAssignments.cc (WordLevel::expandAssignment): |
| 1129 |
call resolveOccursCheckFailure() |
| 1130 |
(WordLevel::append): do the append even if there is an |
| 1131 |
occurs-check failure |
| 1132 |
(WordLevel::fullyExpandAssignments): call handleNullEquations() |
| 1133 |
(WordLevel::reallyExpandAssignment): track occurs-check failure |
| 1134 |
and call resolveOccursCheckFailure() |
| 1135 |
|
| 1136 |
* wordLevel.hh (class WordLevel): added decls for |
| 1137 |
handleNullEquations(), resolveOccursCheckFailure() |
| 1138 |
|
| 1139 |
* wordLevel-null.cc: created |
| 1140 |
|
| 1141 |
2020-06-17 Steven Eker <eker2@eker10> |
| 1142 |
|
| 1143 |
* wordLevel-simplifyAssignments.cc (WordLevel::expandAssignment): |
| 1144 |
we need to deal with occurs-check failure here after all because |
| 1145 |
bad assignments could come in from outside of WordSystem and we |
| 1146 |
need the WordLevel complete with constraints to resolve these |
| 1147 |
properly |
| 1148 |
|
| 1149 |
* wordLevel.cc (WordLevel::findNextPartialSolution): added FIXME |
| 1150 |
about adding a Diophantine check - this is a low priority |
| 1151 |
enhancement we might add in the future |
| 1152 |
|
| 1153 |
* pigPug-checks.cc (PigPug::completed): handle constraints in the |
| 1154 |
optimal way using the meet for lastLhsVar =? lastRhsVar case |
| 1155 |
(PigPug::completed): replaced FIXME comment for the equal variable |
| 1156 |
case with an explanation of why nothing needs to be done |
| 1157 |
|
| 1158 |
2020-06-16 Steven Eker <eker2@eker10> |
| 1159 |
|
| 1160 |
* pigPug.hh (class PigPug): added decl for unificand version of |
| 1161 |
checkConstraintMap() |
| 1162 |
|
| 1163 |
* pigPug-search.cc (PigPug::undoMove): handle the case where a |
| 1164 |
FINAL move pushed the constraintStack |
| 1165 |
|
| 1166 |
* pigPug-checks.cc (PigPug::completed): call checkConstraintMap() |
| 1167 |
for variable |-> unificand cases |
| 1168 |
|
| 1169 |
* pigPug-stack.cc (PigPug::checkConstraintMap): added version for |
| 1170 |
variable vs unificand |
| 1171 |
|
| 1172 |
* pigPug.cc: added |
| 1173 |
|
| 1174 |
* pigPug.hh: added decl for operator<<() |
| 1175 |
|
| 1176 |
* wordLevel.hh (class WordLevel): updated decl for makeNewLevel() |
| 1177 |
|
| 1178 |
* pigPug.hh (class PigPug): updated decls for extractUnifier() and |
| 1179 |
getNextUnifier() |
| 1180 |
|
| 1181 |
* wordLevel.cc (WordLevel::findNextPartialSolution): pass |
| 1182 |
constraintMap to getNextUnifier() and makeNewLevel |
| 1183 |
(WordLevel::makeNewLevel): take constraintMap; use it to |
| 1184 |
initialize next level |
| 1185 |
|
| 1186 |
* pigPug-extract.cc (PigPug::extractUnifier): take and fillout |
| 1187 |
constraintMap argument |
| 1188 |
|
| 1189 |
* pigPug.cc (PigPug::getNextUnifier): take constraintMap argument |
| 1190 |
|
| 1191 |
2020-06-15 Steven Eker <eker2@eker10> |
| 1192 |
|
| 1193 |
* wordLevel.hh (class WordLevel): updated decl for |
| 1194 |
reallyExpandAssignment() |
| 1195 |
|
| 1196 |
* wordLevel-simplifyAssignments.cc (WordLevel::expandAssignment): |
| 1197 |
added Assert() that we don't have occurs-check issue in assignment |
| 1198 |
(WordLevel::expandAssignment): don't handle occurs-check here |
| 1199 |
(WordLevel::append): use range-based for loop |
| 1200 |
(WordLevel::expandAssignment): use range-based for loop |
| 1201 |
(WordLevel::reallyExpandAssignment): simplified by not trying to |
| 1202 |
be clever about avoiding repetition of initial scan - the saving |
| 1203 |
was neglible in most cases and not worth passing two extra |
| 1204 |
arguments |
| 1205 |
|
| 1206 |
2020-06-09 Steven Eker <eker2@eker10> |
| 1207 |
|
| 1208 |
* macros.hh (DebugOld): added |
| 1209 |
|
| 1210 |
2020-05-29 Steven Eker <eker2@eker10> |
| 1211 |
|
| 1212 |
* wordSystem.hh (WordSystem::setTakeEmpty): added |
| 1213 |
|
| 1214 |
* wordLevel.hh (WordLevel::setTakeEmpty): added |
| 1215 |
|
| 1216 |
2020-05-20 Steven Eker <eker2@eker10> |
| 1217 |
|
| 1218 |
* vector.hh (Vector): added default ctor without default |
| 1219 |
arguments so we can initialize without have a default ctor |
| 1220 |
for our elements |
| 1221 |
|
| 1222 |
2020-04-29 Steven Eker <eker2@eker10> |
| 1223 |
|
| 1224 |
* timeStuff.hh (timespecCompare): added |
| 1225 |
(timespecSubtract): added |
| 1226 |
|
| 1227 |
2020-04-08 Steven Eker <eker2@eker9> |
| 1228 |
|
| 1229 |
* macros.hh: added DebugAlways() |
| 1230 |
|
| 1231 |
===================================Maude128a=================================== |
| 1232 |
|
| 1233 |
2020-02-28 Steven Eker <eker@mu> |
| 1234 |
|
| 1235 |
* variableConstraint.hh (none): deleted |
| 1236 |
|
| 1237 |
* pigPug.cc (variableOccurrencesBoundedBy2): use isUnbounded() rather |
| 1238 |
than none() |
| 1239 |
|
| 1240 |
* variableConstraint.hh (V): commented out decl for absorb() |
| 1241 |
|
| 1242 |
* variableConstraint.cc (absorb): commented out for the |
| 1243 |
moment |
| 1244 |
|
| 1245 |
* variableConstraint.hh (notNone): deleted |
| 1246 |
(element): deleted |
| 1247 |
|
| 1248 |
2020-02-27 Steven Eker <eker@mu> |
| 1249 |
|
| 1250 |
* pigPug-search.cc (rhsPeel): restructured replacement |
| 1251 |
code; added Assert()s |
| 1252 |
(lhsPeel): restructured replacement code; added Assert()s |
| 1253 |
|
| 1254 |
2020-02-26 Steven Eker <eker@mu> |
| 1255 |
|
| 1256 |
* pigPug-search.cc (equate): restructured and simplified |
| 1257 |
|
| 1258 |
2020-02-25 Steven Eker <eker@mu> |
| 1259 |
|
| 1260 |
* pigPug-search.cc (equate): complete rewrite to fix several |
| 1261 |
bugs introduced by using VariableConstraint |
| 1262 |
|
| 1263 |
2020-02-24 Steven Eker <eker@mu> |
| 1264 |
|
| 1265 |
* pigPug-stack.cc (checkConstraintMap): fix bug where we weren't |
| 1266 |
reducing the bound of otherVariable if it was unbounded and |
| 1267 |
knownBigVariable had a finite bound |
| 1268 |
|
| 1269 |
2020-02-18 Steven Eker <eker@mu> |
| 1270 |
|
| 1271 |
* pigPug.cc (getNextUnifier): replace goto with do-while loop |
| 1272 |
|
| 1273 |
* pigPug.hh (P): updated decls for compose2()/compose() |
| 1274 |
|
| 1275 |
* pigPug-extract.cc (compose): check for upperBound |
| 1276 |
being exceeded |
| 1277 |
(compose2): return false if upperBound exceeded |
| 1278 |
(compose): return false if upperBound exceeded |
| 1279 |
(extractUnifier): check for compose2()/compose() returnin |
| 1280 |
false |
| 1281 |
|
| 1282 |
* pigPug.cc (getNextUnifier): check for extractUnifier() |
| 1283 |
returning NONE |
| 1284 |
|
| 1285 |
* pigPug-extract.cc (compose2): added test for upperBound |
| 1286 |
being exceeded |
| 1287 |
|
| 1288 |
2020-02-14 Steven Eker <eker@mu> |
| 1289 |
|
| 1290 |
* pigPug-extract.cc (compose): use range-based |
| 1291 |
for loop |
| 1292 |
(renameVariables): use range-based for loop |
| 1293 |
|
| 1294 |
2020-02-03 Steven Eker <eker@mu> |
| 1295 |
|
| 1296 |
* pigPug.hh (P): added dummy field to StateInfo |
| 1297 |
|
| 1298 |
2020-01-31 Steven Eker <eker@mu> |
| 1299 |
|
| 1300 |
* pigPug-search.cc (nextMove): ALL_MOVES -> BASIC_MOVES |
| 1301 |
|
| 1302 |
* pigPug.hh (P): deleted BOTH and MOVES from enum Moves |
| 1303 |
(P): re-number enum Moves |
| 1304 |
|
| 1305 |
* pigPug-cycleDetection.cc (nextMoveWithCycleDetection): |
| 1306 |
BOTH -> BASIC_MOVES or EQUATE depending on context |
| 1307 |
|
| 1308 |
* pigPug-search.cc (nextMove): MOVES -> ALL_MOVES; |
| 1309 |
|
| 1310 |
* pigPug-extract.cc (extractUnifier): MOVES -> ALL_MOVES; |
| 1311 |
RHS_PEEL | LHS_PEEL -> EQUATE |
| 1312 |
|
| 1313 |
* pigPug.hh (P): added ALL_MOVES to enum Moves |
| 1314 |
|
| 1315 |
* pigPug-search.cc (cancel): RHS_PEEL | LHS_PEEL -> EQUATE |
| 1316 |
|
| 1317 |
* pigPug.hh (P): added BASIC_MOVES to enum Moves |
| 1318 |
|
| 1319 |
* pigPug-search.cc (nextMove): BOTH -> EQUATE |
| 1320 |
(equate): RHS_PEEL | LHS_PEEL -> EQUATE |
| 1321 |
|
| 1322 |
* pigPug.hh (P): added EQUATE to enum Moves |
| 1323 |
|
| 1324 |
* pigPug-cycleDetection.cc (nextMoveWithCycleDetection): |
| 1325 |
INC_RHS -> RHS_PEEL |
| 1326 |
|
| 1327 |
* pigPug-extract.cc: INC_LHS -> LHS_PEEL, INC_RHS -> RHS_PEEL |
| 1328 |
|
| 1329 |
* pigPug-search.cc: INC_LHS -> LHS_PEEL, INC_RHS -> RHS_PEEL |
| 1330 |
|
| 1331 |
* pigPug.hh: INC_LHS -> LHS_PEEL, INC_RHS -> RHS_PEEL |
| 1332 |
|
| 1333 |
2020-01-30 Steven Eker <eker@mu> |
| 1334 |
|
| 1335 |
* pigPug.hh (P): rhsPeelGeneralCase() decl -> rhsPeel(); |
| 1336 |
lhsPeelGeneralCase() decl -> lhsPeel() |
| 1337 |
|
| 1338 |
* pigPug-cycleDetection.cc (firstMoveWithCycleDetection): |
| 1339 |
rhsPeelGeneralCase() -> rhsPeel(); |
| 1340 |
lhsPeelGeneralCase() -> lhsPeel() |
| 1341 |
(nextMoveWithCycleDetection): lhsPeelGeneralCase() -> lhsPeel() |
| 1342 |
|
| 1343 |
* pigPug-search.cc (rhsPeelGeneralCase): becomes rhsPeel() |
| 1344 |
(lhsPeelGeneralCase): becomes lhsPeel() |
| 1345 |
(firstMove): rhsPeelGeneralCase() -> rhsPeel(); |
| 1346 |
lhsPeelGeneralCase() -> lhsPeel() |
| 1347 |
(nextMove): lhsPeelGeneralCase() -> lhsPeel() |
| 1348 |
|
| 1349 |
2020-01-24 Steven Eker <eker@mu> |
| 1350 |
|
| 1351 |
* pigPug-extract.cc (extractUnifier): use range based for loop |
| 1352 |
(collectRangeVariables): use range based for loops |
| 1353 |
|
| 1354 |
* pigPug.cc (variableOccurrencesBoundedBy2): use range based |
| 1355 |
for loops |
| 1356 |
(dumpWord): use range based for loop |
| 1357 |
|
| 1358 |
* wordLevel.cc (checkUnconstrainedVariables): use range based |
| 1359 |
for loop |
| 1360 |
(dumpWord): use range based for loop |
| 1361 |
(makeNewLevel): use range based for loop |
| 1362 |
|
| 1363 |
2020-01-23 Steven Eker <eker@mu> |
| 1364 |
|
| 1365 |
* pigPug-extract.cc (extractUnifier): added comments |
| 1366 |
|
| 1367 |
2020-01-22 Steven Eker <eker@mu> |
| 1368 |
|
| 1369 |
* pigPug.hh (P): deleted declaration for occurs() |
| 1370 |
|
| 1371 |
* pigPug-checks.cc (if): deleted |
| 1372 |
(completed): rewritten to use feasible() |
| 1373 |
|
| 1374 |
* pigPug.hh (P): delete decls for canCancelUnconstrained(), |
| 1375 |
feasibleGeneralCase(), fullyConstrained() |
| 1376 |
|
| 1377 |
* pigPug-checks.cc (feasible, fullyConstrained) |
| 1378 |
(feasibleGeneralCase, canCancelUnconstrained): deleted old code |
| 1379 |
|
| 1380 |
2020-01-21 Steven Eker <eker@mu> |
| 1381 |
|
| 1382 |
* pigPug-cycleDetection.cc (firstMoveWithCycleDetection): use |
| 1383 |
new feasible() |
| 1384 |
|
| 1385 |
* pigPug-search.cc (firstMove): use new feasible() |
| 1386 |
|
| 1387 |
* pigPug-checks.cc (feasible): added upperbounds > 1 and |
| 1388 |
identity aware version |
| 1389 |
|
| 1390 |
2020-01-17 Steven Eker <eker@mu> |
| 1391 |
|
| 1392 |
* pigPug.hh (P): deleted decls for lhsPeel(), rhsPeel() |
| 1393 |
|
| 1394 |
* pigPug-search.cc (rhsPeelGeneralCase, lhsPeelGeneralCase): use |
| 1395 |
checkConstraintMap() |
| 1396 |
|
| 1397 |
* pigPug.hh (P): added decl for checkConstraintMap() |
| 1398 |
|
| 1399 |
* pigPug-stack.cc (checkConstraintMap): added |
| 1400 |
|
| 1401 |
* pigPug-search.cc (firstMove): always use rhsPeelGeneralCase(), |
| 1402 |
lhsPeelGeneralCase(), now that we can be strictLeftLinear with variables |
| 1403 |
shared between lhs and rhs having upperbound > 1 |
| 1404 |
(nextMove): always use lhsPeelGeneralCase() for same reason |
| 1405 |
(rhsPeel, lhsPeel): deleted |
| 1406 |
(rhsPeelGeneralCase): use getUpperBound() rather than notNone(); check |
| 1407 |
for unbounded lhs variable and non-strictLeftLinear before looking |
| 1408 |
for expansions |
| 1409 |
(lhsPeelGeneralCase): use getUpperBound rather than notNone(); check |
| 1410 |
for unbounded rhs variable and non-strictLeftLinear befor trying to |
| 1411 |
expand lhs |
| 1412 |
(undoMove): pop constraint map if move contained PUSH_CONSTRAINT_MAP |
| 1413 |
|
| 1414 |
2020-01-16 Steven Eker <eker@mu> |
| 1415 |
|
| 1416 |
* pigPug.cc (PigPug): added DebugEnter() |
| 1417 |
|
| 1418 |
* variableConstraint.hh (V): made canTakeEmpty() public |
| 1419 |
|
| 1420 |
* wordLevel-simplifyEquations.cc (cancel): use getUpperBound(); account |
| 1421 |
for the possibility of variables that can take identity |
| 1422 |
|
| 1423 |
* variableConstraint.hh (V): make hasTheoryConstraint() and |
| 1424 |
getTheoryConstraint() public |
| 1425 |
|
| 1426 |
* wordLevel-simplifyEquations.cc (unifyVariables): rewritten to consider |
| 1427 |
upperbounds other than 1 |
| 1428 |
|
| 1429 |
2020-01-14 Steven Eker <eker@mu> |
| 1430 |
|
| 1431 |
* variableConstraint.hh (V): make isUnbounded() and getUpperBound() public |
| 1432 |
|
| 1433 |
* wordLevel-simplifyEquations.cc (makeAssignment): use getUpperBound() |
| 1434 |
rather than notNone() for a precise check of whether the assignment |
| 1435 |
is allowed |
| 1436 |
|
| 1437 |
* wordLevel.cc (checkUnconstrainedVariables): use isUnbounded() |
| 1438 |
rather than none() since we are only worried about nonlinearity |
| 1439 |
in variables that don't have any upper-bound; having an upper-bound |
| 1440 |
>1 is no longer a concern |
| 1441 |
|
| 1442 |
2020-01-09 Steven Eker <eker@mu> |
| 1443 |
|
| 1444 |
* pigPug-stack.cc (checkUnificand2): updated comment |
| 1445 |
|
| 1446 |
2020-01-08 Steven Eker <eker@mu> |
| 1447 |
|
| 1448 |
* pigPug.hh: deleted commented out constraintMap decl. |
| 1449 |
|
| 1450 |
===================================Maude128 resumed=================================== |
| 1451 |
|
| 1452 |
2019-09-20 Steven Eker <eker@mu> |
| 1453 |
|
| 1454 |
* pigPug-checks.cc (completed): append LHS_TAKES_ALL, |
| 1455 |
RHS_TAKES_ALL on path unless we have equal variables or |
| 1456 |
incompatible constraints |
| 1457 |
|
| 1458 |
* pigPug-extract.cc (extractUnifier): use LHS_TAKES_ALL, |
| 1459 |
RHS_TAKES_ALL to do final composition |
| 1460 |
|
| 1461 |
* pigPug.hh (P): added FINAL, LHS_TAKES_ALL, RHS_TAKES_ALL |
| 1462 |
to enum Moves |
| 1463 |
|
| 1464 |
* pigPug-search.cc (undoMove): check for FINAL moves |
| 1465 |
|
| 1466 |
2019-09-19 Steven Eker <eker@mu> |
| 1467 |
|
| 1468 |
* pigPug.hh (P): added PUSH_CONSTRAINT_MAP to enum Moves |
| 1469 |
|
| 1470 |
* variableConstraint.hh (V): added decl for absorb() |
| 1471 |
|
| 1472 |
* variableConstraint.cc (absorb): added |
| 1473 |
|
| 1474 |
2019-09-18 Steven Eker <eker@mu> |
| 1475 |
|
| 1476 |
* variableConstraint.hh (V): added decl for intersect() |
| 1477 |
|
| 1478 |
* variableConstraint.cc: added |
| 1479 |
|
| 1480 |
2019-09-16 Steven Eker <eker@mu> |
| 1481 |
|
| 1482 |
* pigPug.hh (P): deleted data member constraintMap |
| 1483 |
|
| 1484 |
* pigPug.cc (PigPug): don't init constraintMap |
| 1485 |
|
| 1486 |
* pigPug-search.cc (lhsPeel, lhsPeelGeneralCase, equate): |
| 1487 |
use constraintStack |
| 1488 |
|
| 1489 |
* pigPug-checks.cc (fullyConstrained, canCancelUnconstrained) |
| 1490 |
(completed): use constraintStack |
| 1491 |
|
| 1492 |
* pigPug-extract.cc (extractUnifier): use constraintStack |
| 1493 |
|
| 1494 |
2019-09-13 Steven Eker <eker@mu> |
| 1495 |
|
| 1496 |
* pigPug-search.cc (rhsPeel): use constraintStack |
| 1497 |
(rhsPeelGeneralCase): use constraintStack; update comments |
| 1498 |
|
| 1499 |
* pigPug.cc (PigPug): initialize constraintStack |
| 1500 |
(variableOccurrencesBoundedBy2): use constraintStack |
| 1501 |
|
| 1502 |
* pigPug.hh (P): added typedef ConstraintStack |
| 1503 |
(P): added data member constraintStack |
| 1504 |
|
| 1505 |
* pigPug-stack.cc (checkUnificand, checkUnificand2): moved here |
| 1506 |
|
| 1507 |
* pigPug-checks.cc (feasible, fullyConstrained) |
| 1508 |
(feasibleGeneralCase, canCancelUnconstrained, completed, occurs): |
| 1509 |
moved here |
| 1510 |
|
| 1511 |
* pigPug-search.cc (run, firstMove, nextMove, cancel, rhsPeel) |
| 1512 |
(rhsPeelGeneralCase, lhsPeelGeneralCase, lhsPeel): moved here |
| 1513 |
(cancel): comments and code cleaning |
| 1514 |
(run): comments |
| 1515 |
(feasible): moved here |
| 1516 |
(equate): moved here |
| 1517 |
(undoMove): moved here |
| 1518 |
(fullyConstrained): moved here |
| 1519 |
(feasibleGeneralCase, canCancelUnconstrained): moved here |
| 1520 |
|
| 1521 |
* wordLevel-simplifyEquations.cc (cancel): use |
| 1522 |
notNone() |
| 1523 |
(unifyVariables): use none(), notNone(), element(), |
| 1524 |
== |
| 1525 |
(makeAssignment): use notNone() |
| 1526 |
|
| 1527 |
* wordLevel.cc (checkUnconstrainedVariables): use |
| 1528 |
none() |
| 1529 |
|
| 1530 |
* pigPug.cc: replace all changes with simpler |
| 1531 |
calls to fix mysterious bug |
| 1532 |
|
| 1533 |
2019-09-11 Steven Eker <eker@mu> |
| 1534 |
|
| 1535 |
* wordLevel-simplifyEquations.cc (cancel): use new |
| 1536 |
constraintMap semantics |
| 1537 |
(unifyVariables): use new constraintMap semantics |
| 1538 |
(makeAssignment): use new constraintMap semantics |
| 1539 |
|
| 1540 |
* wordSystem.hh (addConstraint): deleted |
| 1541 |
(setUpperBound): added |
| 1542 |
(setTheoryConstraint): added |
| 1543 |
|
| 1544 |
* pigPug.hh (P): deleted enum Constraints |
| 1545 |
|
| 1546 |
* wordLevel.hh (addConstraint): deleted |
| 1547 |
(setTheoryConstraint): added |
| 1548 |
(setUpperBound): added |
| 1549 |
|
| 1550 |
* variableConstraint.cc: created |
| 1551 |
|
| 1552 |
2019-09-10 Steven Eker <eker@mu> |
| 1553 |
|
| 1554 |
* wordLevel.cc (WordLevel): no need to initialize |
| 1555 |
constraintMap |
| 1556 |
(makeNewLevel): don't use addConstraint() |
| 1557 |
(checkUnconstrainedVariables): use new constraintMap semantics |
| 1558 |
(dump): use new constraintMap semantics |
| 1559 |
|
| 1560 |
* pigPug.hh (P): ConstraintMap is now Vector<VariableConstraint> |
| 1561 |
|
| 1562 |
* pigPug.cc (variableOccurrencesBoundedBy2): use new constraintMap |
| 1563 |
semantics |
| 1564 |
(rhsPeel): use new constraintMap semantics |
| 1565 |
(equate): use new constraintMap semantics |
| 1566 |
(lhsPeel): use new constraintMap semantics |
| 1567 |
(lhsPeelGeneralCase): use new constraintMap semantics |
| 1568 |
(rhsPeelGeneralCase): use new constraintMap semantics |
| 1569 |
(fullyConstrained): use new constraintMap semantics |
| 1570 |
(canCancelUnconstrained): use new constraintMap semantics |
| 1571 |
(extractUnifier): use new constraintMap semantics |
| 1572 |
(completed): use new constraintMap semantics |
| 1573 |
|
| 1574 |
* variableConstraint.hh: created |
| 1575 |
|
| 1576 |
===================Maude124 (integrated with Maude128 on 2019-12-18)================== |
| 1577 |
|
| 1578 |
2019-12-17 Steven Eker <eker@mu> |
| 1579 |
|
| 1580 |
* macros.cc (doubleToString): use ::isnan() and ::isinf() to avoid |
| 1581 |
ambiguity with older compilers |
| 1582 |
|
| 1583 |
===================================Maude128=========================================== |
| 1584 |
|
| 1585 |
2019-12-16 Steven Eker <eker@mu> |
| 1586 |
|
| 1587 |
* bddUser.hh (B): reverted to DEFAULT_NR_VARIABLES = 100 after |
| 1588 |
a report of a problem under Linux (though not Darwin) |
| 1589 |
|
| 1590 |
===================================Maude127a=========================================== |
| 1591 |
|
| 1592 |
2019-12-05 Steven Eker <eker@mu> |
| 1593 |
|
| 1594 |
* macros.hh: added extern decl for returnValueDump |
| 1595 |
|
| 1596 |
* macros.cc: added returnValueDump global variable |
| 1597 |
|
| 1598 |
2019-12-04 Steven Eker <eker@mu> |
| 1599 |
|
| 1600 |
* rope.cc (+): use DebugSave() to avoid warning about unused variable |
| 1601 |
|
| 1602 |
* macros.hh (DebugSave): added |
| 1603 |
|
| 1604 |
2019-12-03 Steven Eker <eker@mu> |
| 1605 |
|
| 1606 |
* macros.hh (safeCastNonNull): added |
| 1607 |
|
| 1608 |
===================================Maude127=========================================== |
| 1609 |
|
| 1610 |
2019-07-23 Steven Eker <eker@mu> |
| 1611 |
|
| 1612 |
* rope.cc (rebuildStack): Assert() that we're not an iterator to an empty |
| 1613 |
Rope and not out of range; don't try to fix out of range error |
| 1614 |
|
| 1615 |
* bddUser.cc (~BddUser): deleted; we no longer tear down and reinitialize |
| 1616 |
BuDDy to avoid a memory corruption bug |
| 1617 |
(BddUser): update buddyInitialized rather than nrUsers |
| 1618 |
|
| 1619 |
* bddUser.hh (B): delete decl for ~BddUser() |
| 1620 |
(B): deleted static data member nrUsers |
| 1621 |
(B): added static data member buddyInitialized |
| 1622 |
(B): change DEFAULT_NR_VARIABLES = 10 since we seem to have avoided |
| 1623 |
the BuDDy bug |
| 1624 |
|
| 1625 |
2019-07-17 Steven Eker <eker@mu> |
| 1626 |
|
| 1627 |
* bddUser.hh (B): change DEFAULT_NR_VARIABLES = 100 since it appears |
| 1628 |
that increasing the number of variable mid-computation may be breaking |
| 1629 |
BuDDy |
| 1630 |
|
| 1631 |
2019-07-12 Steven Eker <eker@mu> |
| 1632 |
|
| 1633 |
* macros.hh: added macro AlwaysAssert() |
| 1634 |
|
| 1635 |
* macros.cc: deleted stuff related to old STL extension |
| 1636 |
template rope<> |
| 1637 |
|
| 1638 |
|
| 1639 |
===================================Maude123=========================================== |
| 1640 |
|
| 1641 |
2019-05-24 Steven Eker <[email protected]> |
| 1642 |
|
| 1643 |
* rope.cc (+): reverted change so as not to break Assert() |
| 1644 |
|
| 1645 |
2019-05-23 Steven Eker <[email protected]> |
| 1646 |
|
| 1647 |
* rope.cc (+): remove unused variable len |
| 1648 |
|
| 1649 |
2019-05-22 Steven Eker <[email protected]> |
| 1650 |
|
| 1651 |
* macros.hh (DebugExit, DebugEnter, DebugInfo, DebugNew): define |
| 1652 |
NO_ASSERT versions |
| 1653 |
|
| 1654 |
2019-05-06 Steven Eker <[email protected]> |
| 1655 |
|
| 1656 |
* macros.hh: use Tty::REVERSE rather than Tty::BLINK for DebugNew() |
| 1657 |
|
| 1658 |
2019-05-03 Steven Eker <[email protected]> |
| 1659 |
|
| 1660 |
* macros.hh: added DebugNew() |
| 1661 |
|
| 1662 |
2019-04-10 Steven Eker <[email protected]> |
| 1663 |
|
| 1664 |
* macros.hh: added DebugEnter(), DebugExit() and DebugInfo() macros |
| 1665 |
|
| 1666 |
===================================Maude121=========================================== |
| 1667 |
|
| 1668 |
2017-07-27 Steven Eker <[email protected]> |
| 1669 |
|
| 1670 |
* macros.hh: forward decl for class Rope |
| 1671 |
|
| 1672 |
===================================Maude115=========================================== |
| 1673 |
|
| 1674 |
2017-06-21 Steven Eker <[email protected]> |
| 1675 |
|
| 1676 |
* macros.cc (doubleToString): use isinf() rather than deprecated finite() |
| 1677 |
|
| 1678 |
===================================Maude114=========================================== |
| 1679 |
|
| 1680 |
2017-04-04 Steven Eker <[email protected]> |
| 1681 |
|
| 1682 |
* decBuf.hh (insertDigit): fixed bug where Assert() was printing |
| 1683 |
the address of cerr |
| 1684 |
|
| 1685 |
===================================Maude112a=========================================== |
| 1686 |
|
| 1687 |
2017-03-15 Steven Eker <[email protected]> |
| 1688 |
|
| 1689 |
* natSet.cc (<): fix critical bug where we were putting Words from |
| 1690 |
the arrays into ints and losing the top 32 bits on a 64-bit machine |
| 1691 |
|
| 1692 |
===================================Maude112=========================================== |
| 1693 |
|
| 1694 |
2017-01-11 Steven Eker <[email protected]> |
| 1695 |
|
| 1696 |
* stack.hh: created |
| 1697 |
|
| 1698 |
===================================Maude111b=========================================== |
| 1699 |
|
| 1700 |
2016-10-12 Steven Eker <[email protected]> |
| 1701 |
|
| 1702 |
* intSystem.cc (initializeUpperBounds): fix warning about |
| 1703 |
signed/unsigned comparison in Assert() |
| 1704 |
|
| 1705 |
===================================Maude111=========================================== |
| 1706 |
|
| 1707 |
2016-06-27 Steven Eker <[email protected]> |
| 1708 |
|
| 1709 |
* pigPug-cycleDetection.cc (arrive): fixed type |
| 1710 |
|
| 1711 |
* pigPug.cc (PigPug): fixed two typos |
| 1712 |
(firstMove): fixed typo |
| 1713 |
|
| 1714 |
===================================Maude110b=========================================== |
| 1715 |
|
| 1716 |
2016-05-16 Steven Eker <[email protected]> |
| 1717 |
|
| 1718 |
* pigPug.cc (firstMove): only print one message per unification |
| 1719 |
subproblem about hitting depth bound |
| 1720 |
|
| 1721 |
2016-05-11 Steven Eker <[email protected]> |
| 1722 |
|
| 1723 |
* wordLevel.cc (chooseEquation): prefer an equation with disjoint lhs/rhs |
| 1724 |
variable sets |
| 1725 |
|
| 1726 |
* pigPug.cc (dump): conditional compile |
| 1727 |
(dumpWord): conditional compile |
| 1728 |
(dump): take stream argument |
| 1729 |
|
| 1730 |
* pigPug.hh (P): added declarations for arrive(), depart(), |
| 1731 |
confirmedLive() |
| 1732 |
(P): added typedefs CombinedWord, WordMap, StateStack and |
| 1733 |
struct StateInfo |
| 1734 |
(P): added data members wordMap, stateInfo and traversalStack |
| 1735 |
|
| 1736 |
* wordDigraph.cc: deleted |
| 1737 |
|
| 1738 |
* wordDigraph.hh: deleted |
| 1739 |
|
| 1740 |
* pigPug-cycleDetection.cc (arrive, depart, confirmedLive): |
| 1741 |
moved here from wordDiagraph.cc |
| 1742 |
|
| 1743 |
* macros.hh: Verbose now prints its output in cyan |
| 1744 |
|
| 1745 |
2016-05-10 Steven Eker <[email protected]> |
| 1746 |
|
| 1747 |
* pigPug.cc (canCancelUnconstrained): use lastOriginalVariable + 1 |
| 1748 |
rather than constraintMap.size() |
| 1749 |
|
| 1750 |
2016-05-09 Steven Eker <[email protected]> |
| 1751 |
|
| 1752 |
* wordDigraph.cc: rewritten |
| 1753 |
|
| 1754 |
* wordDigraph.hh: rewritten |
| 1755 |
|
| 1756 |
* pigPug.cc (undoMove): don't mask off flags |
| 1757 |
(cancel): use cancel flag |
| 1758 |
(nextMove): mask flags |
| 1759 |
|
| 1760 |
2016-05-06 Steven Eker <[email protected]> |
| 1761 |
|
| 1762 |
* pigPug.cc (variableOccurrencesBoundedBy2): fixed bug where we were zeroing |
| 1763 |
to vector pointer rather than vector entries |
| 1764 |
|
| 1765 |
* pigPug.hh (P): added decls for firstMoveWithCycleDetection(), |
| 1766 |
nextMoveWithCycleDetection(), runWithCycleDetection() |
| 1767 |
(P): added data member wordDigraph |
| 1768 |
|
| 1769 |
* pigPug-cycleDetection.cc (runWithCycleDetection): added |
| 1770 |
(firstMoveWithCycleDetection, nextMoveWithCycleDetection): added |
| 1771 |
|
| 1772 |
* pigPug.hh (P): updated decl for makeStateKey(); deleted typedefs |
| 1773 |
StateKey, StateMap; deleted struct StateValue |
| 1774 |
|
| 1775 |
* pigPug-cycleDetection.cc (makeStateKey): moved here; use WordDigraph::Word |
| 1776 |
|
| 1777 |
* pigPug.cc (getNextUnifier): use runWithCycleDetection() |
| 1778 |
(variableOccurrencesBoundedBy2): don't care about constrained variables |
| 1779 |
|
| 1780 |
* wordDigraph.hh: created |
| 1781 |
|
| 1782 |
* wordDiagraph.cc: created |
| 1783 |
|
| 1784 |
2016-05-05 Steven Eker <[email protected]> |
| 1785 |
|
| 1786 |
* pigPug.hh (P): added decl for variableOccurrencesBoundedBy2() |
| 1787 |
|
| 1788 |
* pigPug.cc (variableOccurrencesBoundedBy2): added |
| 1789 |
(PigPug): use variableOccurrencesBoundedBy2() |
| 1790 |
|
| 1791 |
* pigPug.hh (P): added decl for makeStateKey() |
| 1792 |
(P): added data member cycleDetection |
| 1793 |
|
| 1794 |
* pigPug.cc (makeStateKey): added |
| 1795 |
|
| 1796 |
* pigPug.hh (P): added struct StateValue, typedefs StateKey, StateMap |
| 1797 |
|
| 1798 |
* pigPug.cc (run): don't do depthBound check here |
| 1799 |
(firstMove): do depthBound check here |
| 1800 |
(firstMove, nextMove): change order of branching so equate steps |
| 1801 |
are done first |
| 1802 |
(checkUnificand2): delete Assert() that is no longer true in the |
| 1803 |
general case |
| 1804 |
(firstMove, nextMove): reverted order of branching; it's currently |
| 1805 |
important to have equate come last since it has the same move |
| 1806 |
code as cancel, and cancel must not have successors |
| 1807 |
|
| 1808 |
2016-05-04 Steven Eker <[email protected]> |
| 1809 |
|
| 1810 |
* pigPug.hh (P): updated decl for getNextUnifier() |
| 1811 |
|
| 1812 |
* wordLevel.cc (findNextPartialSolution): handle ReturnPair from |
| 1813 |
getNextUnifier() |
| 1814 |
|
| 1815 |
* pigPug.cc (PigPug): initialize incompletenessFlag |
| 1816 |
(getNextUnifier): return ResultPair rather than int |
| 1817 |
(run): set incompletenessFlag if we hit depthBound |
| 1818 |
|
| 1819 |
* pigPug.hh (P): added data member incompletenessFlag; added enum |
| 1820 |
OutcomeFlags; added typedef ResultPair |
| 1821 |
|
| 1822 |
* wordLevel.cc (chooseEquation): clean up |
| 1823 |
|
| 1824 |
2016-04-27 Steven Eker <[email protected]> |
| 1825 |
|
| 1826 |
* wordLevel.cc (chooseEquation): return flag to say if chosen equation |
| 1827 |
is strict left linear |
| 1828 |
(findNextPartialSolution): pass strictLeftLinear flag to makePigPug() |
| 1829 |
|
| 1830 |
* wordLevel.hh (W): updated decls for chooseEquation() and makePigPug() |
| 1831 |
|
| 1832 |
* wordLevel.cc (makePigPug): take and pass strictLeftLinear flag |
| 1833 |
|
| 1834 |
* pigPug.cc: use strictLeftLinear flag rather than using depthBound |
| 1835 |
as a proxy throughout code |
| 1836 |
(run): check depthBound |
| 1837 |
|
| 1838 |
* pigPug.hh (P): made lastOriginalVariable and freshVariableStart |
| 1839 |
const; made depthBound non-const; added strictLeftLinear; updated |
| 1840 |
decl for ctor |
| 1841 |
|
| 1842 |
2016-04-22 Steven Eker <[email protected]> |
| 1843 |
|
| 1844 |
* pigPug.cc (extractUnifier): handle the general case |
| 1845 |
(completed): do occur checks in general case |
| 1846 |
(completed): X =? X should not be an occur check fail |
| 1847 |
|
| 1848 |
2016-04-20 Steven Eker <[email protected]> |
| 1849 |
|
| 1850 |
* pigPug.cc (firstMove, nextMove): rewritten to handle general case |
| 1851 |
|
| 1852 |
2016-04-15 Steven Eker <[email protected]> |
| 1853 |
|
| 1854 |
* pigPug.hh (P): added decls for canCancelUnconstrained() and |
| 1855 |
feasibleGeneralCase() |
| 1856 |
|
| 1857 |
* pigPug.cc (equate): check for and handle the general case |
| 1858 |
(canCancelUnconstrained, feasibleGeneralCase): added |
| 1859 |
|
| 1860 |
* pigPug.hh (P): updated decl for ctor |
| 1861 |
(P): added data member depthBound; made lastOriginalVariable and |
| 1862 |
freshVariableStart const |
| 1863 |
|
| 1864 |
* pigPug.cc (rhsPeelGeneralCase): added |
| 1865 |
(PigPug): take and initialize depthBound |
| 1866 |
|
| 1867 |
* pigPug.hh (P): added decl for lhsPeelGeneralCase(); updated decl for |
| 1868 |
checkUnificand2() |
| 1869 |
|
| 1870 |
* pigPug.cc (undoMove): updated comment to mention general case |
| 1871 |
(checkUnificand2): now take offset argument rather than implicitly |
| 1872 |
assuming an offset of 1 |
| 1873 |
(lhsPeelGeneralCase): added |
| 1874 |
|
| 1875 |
2016-03-11 Steven Eker <[email protected]> |
| 1876 |
|
| 1877 |
* bddUser.cc (~BddUser): free and clear cachedPairing |
| 1878 |
if allocated |
| 1879 |
|
| 1880 |
* bddUser.hh (getCachedPairing): added |
| 1881 |
(setNrVariables): free and clear cachedPairing if number of |
| 1882 |
variables increases |
| 1883 |
(B): added data member cachedPairing |
| 1884 |
|
| 1885 |
===================================Maude110=========================================== |
| 1886 |
|
| 1887 |
2015-12-18 Steven Eker <[email protected]> |
| 1888 |
|
| 1889 |
* rope.hh (empty): added |
| 1890 |
|
| 1891 |
* rope.cc (compare): added |
| 1892 |
|
| 1893 |
* rope.hh (R): addded decls for makeZeroTerminatedString() and |
| 1894 |
compare() |
| 1895 |
|
| 1896 |
* rope.cc (makeZeroTerminatedString): added |
| 1897 |
|
| 1898 |
2015-12-17 Steven Eker <[email protected]> |
| 1899 |
|
| 1900 |
* rope.cc (dumpForest): use MAX_BALANCED_HEIGHT |
| 1901 |
(rebalance): use MAX_BALANCED_HEIGHT |
| 1902 |
|
| 1903 |
2015-12-16 Steven Eker <[email protected]> |
| 1904 |
|
| 1905 |
* rope.cc (insertFragment): test against MAX_BALANCED_HEIGHT |
| 1906 |
|
| 1907 |
* rope.hh (R): added constants MAX_BALANCED_HEIGHT and STACK_SIZE |
| 1908 |
|
| 1909 |
2015-12-11 Steven Eker <[email protected]> |
| 1910 |
|
| 1911 |
* rope.hh (operator+=): moved here |
| 1912 |
(operator-=): added |
| 1913 |
(const_iterator): added decl for rebuildStack |
| 1914 |
(<): added |
| 1915 |
|
| 1916 |
* rope.cc (const_iterator): clear absolutePosition |
| 1917 |
(const_iterator): copy absolutePosition |
| 1918 |
(operator=): copy absolutePosition |
| 1919 |
(operator==): test absolutePosition |
| 1920 |
(operator!=): test absolutePosition |
| 1921 |
(++): increment absolutePosition |
| 1922 |
(--): decrement absolutePosition |
| 1923 |
(rebuildStack): added |
| 1924 |
(operator+=): added |
| 1925 |
|
| 1926 |
* rope.hh (const_iterator): added data member absolutePosition |
| 1927 |
(-): added |
| 1928 |
|
| 1929 |
2015-12-10 Steven Eker <[email protected]> |
| 1930 |
|
| 1931 |
* rope.hh (R): updated decl for substr() |
| 1932 |
|
| 1933 |
* rope.cc (substr): was previous called substring() |
| 1934 |
|
| 1935 |
2015-12-09 Steven Eker <[email protected]> |
| 1936 |
|
| 1937 |
* rope.cc (~Rope): call decCount |
| 1938 |
|
| 1939 |
* rope.hh (operator): call incCount ()and decCout() |
| 1940 |
|
| 1941 |
* rope.cc (addFragment): inc ref counts of balanced nodes |
| 1942 |
encountered |
| 1943 |
(rebalance): don't inc ref counts here |
| 1944 |
|
| 1945 |
2015-12-04 Steven Eker <[email protected]> |
| 1946 |
|
| 1947 |
* rope.hh (Rope): use new Fragment ctor |
| 1948 |
|
| 1949 |
* rope.cc (makeTree, +, rawConcat, substring): use new Fragment |
| 1950 |
ctor |
| 1951 |
|
| 1952 |
* rope.hh (R): added delc for deepDelete(); |
| 1953 |
(incCount, decCount): added |
| 1954 |
(Fragment): added |
| 1955 |
|
| 1956 |
* rope.cc (+, rebalance, substring): added incCount() calls |
| 1957 |
(deepDelete): added |
| 1958 |
|
| 1959 |
2015-11-25 Steven Eker <[email protected]> |
| 1960 |
|
| 1961 |
* rope.hh (R): added decls for rebalance(), addFragment(), |
| 1962 |
insertFragment(), rawConcat() |
| 1963 |
|
| 1964 |
* rope.cc (operator+): check for overflow |
| 1965 |
(rebalance, addFragment, insertFragment, rawConcat): added |
| 1966 |
(operator+): call rebalance if sum is unbalanced |
| 1967 |
|
| 1968 |
2015-11-24 Steven Eker <[email protected]> |
| 1969 |
|
| 1970 |
* rope.cc (operator--): added |
| 1971 |
(operator--): consolidate cases |
| 1972 |
|
| 1973 |
2015-11-20 Steven Eker <[email protected]> |
| 1974 |
|
| 1975 |
* rope.hh (R): added static data member fiboTable |
| 1976 |
|
| 1977 |
* rope.cc (copy): added |
| 1978 |
|
| 1979 |
* rope.hh (R): added decl for madeTree(); |
| 1980 |
|
| 1981 |
* rope.cc (makeTree): added |
| 1982 |
|
| 1983 |
* rope.hh (operator!= added): added |
| 1984 |
(operator>=): added |
| 1985 |
(operator<): added |
| 1986 |
(operator>): added |
| 1987 |
|
| 1988 |
* rope.cc (operator<=): added |
| 1989 |
|
| 1990 |
2015-11-19 Steven Eker <[email protected]> |
| 1991 |
|
| 1992 |
* rope.cc (+): fixed bug where we using the wrong length for the |
| 1993 |
right child leaf case |
| 1994 |
|
| 1995 |
* rope.hh: added from separate development |
| 1996 |
|
| 1997 |
* rope.cc: added from separate development |
| 1998 |
|
| 1999 |
2015-07-24 Steven Eker <[email protected]> |
| 2000 |
|
| 2001 |
* wordSystem.hh (W): updated decl for findNextSolution() |
| 2002 |
|
| 2003 |
* wordSystem.cc (findNextSolution): returns int |
| 2004 |
|
| 2005 |
* wordSystem.hh (W): incompletenessFlag replaces failureFlag |
| 2006 |
|
| 2007 |
* wordSystem.cc (findNextSolution): use incompletenessFlag rather |
| 2008 |
than failureFlag |
| 2009 |
|
| 2010 |
* wordSystem.hh (W): don't give local name to Outcome |
| 2011 |
(W): added enum OutcomeFlags |
| 2012 |
|
| 2013 |
* wordLevel.hh (W): enum OutcomeFlags replaces enum Outcome; |
| 2014 |
ResultPair now has first component int |
| 2015 |
(W): incompletenessFlag replaces failureFlag |
| 2016 |
|
| 2017 |
* wordLevel.cc (findNextPartialSolution): use incompletenessFlag |
| 2018 |
rather than failureFlag |
| 2019 |
(chooseEquation): set incompletenessFlag rather than failureFlag |
| 2020 |
|
| 2021 |
2015-07-17 Steven Eker <[email protected]> |
| 2022 |
|
| 2023 |
* wordLevel.hh (W): added data member failureFlag |
| 2024 |
|
| 2025 |
* wordSystem.hh (W): added data member failureFlag |
| 2026 |
|
| 2027 |
* wordSystem.cc (WordSystem): initialize failureFlag |
| 2028 |
(findNextSolution): handle new WordLevel Outcome value |
| 2029 |
|
| 2030 |
* wordLevel.cc (findNextPartialSolution): use enum Outcome |
| 2031 |
(chooseEquation): set failureFlag to INCOMPLETE if we have to add |
| 2032 |
constraints |
| 2033 |
(WordLevel): initialize failureFlag |
| 2034 |
|
| 2035 |
* wordLevel.hh (W): added enum Outcome; ResultPair now includes |
| 2036 |
Outcome |
| 2037 |
|
| 2038 |
2015-07-09 Steven Eker <[email protected]> |
| 2039 |
|
| 2040 |
* wordLevel.hh (addAssignment): support multiple assignments for |
| 2041 |
the same variable by turning subsequent assignments into equations |
| 2042 |
|
| 2043 |
2015-07-08 Steven Eker <[email protected]> |
| 2044 |
|
| 2045 |
* wordSystem.hh (getAssignment): made const |
| 2046 |
(getNrVariables): added |
| 2047 |
|
| 2048 |
* wordLevel.hh (getNrVariables): added |
| 2049 |
(getAssignment): made const |
| 2050 |
|
| 2051 |
2015-07-01 Steven Eker <[email protected]> |
| 2052 |
|
| 2053 |
* pigPug.hh (P): added decl for dumpWord() |
| 2054 |
|
| 2055 |
* pigPug.cc (dumpWord): added |
| 2056 |
|
| 2057 |
* wordSystem.hh (getAssignment): added |
| 2058 |
|
| 2059 |
* wordLevel.hh (getAssignment): added |
| 2060 |
|
| 2061 |
2015-06-26 Steven Eker <[email protected]> |
| 2062 |
|
| 2063 |
* wordLevel.cc (makePigPug): implemented |
| 2064 |
|
| 2065 |
* wordLevel.hh (WordLevel): added decls for chooseEquation(), |
| 2066 |
checkUnconstrainedVariables(), makePigPug() |
| 2067 |
|
| 2068 |
* wordLevel.cc (~WordLevel): added |
| 2069 |
(findNextPartialSolution): call getNextUnifier() and |
| 2070 |
makeNewLevel() |
| 2071 |
(chooseEquation): added |
| 2072 |
(checkUnconstrainedVariables): added |
| 2073 |
(makePigPug): added stub |
| 2074 |
|
| 2075 |
2015-06-25 Steven Eker <[email protected]> |
| 2076 |
|
| 2077 |
* wordSystem.cc: created |
| 2078 |
|
| 2079 |
2015-06-19 Steven Eker <[email protected]> |
| 2080 |
|
| 2081 |
* wordLevel-simplifyEquations.cc (simplifyEquation): fixed bug |
| 2082 |
where we were passing the rhs twice to cancel() rather the lhs and |
| 2083 |
rhs |
| 2084 |
|
| 2085 |
* wordLevel.cc (dump): handle cancelled equations |
| 2086 |
|
| 2087 |
2015-06-18 Steven Eker <[email protected]> |
| 2088 |
|
| 2089 |
* wordLevel-simplifyEquations.cc (simplifyEquation): newLhs/lhs |
| 2090 |
the wrong way around; ditto rhs |
| 2091 |
|
| 2092 |
* wordLevel.hh (addAssignment): was addAssignment() |
| 2093 |
|
| 2094 |
2015-06-17 Steven Eker <[email protected]> |
| 2095 |
|
| 2096 |
* wordLevel.cc (dump): added |
| 2097 |
(dumpWord): added |
| 2098 |
|
| 2099 |
* wordLevel.hh (W): added decl for dump() |
| 2100 |
|
| 2101 |
* wordLevel-simplifyAssignments.cc (fullyExpandAssignments): |
| 2102 |
missing decl |
| 2103 |
(reallyExpandAssignment): missing qualifier |
| 2104 |
|
| 2105 |
2015-06-12 Steven Eker <[email protected]> |
| 2106 |
|
| 2107 |
* wordLevel-simplifyEquations.cc: created |
| 2108 |
|
| 2109 |
2015-06-05 Steven Eker <[email protected]> |
| 2110 |
|
| 2111 |
* wordLevel-simplifyAssignments.cc: created |
| 2112 |
|
| 2113 |
* wordLevel.hh: created |
| 2114 |
|
| 2115 |
* wordLevel.cc: created |
| 2116 |
|
| 2117 |
2015-05-01 Steven Eker <[email protected]> |
| 2118 |
|
| 2119 |
* wordSystem.hh: created |
| 2120 |
|
| 2121 |
2015-04-30 Steven Eker <[email protected]> |
| 2122 |
|
| 2123 |
* pigPug.cc (run): compare value returned from completed() to fail |
| 2124 |
|
| 2125 |
===================================Maude108=========================================== |
| 2126 |
|
| 2127 |
2015-02-12 Steven Eker <[email protected]> |
| 2128 |
|
| 2129 |
* pigPug.hh (P): remapVariables() -> renameVariables() |
| 2130 |
|
| 2131 |
* pigPug.cc (renameVariables): was remapVariables() |
| 2132 |
|
| 2133 |
2015-02-11 Steven Eker <[email protected]> |
| 2134 |
|
| 2135 |
* pigPug.hh (P): added decls for fullyConstrained() and feasible() |
| 2136 |
|
| 2137 |
* pigPug.cc (fullyConstrained): added |
| 2138 |
(feasible): added |
| 2139 |
|
| 2140 |
* pigPug.hh: added decls for remapVariables(), |
| 2141 |
collectRangeVariables() |
| 2142 |
(P): updated delc for extractUnifier() |
| 2143 |
|
| 2144 |
* pigPug.cc (extractUnifier): do variable remapping |
| 2145 |
(remapVariables, collectRangeVariables): added |
| 2146 |
|
| 2147 |
* pigPug.hh (P): added data member lastOriginalVariable; deleted |
| 2148 |
data member linear |
| 2149 |
|
| 2150 |
* pigPug.cc (PigPug): take lastOriginalVariable argument |
| 2151 |
|
| 2152 |
2015-02-10 Steven Eker <[email protected]> |
| 2153 |
|
| 2154 |
* pigPug.cc (dump): added |
| 2155 |
(compose): (partial replacement version) fixed a nasty bug where |
| 2156 |
we were looking at the wrong variable in the existing substitution |
| 2157 |
|
| 2158 |
* pigPug.hh (P): adde decl for dump() |
| 2159 |
|
| 2160 |
* pigPug.cc (extractUnifier): added |
| 2161 |
|
| 2162 |
* pigPug.hh (P): added decls for cancel(), compose(), compose2() |
| 2163 |
|
| 2164 |
* pigPug.cc (cancel): added |
| 2165 |
(firstMove): use cancel() |
| 2166 |
(compose, compose2): added |
| 2167 |
(extractUnifier): use compose(), compose2() |
| 2168 |
|
| 2169 |
2015-02-09 Steven Eker <[email protected]> |
| 2170 |
|
| 2171 |
* pigPug.cc: created |
| 2172 |
|
| 2173 |
* pigPug.hh: created |
| 2174 |
|
| 2175 |
===================================Maude107=========================================== |
| 2176 |
|
| 2177 |
2014-11-17 Steven Eker <[email protected]> |
| 2178 |
|
| 2179 |
* sequenceAssignment.cc (computeBoundSum): instrumented |
| 2180 |
(checkAndMakeMove): instrumented |
| 2181 |
(SequenceAssignment): fixed nasty bug: need to start |
| 2182 |
lhsCount[0]/rhsCount[0] at 1 since there is already an implicit 1-1 |
| 2183 |
match before the first move. |
| 2184 |
|
| 2185 |
===================================Maude106=========================================== |
| 2186 |
|
| 2187 |
2014-04-01 Steven Eker <[email protected]> |
| 2188 |
|
| 2189 |
* sequenceAssignment.cc (findNextSolution): fix a bug where we |
| 2190 |
were not initializing moveIndex in the findFirst == false case |
| 2191 |
|
| 2192 |
* sequenceAssignment.hh (S): updated decl for findNextSolution() |
| 2193 |
|
| 2194 |
* sequenceAssignment.cc (findNextSolution): take findFirst and use |
| 2195 |
it to determine when to initialize state |
| 2196 |
|
| 2197 |
2014-03-25 Steven Eker <[email protected]> |
| 2198 |
|
| 2199 |
* sequenceAssignment.cc (checkAndMakeMove): fixed bug where we |
| 2200 |
were using boundSum rather than bounds |
| 2201 |
|
| 2202 |
2014-03-24 Steven Eker <[email protected]> |
| 2203 |
|
| 2204 |
* sequenceAssignment.cc (findNextSolution): fixed bug where we |
| 2205 |
were using lhsBoundSum.size() rather than rhsBoundSum.size() |
| 2206 |
(checkAndMakeMove): added |
| 2207 |
(unmakeMove): added |
| 2208 |
|
| 2209 |
2014-03-20 Steven Eker <[email protected]> |
| 2210 |
|
| 2211 |
* sequenceAssignment.cc: rewritten |
| 2212 |
|
| 2213 |
* sequenceAssignment.hh: rewritten using "grid move" approach to |
| 2214 |
state representation |
| 2215 |
|
| 2216 |
2014-03-05 Steven Eker <[email protected]> |
| 2217 |
|
| 2218 |
* sequenceAssignment.cc: created |
| 2219 |
|
| 2220 |
* sequenceAssignment.hh: created |
| 2221 |
|
| 2222 |
===================================Maude102=========================================== |
| 2223 |
|
| 2224 |
2013-11-21 Steven Eker <[email protected]> |
| 2225 |
|
| 2226 |
* natSet.hh (containsSmall): added |
| 2227 |
(N): added enum Values |
| 2228 |
|
| 2229 |
===================================Maude100a=========================================== |
| 2230 |
|
| 2231 |
2013-10-09 Steven Eker <[email protected]> |
| 2232 |
|
| 2233 |
* unionFind.hh (clear): added |
| 2234 |
|
| 2235 |
===================================Maude98=========================================== |
| 2236 |
|
| 2237 |
2013-08-08 Steven Eker <[email protected]> |
| 2238 |
|
| 2239 |
* natSet.hh: include "vector.hh" to simplify inclusions |
| 2240 |
|
| 2241 |
===================================Maude97=========================================== |
| 2242 |
|
| 2243 |
2012-08-06 Steven Eker <[email protected]> |
| 2244 |
|
| 2245 |
* ropeStuff.hh: support USE_ROPE_UGLY_HACK |
| 2246 |
|
| 2247 |
2012-07-03 Steven Eker <[email protected]> |
| 2248 |
|
| 2249 |
* mpzSystem.cc (insertEqn, initializeUpperBounds): added |
| 2250 |
static_cast<>s to int to keep compiler happy |
| 2251 |
|
| 2252 |
===================================Maude96a=========================================== |
| 2253 |
|
| 2254 |
2010-07-21 Steven Eker <eker@rho> |
| 2255 |
|
| 2256 |
* allSat.cc (AllSat::nextAssignment): use firstAssignment rather |
| 2257 |
than emptiness of assignment to figure out if we are generating |
| 2258 |
our first solution so we can handle the degenerate with no |
| 2259 |
variables |
| 2260 |
|
| 2261 |
* allSat.hh (class AllSat): added data member firstAssignment |
| 2262 |
|
| 2263 |
===================================Maude94a=========================================== |
| 2264 |
|
| 2265 |
2010-04-16 Steven Eker <eker@rho> |
| 2266 |
|
| 2267 |
* natSet.hh (class NatSet): added decl for getMaskSmall() |
| 2268 |
|
| 2269 |
* natSet.cc (NatSet::getMask): fix bug where we were shifting a |
| 2270 |
32-bit 1 |
| 2271 |
(NatSet::topBit): fix symmetric bug |
| 2272 |
(NatSet::insert, NatSet::subtract): fix symmetric bugs |
| 2273 |
(NatSet::getMaskSmall): added |
| 2274 |
(NatSet::topBit, NatSet::getMask, NatSet::insert) |
| 2275 |
(NatSet::subtract): use getMaskSmall() |
| 2276 |
|
| 2277 |
* natSet.hh (NatSet::swap): fix bug where we were using an int as |
| 2278 |
a temporary rather than a Word |
| 2279 |
|
| 2280 |
* natSet.cc (NatSet::topBit, NatSet::getShift, NatSet::getMask): |
| 2281 |
use BITS_PER_WORD |
| 2282 |
(NatSet::arrayMin, NatSet::insert, NatSet::subtract): use |
| 2283 |
BITS_PER_WORD |
| 2284 |
(NatSet::getWordNr): divide by unsigned value by BITS_PER_WORD |
| 2285 |
rather than right shift by LOG_WORD_SIZE |
| 2286 |
|
| 2287 |
* natSet.hh (class NatSet): make Word a long; define BITS_PER_WORD |
| 2288 |
(NatSet::contains): use BITS_PER_WORD rather than WORD_SIZE |
| 2289 |
(NatSet::max): multiply by BITS_PER_WORD rather than shift by |
| 2290 |
LOG_WORD_SIZE |
| 2291 |
|
| 2292 |
===================================Maude93a=========================================== |
| 2293 |
|
| 2294 |
2010-03-11 Steven Eker <eker@rho> |
| 2295 |
|
| 2296 |
* vector.hh: use != rather than < in for loops |
| 2297 |
|
| 2298 |
===================================Maude93=========================================== |
| 2299 |
|
| 2300 |
2010-03-01 Steven Eker <eker@rho> |
| 2301 |
|
| 2302 |
* natSet.hh (class NatSet): added decl for getShift() |
| 2303 |
|
| 2304 |
* natSet.cc (NatSet::arrayContains): changed return type to |
| 2305 |
FastBool; use getShift(); shift word left rather than 1 right |
| 2306 |
(NatSet::getShift): added |
| 2307 |
|
| 2308 |
* natSet.hh: changed return type to FastBool; shift word left |
| 2309 |
rather than 1 right |
| 2310 |
|
| 2311 |
* macros.hh: added typedef FastBool |
| 2312 |
|
| 2313 |
2010-02-26 Steven Eker <eker@rho> |
| 2314 |
|
| 2315 |
* macros.hh (setOnLs, setOnGeq): deleted |
| 2316 |
|
| 2317 |
2010-02-19 Steven Eker <eker@rho> |
| 2318 |
|
| 2319 |
* macros.hh (getSignBit): commented out |
| 2320 |
|
| 2321 |
===================================Maude92c=========================================== |
| 2322 |
|
| 2323 |
2009-12-02 Steven Eker <[email protected]> |
| 2324 |
|
| 2325 |
* pointerSet.cc (findEntry): move call to collision() inside loop |
| 2326 |
|
| 2327 |
2009-11-30 Steven Eker <[email protected]> |
| 2328 |
|
| 2329 |
* pointerSet.hh (class PointerSet): added decl for collision() in |
| 2330 |
debug mode |
| 2331 |
|
| 2332 |
===================================Maude92b=========================================== |
| 2333 |
|
| 2334 |
2009-09-23 Steven Eker <[email protected]> |
| 2335 |
|
| 2336 |
* bddUser.cc (err_handler): check and call errorHandler if set |
| 2337 |
|
| 2338 |
* bddUser.hh (setErrorHandler): added |
| 2339 |
(class BddUser): added typedef ErrorHandler; static variable |
| 2340 |
errorHandler |
| 2341 |
|
| 2342 |
2009-09-22 Steven Eker <[email protected]> |
| 2343 |
|
| 2344 |
* bddUser.hh (class BddUser): added decl for err_handler() |
| 2345 |
|
| 2346 |
* bddUser.cc (err_handler): added |
| 2347 |
|
| 2348 |
===================================Maude92a=========================================== |
| 2349 |
|
| 2350 |
2008-09-11 Steven Eker <[email protected]> |
| 2351 |
|
| 2352 |
* intContejeanDevie.cc (findNextMinimalSolution): init lastNfnz to |
| 2353 |
aviod compiler warning |
| 2354 |
|
| 2355 |
* mpzContejeanDevie.cc (findNextMinimalSolution): init lastNfnz to |
| 2356 |
aviod compiler warning |
| 2357 |
|
| 2358 |
* binBuf.cc (times10): & -> && |
| 2359 |
|
| 2360 |
2008-09-04 Steven Eker <[email protected]> |
| 2361 |
|
| 2362 |
* macros.hh: switch order of HAVE_STRING_H and HAVE_STRINGS_H to |
| 2363 |
appease gcc 4.3.1 |
| 2364 |
|
| 2365 |
2008-05-09 Steven Eker <[email protected]> |
| 2366 |
|
| 2367 |
* mpzContejeanDevie.cc (initialize): update upperbound Assert() |
| 2368 |
(findNextMinimalSolution): handle upperbound == NONE case |
| 2369 |
|
| 2370 |
* mpzSystem.hh (class MpzSystem): added comments about new |
| 2371 |
representation of unbounded |
| 2372 |
|
| 2373 |
* mpzSystem.cc (initializeUpperBounds): use NONE rather than |
| 2374 |
UNBOUNDED to represent unbounded since UNBOUNDED is actually a |
| 2375 |
valid result |
| 2376 |
|
| 2377 |
2008-05-08 Steven Eker <[email protected]> |
| 2378 |
|
| 2379 |
* macros.hh: added forwards decls for classes IntSet, Indent, |
| 2380 |
MpzSystem and IntSystem |
| 2381 |
|
| 2382 |
* ttyAttributes.hh: deleted - appears to be redundant code |
| 2383 |
|
| 2384 |
* intSystem.cc (IntSystem): added |
| 2385 |
(insertEqn): allow IntVecs of varying length to be passes and pad |
| 2386 |
them with zeros when making a deep copy |
| 2387 |
|
| 2388 |
* intSystem.hh (class IntSystem): make nrVariables const; add decl |
| 2389 |
for ctor |
| 2390 |
|
| 2391 |
* intContejeanDevie.cc: created |
| 2392 |
|
| 2393 |
* intSystem.hh: created |
| 2394 |
|
| 2395 |
* intSystem.cc: created |
| 2396 |
|
| 2397 |
===================================Maude91a=========================================== |
| 2398 |
|
| 2399 |
2008-03-13 Steven Eker <[email protected]> |
| 2400 |
|
| 2401 |
* graph.cc (Graph, color, colorNode, visit): updated |
| 2402 |
|
| 2403 |
* graph.hh (class Graph): convert to adjacency set representation |
| 2404 |
(insertEdge): updated |
| 2405 |
|
| 2406 |
===================================Maude90a=========================================== |
| 2407 |
|
| 2408 |
2007-07-23 Steven Eker <[email protected]> |
| 2409 |
|
| 2410 |
* bddUser.hh (setNrVariables): moved here and made inline |
| 2411 |
|
| 2412 |
===================================Maude89d=========================================== |
| 2413 |
|
| 2414 |
2007-01-22 Steven Eker <[email protected]> |
| 2415 |
|
| 2416 |
* bddUser.hh (class BddUser): added decl for gc_handler() |
| 2417 |
|
| 2418 |
* bddUser.cc (gc_handler): added |
| 2419 |
(BddUser): call bdd_gbc_hook() |
| 2420 |
|
| 2421 |
2007-01-12 Steven Eker <[email protected]> |
| 2422 |
|
| 2423 |
* allSat.cc (nextAssignment): fixed bug where we were not setting |
| 2424 |
assignment entry to 1 when we take high branch |
| 2425 |
|
| 2426 |
2007-01-11 Steven Eker <[email protected]> |
| 2427 |
|
| 2428 |
* macros.hh: added class AllSat |
| 2429 |
|
| 2430 |
* allSat.cc: created |
| 2431 |
|
| 2432 |
* allSat.hh: created |
| 2433 |
|
| 2434 |
===================================Maude88d=========================================== |
| 2435 |
|
| 2436 |
2005-10-06 Steven Eker <[email protected]> |
| 2437 |
|
| 2438 |
* macros.hh: #if before includes; include <unistd.h> |
| 2439 |
(DebugAdvisory): make them blue |
| 2440 |
|
| 2441 |
* ropeStuff.hh: fix #if test for g++ major versions > 3 |
| 2442 |
|
| 2443 |
2005-09-07 Steven Eker <[email protected]> |
| 2444 |
|
| 2445 |
* diophantineSystem3.hh: deleted |
| 2446 |
|
| 2447 |
* diophantineSystem2.cc: deleted |
| 2448 |
|
| 2449 |
* diophantineSystem2.hh: deleted |
| 2450 |
|
| 2451 |
* diophantineSolve.cc: deleted |
| 2452 |
|
| 2453 |
* diophantineSystem3.cc: deleted |
| 2454 |
|
| 2455 |
* mpzGcdInit.cc (integerGaussianElimination, initializeGcd): ifdef |
| 2456 |
out analysis code |
| 2457 |
|
| 2458 |
* mpzGcdBasedSolver.cc (solveDiagonal): ifdef out analysis code |
| 2459 |
|
| 2460 |
2005-09-06 Steven Eker <[email protected]> |
| 2461 |
|
| 2462 |
* mpzGcdBasedSolver.cc (nextSolution): handle nrFreeVariables == 0 |
| 2463 |
case; simplified |
| 2464 |
(solveDiagonal): check for trivial solution |
| 2465 |
(fillOutLastEntry): handle zero coefficient variables |
| 2466 |
|
| 2467 |
* mpzGcdInit.cc (initializeGcd): added DebugAdvisory() for all |
| 2468 |
positive equation; updated comments |
| 2469 |
(initializeGcd): init lastPrediagNeg to NONE in all +ve case |
| 2470 |
|
| 2471 |
2005-09-01 Steven Eker <[email protected]> |
| 2472 |
|
| 2473 |
* mpzGcdBasedSolver.cc (nextSolution): don't use nrEquations |
| 2474 |
(solveDiagonal, fillOutLastEntry): don't use nrEquations |
| 2475 |
|
| 2476 |
* mpzGcdInit.cc (integerGaussianElimination): initialize nrFreeVariables |
| 2477 |
|
| 2478 |
* mpzGcdBasedSolver.cc (findNextMinimalSolutionGcd): moved a lot |
| 2479 |
of initialization code |
| 2480 |
|
| 2481 |
* mpzGcdInit.cc (initializeGcd): to here |
| 2482 |
|
| 2483 |
* mpzSystem.hh (class MpzSystem): data member nrEquations replaced |
| 2484 |
by nrFreeVariables |
| 2485 |
|
| 2486 |
* mpzGcdInit.cc (initializeGcd): don't init lastPrediagNonzero |
| 2487 |
(initializeGcd): added divid thru by final gcd optimization |
| 2488 |
|
| 2489 |
* mpzSystem.hh (class MpzSystem): deleted data members |
| 2490 |
pruneLastPrediag, lastPrediagNonzero |
| 2491 |
|
| 2492 |
* mpzGcdBasedSolver.cc (fillOutStackEntry): initialize base, inc |
| 2493 |
and bound to default values |
| 2494 |
(solveDiagonal): added optimization for diagonal variables all |
| 2495 |
zero case |
| 2496 |
|
| 2497 |
2005-08-31 Steven Eker <[email protected]> |
| 2498 |
|
| 2499 |
* mpzSystem.hh (class MpzSystem): deleted zeroSoFar field from |
| 2500 |
struct StackEntry |
| 2501 |
|
| 2502 |
* mpzGcdBasedSolver.cc (solveDiagonal): cleaned up |
| 2503 |
(fillOutStackEntry): decide if our current partial solution is all |
| 2504 |
zero by comparing leftOver to sumBound rather than by using |
| 2505 |
zeroSoFar field |
| 2506 |
(fillOutLastEntry): symmetric change |
| 2507 |
(findNextMinimalSolutionGcd): don't init zeroSoFar field |
| 2508 |
(nextSolution): don't clear zeroSoFar field |
| 2509 |
(fillOutStackEntry): don't init zeroSoFar field |
| 2510 |
(fillOutStackEntry): use updateResidues() |
| 2511 |
(fillOutLastEntry): use updateResidues() |
| 2512 |
|
| 2513 |
* mpzSystem.hh (class MpzSystem): added decl for updateResidues() |
| 2514 |
|
| 2515 |
* mpzGcdBasedSolver.cc (updateResidues): added |
| 2516 |
(nextSolution): simplify using updateResidues() |
| 2517 |
(nextSolution): restructuring |
| 2518 |
|
| 2519 |
2005-08-24 Steven Eker <[email protected]> |
| 2520 |
|
| 2521 |
* mpzGcdBasedSolver.cc (findNextMinimalSolutionGcd): return |
| 2522 |
solutions incrementally; re-permute solutions |
| 2523 |
|
| 2524 |
* mpzSystem.hh (class MpzSystem): added decl for computeSumBound() |
| 2525 |
|
| 2526 |
* mpzGcdInit.cc (computeSumBound): added |
| 2527 |
(initializeGcd): use computeSumBound(); recompute sumBound after |
| 2528 |
integerGaussianElimination() |
| 2529 |
|
| 2530 |
* mpzSystem.hh (class MpzSystem): added decl for dumpEqns() |
| 2531 |
(class MpzSystem): added decls for findConcensus() and |
| 2532 |
solveTwoVariableProblem() |
| 2533 |
(class MpzSystem): added many gcd solver specific data members |
| 2534 |
(class MpzSystem): addded struct StackEntry, decls for |
| 2535 |
nextSolution(), fillOutStackEntry(), fillOutLastEntry(), |
| 2536 |
solveDiagonal() |
| 2537 |
|
| 2538 |
* mpzSystem.cc (dumpEqns): added |
| 2539 |
|
| 2540 |
* mpzContejeanDevie.cc (initialize): use initializeUpperBounds() |
| 2541 |
|
| 2542 |
* mpzSystem.hh (class MpzSystem): added decl for |
| 2543 |
initializeUpperBounds() |
| 2544 |
|
| 2545 |
* mpzSystem.cc (initializeUpperBounds): added |
| 2546 |
|
| 2547 |
2005-08-23 Steven Eker <[email protected]> |
| 2548 |
|
| 2549 |
* mpzSystem.hh (class MpzSystem): reorganized to split out solver |
| 2550 |
specific stuff |
| 2551 |
|
| 2552 |
* mpzContejeanDevie.cc (isZero): moved here |
| 2553 |
|
| 2554 |
* mpzSystem.cc (minimal): moved here |
| 2555 |
|
| 2556 |
* mpzGcdBasedSolver.cc: created |
| 2557 |
|
| 2558 |
* mpzContejeanDevie.cc (findNextMinimalSolution): code cleaning |
| 2559 |
(findNextMinimalSolution): use the invariant that variables that |
| 2560 |
have reached their upper bounds are frozen to simplify test |
| 2561 |
|
| 2562 |
2005-08-22 Steven Eker <[email protected]> |
| 2563 |
|
| 2564 |
* mpzContejeanDevie.cc (initialize): code cleaning |
| 2565 |
(initialize): check for zero upper bound |
| 2566 |
|
| 2567 |
2005-08-18 Steven Eker <[email protected]> |
| 2568 |
|
| 2569 |
* mpzSystem.cc (insertEqn): fixed eqn vs eqns bug |
| 2570 |
|
| 2571 |
* mpzSystem.hh: created |
| 2572 |
|
| 2573 |
* mpzContejeanDevie.cc: created |
| 2574 |
|
| 2575 |
* mpzSystem.cc: created |
| 2576 |
|
| 2577 |
* macros.hh (DebugPrint): added |
| 2578 |
(DebugPrintNL): added |
| 2579 |
|
| 2580 |
===================================Maude86c=========================================== |
| 2581 |
|
| 2582 |
2005-03-10 Steven Eker <[email protected]> |
| 2583 |
|
| 2584 |
* macros.hh (enum SpecialConstants): added GARBAGE to enum SpecialConstants |
| 2585 |
|
| 2586 |
2005-01-11 Steven Eker <[email protected]> |
| 2587 |
|
| 2588 |
* macros.hh (ComplexWarning): added |
| 2589 |
|
| 2590 |
===================================Maude86=========================================== |
| 2591 |
|
| 2592 |
2004-12-15 Steven Eker <[email protected]> |
| 2593 |
|
| 2594 |
* macros.hh (DebugAdvisory): print debug advisories in red |
| 2595 |
|
| 2596 |
2004-11-12 Steven Eker <[email protected]> |
| 2597 |
|
| 2598 |
* diophantineSolve.cc (solveDiagonal): negate the residue before dividing |
| 2599 |
(fillOutStackEntry): fix bad zeroSoFar propagation |
| 2600 |
|
| 2601 |
* diophantineSystem3.cc (findNextMinimalSolution): initialize |
| 2602 |
leftOver, residue, solution, stack |
| 2603 |
|
| 2604 |
2004-11-11 Steven Eker <[email protected]> |
| 2605 |
|
| 2606 |
* diophantineSystem3.hh (class DiophantineSystem3): added decls |
| 2607 |
for nextSolution(), fillOutStackEntry(), fillOutLastEntry(), |
| 2608 |
solveDiagonal() |
| 2609 |
(class DiophantineSystem3): added data members solution and residues |
| 2610 |
(class DiophantineSystem3): added struct StackEntry |
| 2611 |
(class DiophantineSystem3): added data members stack, leftOver |
| 2612 |
|
| 2613 |
* diophantineSystem3.cc (takeStep): fix upper bounds bug |
| 2614 |
|
| 2615 |
* diophantineSolve.cc: created |
| 2616 |
|
| 2617 |
2004-11-08 Steven Eker <[email protected]> |
| 2618 |
|
| 2619 |
* diophantineSystem3.cc (initialize): fill out lastPrediagNonzero properly |
| 2620 |
(takeStep): implement lastPrediagNeg opt |
| 2621 |
(integerGaussianElimination): fixed double increment bug in erase case |
| 2622 |
|
| 2623 |
2004-11-04 Steven Eker <[email protected]> |
| 2624 |
|
| 2625 |
* diophantineSystem3.cc (finalStep): zero out unbound variables; |
| 2626 |
check minimality |
| 2627 |
(takeStep): added minimality check for partial solution |
| 2628 |
(takeStep): put minimality check in search loop |
| 2629 |
|
| 2630 |
* diophantineSystem3.hh (class DiophantineSystem3): added decls |
| 2631 |
for greaterEqual() and minimal() |
| 2632 |
|
| 2633 |
* diophantineSystem3.cc (findNextMinimalSolution): zero solution |
| 2634 |
to allow minimality testing on partial solutions |
| 2635 |
(takeStep): zero out variable once we are done |
| 2636 |
(greaterEqual): added |
| 2637 |
(minimal): added |
| 2638 |
|
| 2639 |
2004-11-03 Steven Eker <[email protected]> |
| 2640 |
|
| 2641 |
* diophantineSystem3.cc (takeStep): handle zeroSoFar arg |
| 2642 |
(finalStep): handle zeroSoFar arg |
| 2643 |
|
| 2644 |
* diophantineSystem3.hh (class DiophantineSystem3): replaced |
| 2645 |
pruneLastPrediag with firstPrunablePrediag; added data member |
| 2646 |
lastPrediagNonzero |
| 2647 |
|
| 2648 |
2004-11-02 Steven Eker <[email protected]> |
| 2649 |
|
| 2650 |
* diophantineSystem3.cc (initialize): do sign calculations for |
| 2651 |
prediagonal columns |
| 2652 |
(finalStep): avoid trivial solution; pruneLastPrediag optimization |
| 2653 |
|
| 2654 |
* diophantineSystem3.hh (class DiophantineSystem3): added data |
| 2655 |
members lastPrediagNeg and pruneLastPrediag |
| 2656 |
|
| 2657 |
2004-11-01 Steven Eker <[email protected]> |
| 2658 |
|
| 2659 |
* diophantineSystem3.cc (finalStep): added |
| 2660 |
|
| 2661 |
2004-10-29 Steven Eker <[email protected]> |
| 2662 |
|
| 2663 |
* diophantineSystem3.cc: init gcds |
| 2664 |
(takeStep): added |
| 2665 |
(concensus): added |
| 2666 |
(findNextMinimalSolution): call takeStep() |
| 2667 |
|
| 2668 |
* diophantineSystem3.hh (class DiophantineSystem3): added decl fo |
| 2669 |
solve(); added data member gcds |
| 2670 |
|
| 2671 |
* diophantineSystem3.cc (solve): added |
| 2672 |
|
| 2673 |
2004-10-28 Steven Eker <[email protected]> |
| 2674 |
|
| 2675 |
* diophantineSystem3.cc (integerGaussianElimination): added |
| 2676 |
DebugAdvisory() for all zero equations |
| 2677 |
|
| 2678 |
2004-10-27 Steven Eker <[email protected]> |
| 2679 |
|
| 2680 |
* diophantineSystem3.cc (integerGaussianElimination): rewritten |
| 2681 |
|
| 2682 |
2004-10-26 Steven Eker <[email protected]> |
| 2683 |
|
| 2684 |
* diophantineSystem3.cc: created |
| 2685 |
|
| 2686 |
* diophantineSystem3.hh: created |
| 2687 |
|
| 2688 |
* diophantineSystem2.cc (solve): handle the case where a gets |
| 2689 |
negated on its own properly |
| 2690 |
(takeStep): rewrite to handle g = 0 properly |
| 2691 |
|
| 2692 |
2004-10-25 Steven Eker <[email protected]> |
| 2693 |
|
| 2694 |
* diophantineSystem2.hh (class DiophantineSystem2): added decls |
| 2695 |
for finalStep() and takeStep() |
| 2696 |
|
| 2697 |
* diophantineSystem2.cc (concensus): got args to solve() the wrong |
| 2698 |
way arround |
| 2699 |
(solve): x_base vs x_start conflict |
| 2700 |
(finalStep): added |
| 2701 |
(takeStep): added |
| 2702 |
|
| 2703 |
2004-10-22 Steven Eker <[email protected]> |
| 2704 |
|
| 2705 |
* diophantineSystem2.hh (class DiophantineSystem2): added decl for concensus() |
| 2706 |
|
| 2707 |
* diophantineSystem2.cc (concensus): added |
| 2708 |
|
| 2709 |
* diophantineSystem2.hh (class DiophantineSystem2): added decls |
| 2710 |
for newSolve() and gcd() |
| 2711 |
|
| 2712 |
* diophantineSystem2.cc (gcd): added |
| 2713 |
(newSolve): added |
| 2714 |
|
| 2715 |
2004-10-21 Steven Eker <[email protected]> |
| 2716 |
|
| 2717 |
* diophantineSystem2.hh (class DiophantineSystem2): added data |
| 2718 |
member sumBound |
| 2719 |
|
| 2720 |
* diophantineSystem2.cc (initialize): added sum bound computation |
| 2721 |
|
| 2722 |
2004-10-20 Steven Eker <[email protected]> |
| 2723 |
|
| 2724 |
* diophantineSystem2.hh (class DiophantineSystem2): updated decl |
| 2725 |
for solve() |
| 2726 |
|
| 2727 |
* diophantineSystem2.cc (solve): rewritten to allow the option of |
| 2728 |
allowing -ve values for y and also of placing upper bounds on x |
| 2729 |
and y |
| 2730 |
|
| 2731 |
2004-10-18 Steven Eker <[email protected]> |
| 2732 |
|
| 2733 |
* diophantineSystem2.cc (dumpMatrix): added |
| 2734 |
(integerGaussianElimination): added |
| 2735 |
(initialize): use integerGaussianElimination() |
| 2736 |
|
| 2737 |
2004-10-08 Steven Eker <[email protected]> |
| 2738 |
|
| 2739 |
* checkedConstIterator.hh (operator++, operator--, operator+) |
| 2740 |
(operator-): added typename to pacify g++ 2.4.2 |
| 2741 |
|
| 2742 |
* checkedIterator.hh (operator++): added typename to pacify g++ 2.4.2 |
| 2743 |
(operator--): added extra typename to pacify g++ 2.4.2 |
| 2744 |
(operator-): added extra typename to pacify g++ 2.4.2 |
| 2745 |
(operator+): added extra typename to pacify g++ 2.4.2 |
| 2746 |
|
| 2747 |
2004-10-07 Steven Eker <[email protected]> |
| 2748 |
|
| 2749 |
* indexedSet.hh (insert): added extra typename to pacify g++ 2.4.2 |
| 2750 |
|
| 2751 |
2004-09-24 Steven Eker <[email protected]> |
| 2752 |
|
| 2753 |
* diophantineSystem2.cc (findNextMinimalSolution): added variable |
| 2754 |
forcing code |
| 2755 |
(findNextMinimalSolution): freeze variable when we hit bounds |
| 2756 |
(initialize): freeze variable in its start vector if it has bound 1 |
| 2757 |
|
| 2758 |
2004-09-20 Steven Eker <[email protected]> |
| 2759 |
|
| 2760 |
* diophantineSystem2.hh (class DiophantineSystem2): deleted decl |
| 2761 |
for product() |
| 2762 |
|
| 2763 |
* diophantineSystem2.cc (initialize): rewritten |
| 2764 |
(findNextMinimalSolution): rewritten |
| 2765 |
(findNextMinimalSolution): avoid copying residue |
| 2766 |
(product): deleted |
| 2767 |
(greaterEqual): made local_inline |
| 2768 |
(minimal): made local_inline |
| 2769 |
(isZero): made local_inline |
| 2770 |
(scalerProduct): made local_inline |
| 2771 |
|
| 2772 |
* diophantineSystem2.hh (class DiophantineSystem2): added struct |
| 2773 |
State; changed many data members |
| 2774 |
|
| 2775 |
2004-09-17 Steven Eker <[email protected]> |
| 2776 |
|
| 2777 |
* diophantineSystem2.hh (class DiophantineSystem2): leaves becomes |
| 2778 |
list<int>; added data member current |
| 2779 |
|
| 2780 |
* diophantineSystem2.cc (initialize): clear residue and current |
| 2781 |
(findNextMinimalSolution): rewritten using new stack structure |
| 2782 |
|
| 2783 |
* diophantineSystem2.hh (class DiophantineSystem2): decl for |
| 2784 |
greater() becomes greaterEqual() |
| 2785 |
|
| 2786 |
* diophantineSystem2.cc (greater): become greaterEqual() since |
| 2787 |
this is a faster computation |
| 2788 |
(minimal): use greaterEqual() in place of greater |
| 2789 |
|
| 2790 |
2004-09-09 Steven Eker <[email protected]> |
| 2791 |
|
| 2792 |
* diophantineSystem2.hh (class DiophantineSystem2): adde decls for |
| 2793 |
setUpperBounds, initialize and residue |
| 2794 |
|
| 2795 |
* diophantineSystem2.cc (setUpperBounds): added |
| 2796 |
(initialize): added |
| 2797 |
|
| 2798 |
* diophantineSystem2.hh (class DiophantineSystem2): updated decl |
| 2799 |
for scalerProduct(); added VecList |
| 2800 |
|
| 2801 |
* diophantineSystem2.cc (scalerProduct): rewritten to be specific |
| 2802 |
to system |
| 2803 |
(DiophantineSystem2): deleted |
| 2804 |
(product): don't resize result; use new rows type |
| 2805 |
(scalerProduct): use new rows type |
| 2806 |
(findNextMinimalSolution): rewritten |
| 2807 |
|
| 2808 |
2004-09-08 Steven Eker <[email protected]> |
| 2809 |
|
| 2810 |
* diophantineSystem2.cc (greater): fixed bug where j was not being |
| 2811 |
incremented |
| 2812 |
|
| 2813 |
2004-09-07 Steven Eker <[email protected]> |
| 2814 |
|
| 2815 |
* diophantineSystem2.cc (findNextMinimalSolution): rewritten to |
| 2816 |
avoid explicit frozen flags and start with a set of vectors |
| 2817 |
|
| 2818 |
2004-08-27 Steven Eker <[email protected]> |
| 2819 |
|
| 2820 |
* diophantineSystem2.cc: created |
| 2821 |
|
| 2822 |
2004-08-26 Steven Eker <[email protected]> |
| 2823 |
|
| 2824 |
* diophantineSystem2.hh: created |
| 2825 |
|
| 2826 |
===================================Maude85=========================================== |
| 2827 |
|
| 2828 |
2004-03-16 Steven Eker <[email protected]> |
| 2829 |
|
| 2830 |
* macros.hh (DebugAdvisoryCheck): allow to be switched off with |
| 2831 |
globalAdvisoryFlag |
| 2832 |
(DebugAdvisory): allow to be switched off with globalAdvisoryFlag |
| 2833 |
|
| 2834 |
===================================Maude84=========================================== |
| 2835 |
|
| 2836 |
2003-10-01 Steven Eker <[email protected]> |
| 2837 |
|
| 2838 |
* macros.cc (stringToDouble): work around for versions of atof() |
| 2839 |
that don't handle Infinity |
| 2840 |
|
| 2841 |
===================================Maude82=========================================== |
| 2842 |
|
| 2843 |
2003-07-29 Steven Eker <[email protected]> |
| 2844 |
|
| 2845 |
* macros.hh: don't do Darwin fix here |
| 2846 |
|
| 2847 |
* mathStuff.hh: moved Darwin fix here |
| 2848 |
|
| 2849 |
2003-07-25 Steven Eker <[email protected]> |
| 2850 |
|
| 2851 |
* macros.cc: use mathStuff.hh |
| 2852 |
|
| 2853 |
* mathStuff.hh: created |
| 2854 |
|
| 2855 |
2003-07-24 Steven Eker <[email protected]> |
| 2856 |
|
| 2857 |
* macros.cc: added explicit template for crope for old g++ versions |
| 2858 |
|
| 2859 |
2003-07-22 Steven Eker <[email protected]> |
| 2860 |
|
| 2861 |
* macros.hh: cleaned up LOCAL_INLINES |
| 2862 |
|
| 2863 |
* timer.hh: use timeStuff.hh |
| 2864 |
|
| 2865 |
* timeStuff.hh: created |
| 2866 |
|
| 2867 |
2003-07-21 Steven Eker <[email protected]> |
| 2868 |
|
| 2869 |
* ropeStuff.hh: rewritten using tests from |
| 2870 |
http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html |
| 2871 |
in an effort to get more portability |
| 2872 |
|
| 2873 |
2003-07-16 Steven Eker <[email protected]> |
| 2874 |
|
| 2875 |
* ropeStuff.hh: created |
| 2876 |
|
| 2877 |
===================================Maude81=========================================== |
| 2878 |
|
| 2879 |
2003-07-15 Steven Eker <[email protected]> |
| 2880 |
|
| 2881 |
* macros.hh: use long in place of long long int on 64 bit machines |
| 2882 |
since the latter is not supported by iostream on Alpha with libv3; |
| 2883 |
likewise with unsigned long long int |
| 2884 |
(setOnLs): use naive code if HAVE_CMOV defined |
| 2885 |
(setOnGeq): use naive code if HAVE_CMOV defined |
| 2886 |
|
| 2887 |
2003-07-01 Steven Eker <[email protected]> |
| 2888 |
|
| 2889 |
* macros.hh: #include "config.h"; check HAVE_STRINGS_H and HAVE_STRING_H |
| 2890 |
|
| 2891 |
2003-05-19 Steven Eker <[email protected]> |
| 2892 |
|
| 2893 |
* macros.hh (FOR_EACH_CONST): added parens around container |
| 2894 |
|
| 2895 |
===================================Maude80a=========================================== |
| 2896 |
|
| 2897 |
2003-05-01 Steven Eker <[email protected]> |
| 2898 |
|
| 2899 |
* macros.hh (swap): deleted |
| 2900 |
(min): deleted |
| 2901 |
(max): deleted |
| 2902 |
|
| 2903 |
* checkedConstIterator.hh (operator*): made const |
| 2904 |
(operator->): made const |
| 2905 |
|
| 2906 |
* checkedIterator.hh (operator*): made const |
| 2907 |
(operator->): made const |
| 2908 |
|
| 2909 |
===================================Maude80=========================================== |
| 2910 |
|
| 2911 |
2003-03-11 Steven Eker <[email protected]> |
| 2912 |
|
| 2913 |
* macros.hh: added FOR_EACH_CONST() macro |
| 2914 |
|
| 2915 |
2003-03-03 Steven Eker <[email protected]> |
| 2916 |
|
| 2917 |
* macros.hh (getSignBit): added |
| 2918 |
|
| 2919 |
2003-02-26 Steven Eker <[email protected]> |
| 2920 |
|
| 2921 |
* checkedIterator.hh (difference_type>): made class const_iterator |
| 2922 |
a friend |
| 2923 |
|
| 2924 |
* checkedConstIterator.hh (difference_type>): added decl for |
| 2925 |
conversion ctor |
| 2926 |
(const_iterator): added conversion version |
| 2927 |
|
| 2928 |
2003-02-24 Steven Eker <[email protected]> |
| 2929 |
|
| 2930 |
* vector.hh (Vector): updated Assert() |
| 2931 |
(operator[]): updated Assert() (both versions) |
| 2932 |
(expandTo): updated Assert() |
| 2933 |
(clear): updated Assert() |
| 2934 |
|
| 2935 |
* unionFind.cc: |
| 2936 |
|
| 2937 |
* unionFind.hh: |
| 2938 |
|
| 2939 |
* ttyAttributes.hh: removed #pragma |
| 2940 |
|
| 2941 |
* tty.cc: removed #pragma |
| 2942 |
|
| 2943 |
* tty.hh: removed #pragma |
| 2944 |
|
| 2945 |
* timer.cc: removed #pragma |
| 2946 |
|
| 2947 |
* timer.hh: removed #pragma |
| 2948 |
|
| 2949 |
* stringTable.cc: removed #pragma |
| 2950 |
|
| 2951 |
* stringTable.hh: removed #pragma |
| 2952 |
|
| 2953 |
* sequencePartition.cc (SequencePartition): removed #pragma |
| 2954 |
(insertPart): updated Assert()s |
| 2955 |
(solve): updated Assert() |
| 2956 |
(mainSolve): updated Assert()s |
| 2957 |
|
| 2958 |
* sequencePartition.hh: removed #pragma |
| 2959 |
(start): updated Assert()s |
| 2960 |
(end): updated Assert()s |
| 2961 |
|
| 2962 |
* preVector.cc: removed #pragma |
| 2963 |
|
| 2964 |
* preVector.hh: removed #pragma |
| 2965 |
(setLength): updated Assert() |
| 2966 |
|
| 2967 |
* pointerSet.cc: removed #pragma |
| 2968 |
(findEntry): updated Assert() |
| 2969 |
|
| 2970 |
* pointerSet.hh: removed #pragma |
| 2971 |
|
| 2972 |
* pointerMap.cc: removed #pragma |
| 2973 |
(setMap): updated Assert() |
| 2974 |
(getMap): updated Assert() |
| 2975 |
|
| 2976 |
* pointerMap.hh: removed #pragma |
| 2977 |
|
| 2978 |
* natSet.cc: removed #pragma |
| 2979 |
(topBit): updated Assert() |
| 2980 |
(bottomBit): updated Assert() |
| 2981 |
(getMask): updated Assert() |
| 2982 |
(getWordNr): updated Assert() |
| 2983 |
(arrayContains): updated Assert() |
| 2984 |
(insert): updated Assert() |
| 2985 |
(subtract): updated Assert() |
| 2986 |
(operator++): updated Assert() |
| 2987 |
|
| 2988 |
* natSet.hh: removed #pragma |
| 2989 |
(contains): updated Assert() |
| 2990 |
(operator*): updated Assert() |
| 2991 |
|
| 2992 |
* intSet.cc: removed #pragma |
| 2993 |
(findEntry): updated Assert() |
| 2994 |
|
| 2995 |
* intSet.hh: removed #pragma |
| 2996 |
|
| 2997 |
* indexedSet.hh: removed #pragma |
| 2998 |
|
| 2999 |
* indent.cc: removed #pragma |
| 3000 |
|
| 3001 |
* indent.hh: removed #pragma |
| 3002 |
|
| 3003 |
* graph.cc: removed #pragma |
| 3004 |
|
| 3005 |
* diophantineSystem.cc: removed #pragma |
| 3006 |
|
| 3007 |
* graph.hh: removed #pragma |
| 3008 |
|
| 3009 |
* diophantineSystem.cc (insertRow): updated Assert()s |
| 3010 |
(insertColumn): updated Assert()s |
| 3011 |
(solve): updated Assert() |
| 3012 |
(buildSolubilityVectors): updated Assert() |
| 3013 |
(precompute): updated Assert()s |
| 3014 |
(multisetSelect): updated Assert()s |
| 3015 |
(multisetComplex): updated Assert()s |
| 3016 |
(solveLastRowComplex): updated Assert() |
| 3017 |
(solveRowComplex): updated Assert()s |
| 3018 |
|
| 3019 |
* diophantineSystem.hh: removed #pragma |
| 3020 |
(solution): updated Assert()s |
| 3021 |
|
| 3022 |
* digraph.cc: removed #pragma |
| 3023 |
|
| 3024 |
* digraph.hh: removed #pragma |
| 3025 |
|
| 3026 |
* decBuf.cc: removed #pragma |
| 3027 |
(ascii): updated Assert() |
| 3028 |
|
| 3029 |
* decBuf.hh: removed #pragma |
| 3030 |
|
| 3031 |
* binBuf.cc: removed #pragma |
| 3032 |
(init): updated Assert() |
| 3033 |
|
| 3034 |
* binBuf.hh: removed #pragma |
| 3035 |
|
| 3036 |
* checkedIterator.hh (checkValid): updated Assert()s |
| 3037 |
(checkDereferenceable): updated Assert()s |
| 3038 |
(operator--): updated Assert() |
| 3039 |
(operator+): updated Assert() |
| 3040 |
(operator-): updated Assert() |
| 3041 |
(operator[]): updated Assert() |
| 3042 |
(operator<): updated Assert() |
| 3043 |
(operator-): updated Assert() |
| 3044 |
|
| 3045 |
* checkedConstIterator.hh (checkValid): updated Assert()s |
| 3046 |
(checkDereferenceable): updated Assert()s |
| 3047 |
(operator--): updated Assert() |
| 3048 |
(operator+): updated Assert() |
| 3049 |
(operator-): updated Assert() |
| 3050 |
(operator[]): updated Assert() |
| 3051 |
(operator<): updated Assert() |
| 3052 |
(operator-): updated Assert() |
| 3053 |
|
| 3054 |
* bddUser.cc: removed #pragma |
| 3055 |
|
| 3056 |
* bddUser.hh: removed #pragma |
| 3057 |
|
| 3058 |
* bdd.cc: removed #pragma |
| 3059 |
|
| 3060 |
* bdd.hh: removed #pragma |
| 3061 |
|
| 3062 |
* macros.hh (floorDivision): updated Assert() |
| 3063 |
(ceilingDivision): updated Assert() |
| 3064 |
|
| 3065 |
* flagSet.hh: removed #pragma |
| 3066 |
|
| 3067 |
* macros.cc: removed #pragmas |
| 3068 |
(int64ToString): updated Assert() |
| 3069 |
(stringToInt64): updated Assert() |
| 3070 |
|
| 3071 |
* macros.hh: removed #pragma |
| 3072 |
(DebugAdvisoryCheck): message rather than action |
| 3073 |
(Assert): message rather than action |
| 3074 |
|
| 3075 |
===================================Maude79=========================================== |
| 3076 |
|
| 3077 |
2003-02-12 Steven Eker <[email protected]> |
| 3078 |
|
| 3079 |
* macros.hh (safeCast): handle null pointers in the assert case |
| 3080 |
|
| 3081 |
===================================Maude78=========================================== |
| 3082 |
|
| 3083 |
2003-01-06 Steven Eker <[email protected]> |
| 3084 |
|
| 3085 |
* macros.cc (doubleToString): special case for 0.0 |
| 3086 |
|
| 3087 |
2003-01-02 Steven Eker <[email protected]> |
| 3088 |
|
| 3089 |
* macros.hh (SpecialConstants): added BITS_PER_BYTE and BITS_PER_INT |
| 3090 |
(setOnLs): use BITS_PER_INT |
| 3091 |
(setOnGeq): use BITS_PER_INT |
| 3092 |
|
| 3093 |
2002-12-19 Steven Eker <[email protected]> |
| 3094 |
|
| 3095 |
* macros.hh (setOnLs): added |
| 3096 |
(setOnGeq): added |
| 3097 |
|
| 3098 |
2002-12-03 Steven Eker <[email protected]> |
| 3099 |
|
| 3100 |
* vector.hh: removed #pragma interface since it causes g++3.2 not |
| 3101 |
to emit default and copy contructors for nested classes in certain |
| 3102 |
complex situations |
| 3103 |
|
| 3104 |
2002-11-27 Steven Eker <[email protected]> |
| 3105 |
|
| 3106 |
* macros.cc (doubleToString): rewritten using correctEcvt() since |
| 3107 |
ostrstreams don't get precision right with version 3 of stdc++ |
| 3108 |
library |
| 3109 |
|
| 3110 |
===================================Maude77============================================ |
| 3111 |
|
| 3112 |
2002-11-26 Steven Eker <[email protected]> |
| 3113 |
|
| 3114 |
* macros.hh (union MachineWord): added |
| 3115 |
|
| 3116 |
2002-11-25 Steven Eker <[email protected]> |
| 3117 |
|
| 3118 |
* macros.cc (doubleToString): made "misplaced exponent" Assert |
| 3119 |
more detailed since it is failing |
| 3120 |
(doubleToString): don't clean number up because new libc++ is not |
| 3121 |
returning number in requested format |
| 3122 |
|
| 3123 |
* indexedSet.hh: added many typenames to placate g++3.2 |
| 3124 |
|
| 3125 |
2002-11-20 Steven Eker <[email protected]> |
| 3126 |
|
| 3127 |
* checkedConstIterator.hh (checkDereferenceable): fixed Assert() |
| 3128 |
message |
| 3129 |
|
| 3130 |
* checkedIterator.hh (checkDereferenceable): fixed Assert() |
| 3131 |
message |
| 3132 |
|
| 3133 |
* vector.hh (rawBasePointer): (both versions) deleted |
| 3134 |
|
| 3135 |
2002-11-18 Steven Eker <[email protected]> |
| 3136 |
|
| 3137 |
* checkedConstIterator.hh: added many typenames to placate g++3.2 |
| 3138 |
|
| 3139 |
* checkedIterator.hh: added many typenames to placate g++3.2 |
| 3140 |
|
| 3141 |
===================================Maude77================================================== |
| 3142 |
|
| 3143 |
2002-11-14 Steven Eker <[email protected]> |
| 3144 |
|
| 3145 |
* macros.hh: rewrote Advisory/Warning macros |
| 3146 |
|
| 3147 |
2002-11-11 Steven Eker <[email protected]> |
| 3148 |
|
| 3149 |
* macros.hh: added fwd decl for class FlagSet |
| 3150 |
|
| 3151 |
* macros.cc: provide implementation for flagSet.hh |
| 3152 |
|
| 3153 |
* flagSet.hh: created |
| 3154 |
|
| 3155 |
2002-11-05 Steven Eker <[email protected]> |
| 3156 |
|
| 3157 |
* vector.hh: deleted VECTOR_HACK() and CONST_VECTOR_HACK() macros |
| 3158 |
|
| 3159 |
* timer.cc: moved here |
| 3160 |
|
| 3161 |
* timer.hh: moved here |
| 3162 |
|
| 3163 |
* macros.hh: deleted class BigNum; added class Timer |
| 3164 |
|
| 3165 |
2002-11-01 Steven Eker <[email protected]> |
| 3166 |
|
| 3167 |
* vector.hh: added many typename's to placate g++3.2 |
| 3168 |
|
| 3169 |
===================================Maude76================================================== |
| 3170 |
|
| 3171 |
2002-08-02 Steven Eker <[email protected]> |
| 3172 |
|
| 3173 |
* graph.cc (color): resize coloring as a precaution |
| 3174 |
|
| 3175 |
2002-08-01 Steven Eker <[email protected]> |
| 3176 |
|
| 3177 |
* macros.hh (DebugAdvisory): added |
| 3178 |
|
| 3179 |
2002-07-11 Steven Eker <[email protected]> |
| 3180 |
|
| 3181 |
* natSet.hh (operator*): added assert to check that we are not at |
| 3182 |
the end of the set |
| 3183 |
|
| 3184 |
===================================Maude74================================================== |
| 3185 |
|
| 3186 |
2002-06-11 Steven Eker <[email protected]> |
| 3187 |
|
| 3188 |
* macros.hh: added typedef unsigned int Uint |
| 3189 |
|
| 3190 |
2002-06-07 Steven Eker <[email protected]> |
| 3191 |
|
| 3192 |
* macros.hh (SpecialConstants): added BITS_PER_UINT |
| 3193 |
|
| 3194 |
===================================Maude73================================================== |
| 3195 |
|
| 3196 |
2002-05-09 Steven Eker <[email protected]> |
| 3197 |
|
| 3198 |
* macros.hh: added CantHappen() macro |
| 3199 |
|
| 3200 |
2002-05-03 Steven Eker <[email protected]> |
| 3201 |
|
| 3202 |
* bigNum.cc: deleted |
| 3203 |
|
| 3204 |
* bigNum.hh: deleted |
| 3205 |
|
| 3206 |
2002-04-30 Steven Eker <[email protected]> |
| 3207 |
|
| 3208 |
* bigNum.hh (class BigNum): added unsigned int versions of |
| 3209 |
assignAdd(), assignSub(), assignMul(); added getValue(), |
| 3210 |
getRemainder() |
| 3211 |
|
| 3212 |
2002-04-24 Steven Eker <[email protected]> |
| 3213 |
|
| 3214 |
* bigNum.hh (class BigNum): made makeString() const |
| 3215 |
|
| 3216 |
===================================Maude72================================================== |
| 3217 |
|
| 3218 |
2002-04-23 Steven Eker <[email protected]> |
| 3219 |
|
| 3220 |
* macros.hh: added fwd decl for class BigNum |
| 3221 |
|
| 3222 |
2002-04-04 Steven Eker <[email protected]> |
| 3223 |
|
| 3224 |
* macros.hh: added fwd decl for class Tty; |
| 3225 |
|
| 3226 |
2002-04-01 Steven Eker <[email protected]> |
| 3227 |
|
| 3228 |
* vector.hh (clear): added |
| 3229 |
|
| 3230 |
===================================Maude71a================================================== |
| 3231 |
|
| 3232 |
2002-03-22 Steven Eker <[email protected]> |
| 3233 |
|
| 3234 |
* macros.hh: made base have default value of 10 for |
| 3235 |
int64ToString() and stringToInt64() |
| 3236 |
|
| 3237 |
2002-03-12 Steven Eker <[email protected]> |
| 3238 |
|
| 3239 |
* pointerSet.hh (swap): added |
| 3240 |
|
| 3241 |
2002-03-11 Steven Eker <[email protected]> |
| 3242 |
|
| 3243 |
* unionFind.cc: deleted explicit template instantiation |
| 3244 |
|
| 3245 |
* sequencePartition.cc: deleted explicit template instantiation |
| 3246 |
|
| 3247 |
* pointerSet.cc: deleted explicit template instantiation |
| 3248 |
|
| 3249 |
* pointerMap.cc: deleted explicit template instantiation |
| 3250 |
|
| 3251 |
* macros.cc: deleted explicit template instantiations |
| 3252 |
|
| 3253 |
* diophantineSystem.cc: deleted explicit template instantiations |
| 3254 |
|
| 3255 |
===================================Maude71================================================== |
| 3256 |
|
| 3257 |
2002-03-08 Steven Eker <[email protected]> |
| 3258 |
|
| 3259 |
* vector.hh (begin): fixed casting bug |
| 3260 |
(end): fixed casting bug |
| 3261 |
|
| 3262 |
2002-03-07 Steven Eker <[email protected]> |
| 3263 |
|
| 3264 |
* vector.hh (capacity): added |
| 3265 |
|
| 3266 |
* preVector.hh (empty): rewritten to generate better code when |
| 3267 |
inlined on x86. Generating good code on Sparc seems impossible - |
| 3268 |
the compiler always wants to generate a 0 or 1 result in a |
| 3269 |
register as a result of this function and then test it to see if |
| 3270 |
it 0 or 1 in the calling if statement! |
| 3271 |
|
| 3272 |
* vector.hh (empty): added |
| 3273 |
|
| 3274 |
* preVector.hh (empty): added |
| 3275 |
|
| 3276 |
2002-03-06 Steven Eker <[email protected]> |
| 3277 |
|
| 3278 |
* checkedConstIterator.hh (class const iterator): declare ptr |
| 3279 |
using type const_pointer |
| 3280 |
|
| 3281 |
* checkedIterator.hh (checkValid): use static_cast<pointer> |
| 3282 |
(checkDereferenceable): use static_cast<pointer> |
| 3283 |
(class iterator): declare ptr using type pointer |
| 3284 |
|
| 3285 |
* checkedConstIterator.hh (checkValid): use |
| 3286 |
static_cast<const_pointer>() |
| 3287 |
(checkDereferenceable): use static_cast<const_pointer>() |
| 3288 |
|
| 3289 |
* checkedIterator.hh (iterator): (private version) use pointer |
| 3290 |
type in cast |
| 3291 |
|
| 3292 |
* vector.hh (class Vector): support const_iterator |
| 3293 |
|
| 3294 |
* checkedConstIterator.hh: created |
| 3295 |
|
| 3296 |
* vector.hh (operator): must not call freeMemory() if getBase() |
| 3297 |
returns 0 |
| 3298 |
|
| 3299 |
* preVector.hh (class PreVector): deleted decl for reallocate() |
| 3300 |
|
| 3301 |
* preVector.cc (reallocate): deleted |
| 3302 |
|
| 3303 |
* vector.hh (Vector): (1 arg version) new initAllocate() |
| 3304 |
convention; call setLength() |
| 3305 |
(Vector): (2 arg version) new initAllocate() convention; we |
| 3306 |
alreday call setLength() |
| 3307 |
(Vector): (copy ctor) new initAllocate() convention; call |
| 3308 |
setLength() |
| 3309 |
(expandTo): new initAllocate() convention |
| 3310 |
(append): new initAllocate() convention (2 places); call |
| 3311 |
setLength() (1st place) |
| 3312 |
(operator=): use freeMemory() & initAllocate() in place of |
| 3313 |
reallocate() |
| 3314 |
|
| 3315 |
* preVector.cc (initAllocate): take atLeastBytes rather than |
| 3316 |
length and size arguments. The idea is to do the multiply on the |
| 3317 |
outside where the multiplier will probably be a known constant |
| 3318 |
(initAllocate): don't set length because we don't have this value; |
| 3319 |
it will have to be done on the outside |
| 3320 |
|
| 3321 |
* preVector.hh: updated decl for initAllocate() |
| 3322 |
|
| 3323 |
* vector.hh (expandTo): reallocate memory using a temporary |
| 3324 |
PreVector; copy and delete objects |
| 3325 |
(append): reallocate memory using a temporary PreVector; copy and |
| 3326 |
delete objects; fix long standing bug that we were reallocating |
| 3327 |
when pv.getAllocatedBytes() <= neededBytes rather than when |
| 3328 |
pv.getAllocatedBytes() < neededBytes |
| 3329 |
|
| 3330 |
* preVector.hh (initSteal): added |
| 3331 |
|
| 3332 |
2002-03-05 Steven Eker <[email protected]> |
| 3333 |
|
| 3334 |
* vector.hh (resize): rewritten to fix bug now that subtraction |
| 3335 |
cannot produce -ve results |
| 3336 |
|
| 3337 |
* checkedIterator.hh (iterator): added a bunch of typedefs so that |
| 3338 |
sort() algorithm from the STL will work |
| 3339 |
|
| 3340 |
* vector.hh (operator): use size() rather than length() (both |
| 3341 |
versions) |
| 3342 |
|
| 3343 |
* preVector.hh: int -> size_t throughout |
| 3344 |
|
| 3345 |
* preVector.cc (initAllocate): int -> size_t |
| 3346 |
|
| 3347 |
* checkedIterator.hh: int -> size_type throughout |
| 3348 |
(checkValid): removed Assert() now that we can't be -ve |
| 3349 |
(checkDereferenceable): removed Assert() now that we can't be -ve |
| 3350 |
(operator+=): removed Assert() now that we can't be -ve |
| 3351 |
(operator-=): removed Assert() now that we can't be -ve |
| 3352 |
(operator[]): removed Assert() now that we can't be -ve |
| 3353 |
|
| 3354 |
* vector.hh: int -> size_type throughout |
| 3355 |
(class Vector): retain int for length() just in case we add a -ve |
| 3356 |
value to in somewhere. Eventually we should move to size() and |
| 3357 |
check this |
| 3358 |
(size): added |
| 3359 |
(Vector): removed Assert() now that we can't be -ve (2 versions) |
| 3360 |
(operator[]): removed Assert() now that we can't be -ve (2 versions) |
| 3361 |
(expandBy): removed Assert() now that we can't be -ve |
| 3362 |
|
| 3363 |
* checkedIterator.hh (operator--): added both versions |
| 3364 |
(operator+=): added |
| 3365 |
(operator-=): added |
| 3366 |
(operator+): added |
| 3367 |
(operator-): added |
| 3368 |
(operator[]): added |
| 3369 |
(operator<): added |
| 3370 |
(operator=): added |
| 3371 |
(operator-): added iterator difference version |
| 3372 |
(operator+): added friend version |
| 3373 |
(operator-): optimized |
| 3374 |
(operator+): optimized |
| 3375 |
(iterator): give up on trying to provide operator+(int, iterator&) |
| 3376 |
- not clear how this can be accomplished and deque<>::iterator in |
| 3377 |
the STL fails to provide this despite the STL documentation |
| 3378 |
|
| 3379 |
2002-03-04 Steven Eker <[email protected]> |
| 3380 |
|
| 3381 |
* vector.hh: use checked iterators for begin() and end() |
| 3382 |
|
| 3383 |
* checkedIterator.hh: created |
| 3384 |
|
| 3385 |
2002-02-28 Steven Eker <[email protected]> |
| 3386 |
|
| 3387 |
* macros.hh: added forward decl for class Bdd |
| 3388 |
|
| 3389 |
* bddUser.cc (extractPrimeImplicant): removed |
| 3390 |
|
| 3391 |
* bddUser.hh: cleaned up; removed class Bdd stuff |
| 3392 |
|
| 3393 |
* bdd.cc (extractPrimeImplicant): moved here |
| 3394 |
|
| 3395 |
* bdd.hh (class Bdd): moved here |
| 3396 |
|
| 3397 |
2002-02-25 Steven Eker <[email protected]> |
| 3398 |
|
| 3399 |
* bddUser.hh (class Bdd): added ctors |
| 3400 |
|
| 3401 |
* bddUser.cc (extractPrimeImplicant): added |
| 3402 |
|
| 3403 |
* bddUser.hh (class Bdd): added decl for extractPrimeImplicant() |
| 3404 |
|
| 3405 |
2002-02-13 Steven Eker <[email protected]> |
| 3406 |
|
| 3407 |
* tty.hh (setEscapeSequencesAllowed): added |
| 3408 |
|
| 3409 |
* tty.cc: created |
| 3410 |
|
| 3411 |
* tty.hh: created |
| 3412 |
|
| 3413 |
===================================Maude70================================================== |
| 3414 |
|
| 3415 |
2002-01-24 Steven Eker <[email protected]> |
| 3416 |
|
| 3417 |
* macros.hh (pluralize): added |
| 3418 |
|
| 3419 |
* macros.cc: added globalVerboseFlag |
| 3420 |
|
| 3421 |
* macros.hh: added Verbose() macro |
| 3422 |
|
| 3423 |
2001-12-17 Steven Eker <[email protected]> |
| 3424 |
|
| 3425 |
* indexedSet.hh (insert): added FastPair version |
| 3426 |
(class IndexedSet): added FastPair type |
| 3427 |
(insert): use -> for iterator |
| 3428 |
(find): use -> for iterator |
| 3429 |
(ithElement): use -> for iterator |
| 3430 |
|
| 3431 |
2001-12-14 Steven Eker <[email protected]> |
| 3432 |
|
| 3433 |
* natSet.hh (operator=): test element before natSet |
| 3434 |
(operator!): test element before natSet |
| 3435 |
|
| 3436 |
* natSet.cc (operator++): implemented |
| 3437 |
(getWord): becomes getWordNr |
| 3438 |
(getMask): added Assert() |
| 3439 |
(getWordNr): added Assert |
| 3440 |
(operator<<): rewritten using iterators |
| 3441 |
|
| 3442 |
2001-12-13 Steven Eker <[email protected]> |
| 3443 |
|
| 3444 |
* natSet.hh (min): moved here and rewritten in terms of |
| 3445 |
arrayMin(); made inline |
| 3446 |
|
| 3447 |
* natSet.cc (countBits): use 16 entry lookup table method; make |
| 3448 |
local_inline |
| 3449 |
(arrayMin): added |
| 3450 |
|
| 3451 |
* natSet.hh (clear): was makeEmpty() |
| 3452 |
|
| 3453 |
* natSet.cc (topBit): don't test for zero word here, Assert() |
| 3454 |
instead |
| 3455 |
(bottomBit): added Assert() for zero word |
| 3456 |
(cardinality): becomes size() |
| 3457 |
|
| 3458 |
* natSet.hh (max): do test for empty set here |
| 3459 |
|
| 3460 |
2001-12-12 Steven Eker <[email protected]> |
| 3461 |
|
| 3462 |
* natSet.cc (min): made non-inline since with gc++ 3.0 it's not |
| 3463 |
possible to have a function inline in one file and yet have an |
| 3464 |
outlined copy for calls from other files: "An inline function must |
| 3465 |
be defined in every translation unit that references it." - g++ |
| 3466 |
problem report 3833 response |
| 3467 |
|
| 3468 |
2001-12-10 Steven Eker <[email protected]> |
| 3469 |
|
| 3470 |
* vector.hh (Vector): added const to cast on originalVector |
| 3471 |
(operator[]): use const in cast |
| 3472 |
(operator): added const to cast on originalVector |
| 3473 |
(rawBasePointer): use const in cast |
| 3474 |
|
| 3475 |
===================================Maude69================================================== |
| 3476 |
|
| 3477 |
2001-12-05 Steven Eker <[email protected]> |
| 3478 |
|
| 3479 |
* modelChecker2.hh (getLeadIn): added |
| 3480 |
(getCycle): added |
| 3481 |
|
| 3482 |
* modelChecker2.cc (dfs2PropertyTransitions): store counterexample |
| 3483 |
info |
| 3484 |
(dfs1PropertyTransitions): store counterexample info |
| 3485 |
|
| 3486 |
* veryWeakAlternatingAutomaton.cc (computeTransitionSet): use |
| 3487 |
ithvar() and nithvar() |
| 3488 |
|
| 3489 |
* bddUser.hh (class BddUser): added enum Constants |
| 3490 |
|
| 3491 |
* bddUser.cc (BddUser): use enum Constants |
| 3492 |
|
| 3493 |
* bddUser.hh (ithvar): added |
| 3494 |
(nithvar): added |
| 3495 |
|
| 3496 |
2001-12-04 Steven Eker <[email protected]> |
| 3497 |
|
| 3498 |
* modelChecker2.cc: created |
| 3499 |
|
| 3500 |
* modelChecker2.hh: created |
| 3501 |
|
| 3502 |
2001-12-03 Steven Eker <[email protected]> |
| 3503 |
|
| 3504 |
* buchiAutomaton2.hh (getInitialStates): added |
| 3505 |
|
| 3506 |
2001-11-28 Steven Eker <[email protected]> |
| 3507 |
|
| 3508 |
* buchiAutomaton2.cc (remapNatSet): added |
| 3509 |
(hasNonAcceptingTarget): added |
| 3510 |
(transformTransitionMap): added |
| 3511 |
(collapseStates): added |
| 3512 |
(BuchiAutomaton2): use collapseStates() |
| 3513 |
|
| 3514 |
* genBuchiAutomaton.cc (dump): don't print out undefined states; |
| 3515 |
these states can be created during VWAA->GBA conversion but never |
| 3516 |
get fleshed out because the transition(s) to them are subsumed in |
| 3517 |
the transitions sets in which they occur |
| 3518 |
|
| 3519 |
* sccOptimizations.cc (sccOptimizations): fixed bug in rebuiling |
| 3520 |
the GBA where we were looking the state number up in |
| 3521 |
fairTransitionSets rather than the state number after translation |
| 3522 |
into a fair set number |
| 3523 |
|
| 3524 |
* buchiAutomaton2.cc (generate): fixed new state number |
| 3525 |
calculation bug |
| 3526 |
|
| 3527 |
2001-11-27 Steven Eker <[email protected]> |
| 3528 |
|
| 3529 |
* buchiAutomaton2.cc (dump): don't try to print transition sets |
| 3530 |
for empty states |
| 3531 |
|
| 3532 |
* buchiAutomaton2.hh (class BuchiAutomaton2): added decls for |
| 3533 |
generate() and insertTransition() |
| 3534 |
|
| 3535 |
* buchiAutomaton2.cc (generate): added |
| 3536 |
(insertTransition): added |
| 3537 |
|
| 3538 |
2001-11-26 Steven Eker <[email protected]> |
| 3539 |
|
| 3540 |
* genBuchiAutomaton.hh (getNrStates): added |
| 3541 |
(getNrFairnessSets): added |
| 3542 |
(getInitialStates): added |
| 3543 |
(getFairnessCombination): added |
| 3544 |
(getTransitions): added |
| 3545 |
|
| 3546 |
* buchiAutomaton2.hh: created |
| 3547 |
|
| 3548 |
* buchiAutomaton2.cc: created |
| 3549 |
|
| 3550 |
2001-11-21 Steven Eker <[email protected]> |
| 3551 |
|
| 3552 |
* sccOptimizations.cc (handleComponent): fixed bug where a |
| 3553 |
degenerate SCC (i.e. a single node without a self transition) |
| 3554 |
could be labelled as fair if there were no fairness sets. |
| 3555 |
|
| 3556 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): complete |
| 3557 |
redesign of data structure for SCC optimizations |
| 3558 |
(class GenBuchiAutomaton): updated decl for handleComponent() |
| 3559 |
|
| 3560 |
* sccOptimizations.cc: complete rewrite of all functions using new |
| 3561 |
data structures; fix a bug where we were failing to remove |
| 3562 |
fairness info from transitions leaving fair component |
| 3563 |
|
| 3564 |
2001-11-20 Steven Eker <[email protected]> |
| 3565 |
|
| 3566 |
* sccOptimizations.cc (sccOptimizations): moved here |
| 3567 |
(eliminateFairness): moved here |
| 3568 |
(transformFairTransitionSet2): moved here |
| 3569 |
(strongConnected): moved here |
| 3570 |
(handleComponent): moved here |
| 3571 |
|
| 3572 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): optimize() -> |
| 3573 |
collapseStates() |
| 3574 |
|
| 3575 |
* genBuchiAutomaton.cc (GenBuchiAutomaton): loop on |
| 3576 |
collapseStates() until number of states is equal to number of |
| 3577 |
distinct transtions |
| 3578 |
|
| 3579 |
* collapseStates.cc (optimize): moved here; renamed to collapseStates() |
| 3580 |
(transformFairTransitionSet): moved here |
| 3581 |
(insertFairTransition2): moved here |
| 3582 |
|
| 3583 |
* genBuchiAutomaton.cc (optimize): initialStates becomes a NatSet, |
| 3584 |
use remapNatSet() |
| 3585 |
(GenBuchiAutomaton): initialStates becomes a NatSet |
| 3586 |
(dump): initialStates becomes a NatSet |
| 3587 |
(sccOptimizations): initialStates becomes a NatSet |
| 3588 |
|
| 3589 |
2001-11-19 Steven Eker <[email protected]> |
| 3590 |
|
| 3591 |
* genBuchiAutomaton.cc (remapNatSet): added |
| 3592 |
|
| 3593 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): added decls for |
| 3594 |
eliminateFairness(), transformFairTransitionSet2(), remapNatSet() |
| 3595 |
|
| 3596 |
* genBuchiAutomaton.cc (eliminateFairness): added |
| 3597 |
(transformFairTransitionSet2): added |
| 3598 |
|
| 3599 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): added data |
| 3600 |
members essential, eliminated |
| 3601 |
|
| 3602 |
* genBuchiAutomaton.cc (GenBuchiAutomaton): call sccOptimizations() |
| 3603 |
|
| 3604 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): added data |
| 3605 |
members alive, tarjan, stateStack |
| 3606 |
(class GenBuchiAutomaton): added decls for sccOptimizations(), |
| 3607 |
strongConnected(), handleComponent() |
| 3608 |
(class GenBuchiAutomaton): added data members nrFairnessSets, |
| 3609 |
stateCount, componentNr |
| 3610 |
|
| 3611 |
* genBuchiAutomaton.cc (sccOptimizations): added |
| 3612 |
(strongConnected): added |
| 3613 |
(handleComponent): added |
| 3614 |
|
| 3615 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): added data |
| 3616 |
member allFair |
| 3617 |
|
| 3618 |
* genBuchiAutomaton.cc (GenBuchiAutomaton): initialize allFair |
| 3619 |
(generateState): use allFair |
| 3620 |
|
| 3621 |
2001-11-16 Steven Eker <[email protected]> |
| 3622 |
|
| 3623 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): added decls for |
| 3624 |
insertFairTransition2(), transformFairTransitionSet(), optimize() |
| 3625 |
|
| 3626 |
* genBuchiAutomaton.cc (transformFairTransitionSet): added |
| 3627 |
(optimize): added |
| 3628 |
(GenBuchiAutomaton): call optimize() |
| 3629 |
|
| 3630 |
* indexedSet.hh (swap): added |
| 3631 |
|
| 3632 |
* genBuchiAutomaton.cc (dump): updated to use new states |
| 3633 |
(generateState): updated to use new states |
| 3634 |
(insertFairTransition2): added |
| 3635 |
|
| 3636 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): added typedef |
| 3637 |
for FairTransitionSetTable and data member fairTransitionSets; |
| 3638 |
changed states to Vector<int> |
| 3639 |
|
| 3640 |
2001-11-15 Steven Eker <[email protected]> |
| 3641 |
|
| 3642 |
* genBuchiAutomaton.cc (insertFairTransition): bdd -> Bdd |
| 3643 |
|
| 3644 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): bdd -> Bdd |
| 3645 |
|
| 3646 |
* rawTransitionSet.hh (Transition>): don't use class LtTransition |
| 3647 |
|
| 3648 |
* transitionSet.hh: bdd -> Bdd |
| 3649 |
|
| 3650 |
* transitionSet.cc (insert): bdd -> Bdd |
| 3651 |
|
| 3652 |
* transitionSet.hh (struct LtTransition): deleted |
| 3653 |
|
| 3654 |
* bddUser.hh (class Bdd): added |
| 3655 |
|
| 3656 |
2001-11-14 Steven Eker <[email protected]> |
| 3657 |
|
| 3658 |
* veryWeakAlternatingAutomaton.cc (computeFairnessSet): fixed |
| 3659 |
nasty bug where we were calling checkFairness() with final states |
| 3660 |
index in final state array rather than its index in state array |
| 3661 |
|
| 3662 |
* veryWeakAlternatingAutomaton.hh (getNrFinalStates): added |
| 3663 |
|
| 3664 |
* genBuchiAutomaton.cc (generateState): handle empty state case |
| 3665 |
|
| 3666 |
2001-11-13 Steven Eker <[email protected]> |
| 3667 |
|
| 3668 |
* genBuchiAutomaton.cc (GenBuchiAutomaton): implemented |
| 3669 |
(dump): added |
| 3670 |
|
| 3671 |
* veryWeakAlternatingAutomaton.hh (getInitialStates): added |
| 3672 |
|
| 3673 |
* genBuchiAutomaton.hh (class GenBuchiAutomaton): added decl for |
| 3674 |
getStateIndex(); componentStates -> vwaaStateSets |
| 3675 |
|
| 3676 |
* genBuchiAutomaton.cc (generateState): use |
| 3677 |
VeryWeakAlternatingAutomaton::computeFairnessSet(); much simplification |
| 3678 |
componentStates -> vwaaStateSets throughout |
| 3679 |
(getStateIndex): added |
| 3680 |
(generateState): simplified using getStateIndex() |
| 3681 |
|
| 3682 |
* veryWeakAlternatingAutomaton.hh (class |
| 3683 |
VeryWeakAlternatingAutomaton): added decl for |
| 3684 |
computeFairnessSet(); made checkFairness() private |
| 3685 |
|
| 3686 |
* veryWeakAlternatingAutomaton.cc (computeTransitionSet): append() |
| 3687 |
rather than finalStates |
| 3688 |
(reachabilityOpt): rewrote final states renaming code |
| 3689 |
(dump): updated final state code |
| 3690 |
(computeFairnessSet): added |
| 3691 |
|
| 3692 |
* veryWeakAlternatingAutomaton.hh (class |
| 3693 |
VeryWeakAlternatingAutomaton): finalStates changed to vector<int> |
| 3694 |
|
| 3695 |
2001-11-12 Steven Eker <[email protected]> |
| 3696 |
|
| 3697 |
* genBuchiAutomaton.cc (insertFairTransition): added |
| 3698 |
|
| 3699 |
* rawTransitionSet.hh (class RawTransitionSet): turned product() |
| 3700 |
decl into a ctor decl |
| 3701 |
|
| 3702 |
* rawTransitionSet.cc (product): make into a ctor to avoid the |
| 3703 |
need for a default ctor |
| 3704 |
|
| 3705 |
* veryWeakAlternatingAutomaton.hh (getTransitionSet): added |
| 3706 |
|
| 3707 |
* genBuchiAutomaton.cc: created |
| 3708 |
|
| 3709 |
* genBuchiAutomaton.hh: created |
| 3710 |
|
| 3711 |
2001-11-09 Steven Eker <[email protected]> |
| 3712 |
|
| 3713 |
* transition.hh: created |
| 3714 |
|
| 3715 |
* rawTransitionSet.hh: created |
| 3716 |
|
| 3717 |
* veryWeakAlternatingAutomaton.hh (class |
| 3718 |
VeryWeakAlternatingAutomaton): added decl for checkFairness() |
| 3719 |
|
| 3720 |
* rawTransitionSet.cc: created |
| 3721 |
|
| 3722 |
* veryWeakAlternatingAutomaton.cc (checkFairness): added |
| 3723 |
|
| 3724 |
2001-11-08 Steven Eker <[email protected]> |
| 3725 |
|
| 3726 |
* transitionSet.cc (product): fixed bug in computation of new |
| 3727 |
transition bdd |
| 3728 |
|
| 3729 |
* transitionSet.hh (class TransitionSet): added decl for rename() |
| 3730 |
|
| 3731 |
* transitionSet.cc (rename): added |
| 3732 |
|
| 3733 |
* veryWeakAlternatingAutomaton.cc: rewritten using new state |
| 3734 |
representation |
| 3735 |
|
| 3736 |
* veryWeakAlternatingAutomaton.hh (class |
| 3737 |
VeryWeakAlternatingAutomaton): make states have type TransitionSet |
| 3738 |
rather than structs containg a pointer to a TransitionSet |
| 3739 |
|
| 3740 |
* transitionSet.hh (swap): added |
| 3741 |
|
| 3742 |
* veryWeakAlternatingAutomaton.cc: complete rewrite using class |
| 3743 |
TransitionSet |
| 3744 |
|
| 3745 |
* veryWeakAlternatingAutomaton.hh (class |
| 3746 |
VeryWeakAlternatingAutomaton): complete rewrite using class |
| 3747 |
TransitionSet |
| 3748 |
|
| 3749 |
* transitionSet.hh (class TransitionSet): added decl for dump() |
| 3750 |
|
| 3751 |
* natSet.cc (operator<<): added |
| 3752 |
|
| 3753 |
* natSet.hh: added decl for operator<< |
| 3754 |
|
| 3755 |
* transitionSet.cc (dump): added |
| 3756 |
|
| 3757 |
2001-11-07 Steven Eker <[email protected]> |
| 3758 |
|
| 3759 |
* transitionSet.hh: created |
| 3760 |
|
| 3761 |
* transitionSet.cc: created |
| 3762 |
|
| 3763 |
2001-11-05 Steven Eker <[email protected]> |
| 3764 |
|
| 3765 |
* veryWeakAlternatingAutomaton.cc (reachable): added |
| 3766 |
(reachabilityOpt): added |
| 3767 |
(VeryWeakAlternatingAutomaton): call reachabilityOpt() |
| 3768 |
|
| 3769 |
* veryWeakAlternatingAutomaton.hh (class |
| 3770 |
VeryWeakAlternatingAutomaton): added decls for relabelNatSet() and |
| 3771 |
relabel() |
| 3772 |
|
| 3773 |
* veryWeakAlternatingAutomaton.cc (relabel): added |
| 3774 |
(relabelNatSet): added |
| 3775 |
|
| 3776 |
* natSet.hh (swap): added |
| 3777 |
|
| 3778 |
2001-11-02 Steven Eker <[email protected]> |
| 3779 |
|
| 3780 |
* veryWeakAlternatingAutomaton.cc (simplify): fixed bug with inner |
| 3781 |
loop bound |
| 3782 |
(VeryWeakAlternatingAutomaton): generate automtata in most naive |
| 3783 |
way possible |
| 3784 |
(dump): added |
| 3785 |
(dump): (NatSet version) added |
| 3786 |
(product): fixed inner loop initilaization bug (both versions) |
| 3787 |
|
| 3788 |
2001-10-30 Steven Eker <[email protected]> |
| 3789 |
|
| 3790 |
* veryWeakAlternatingAutomaton.hh (class |
| 3791 |
VeryWeakAlternatingAutomaton): added decls for sum(), product() |
| 3792 |
and computeConjunctionSet() |
| 3793 |
|
| 3794 |
* veryWeakAlternatingAutomaton.cc (product): fixed bug where we |
| 3795 |
were insert *j twice and not *i; don't call clear() |
| 3796 |
(product): added ConjunctionSet version |
| 3797 |
(sum): don't call clear() |
| 3798 |
(sum): added ConjunctionSet version |
| 3799 |
(computeConjunctionSet): added |
| 3800 |
(computeTransitionSet): handle NEXT case |
| 3801 |
|
| 3802 |
2001-10-29 Steven Eker <[email protected]> |
| 3803 |
|
| 3804 |
* veryWeakAlternatingAutomaton.hh (class |
| 3805 |
VeryWeakAlternatingAutomaton): added decl for |
| 3806 |
computeTransitionSet() |
| 3807 |
|
| 3808 |
* veryWeakAlternatingAutomaton.cc (computeTransitionSet): added |
| 3809 |
|
| 3810 |
* veryWeakAlternatingAutomaton.hh (getNrStates): added |
| 3811 |
|
| 3812 |
* veryWeakAlternatingAutomaton.cc (sum): clear result before |
| 3813 |
inserting stuff |
| 3814 |
(product): clear result before inserting stuff |
| 3815 |
(~VeryWeakAlternatingAutomaton): added |
| 3816 |
|
| 3817 |
* buchiAutomaton.hh (implies): deleted |
| 3818 |
|
| 3819 |
* bddUser.hh (implies): added |
| 3820 |
(implies): added |
| 3821 |
|
| 3822 |
* natSet.hh (class NatSet): added decl for operator<() |
| 3823 |
|
| 3824 |
* natSet.cc (operator<): added |
| 3825 |
|
| 3826 |
* veryWeakAlternatingAutomaton.hh (operator<): added |
| 3827 |
|
| 3828 |
2001-10-18 Steven Eker <[email protected]> |
| 3829 |
|
| 3830 |
* bddUser.hh: added decl for setNrVariables() |
| 3831 |
|
| 3832 |
* bddUser.cc (setNrVariables): added |
| 3833 |
|
| 3834 |
* buchiAutomaton.hh (getNrStates): added |
| 3835 |
(isAccepting): added |
| 3836 |
(getTransitions): added |
| 3837 |
|
| 3838 |
* buchiAutomaton.cc (handleComponent): check doAlphaBalls flag |
| 3839 |
(BuchiAutomaton): make sure first round of sccOptimizations |
| 3840 |
doesn't simplify alpha-balls |
| 3841 |
|
| 3842 |
* buchiAutomaton.hh (class BuchiAutomaton): added data member |
| 3843 |
doAlphaBalls |
| 3844 |
|
| 3845 |
2001-10-12 Steven Eker <[email protected]> |
| 3846 |
|
| 3847 |
* buchiAutomaton.cc (BuchiAutomaton): don't call |
| 3848 |
simulationReduction() if there are no states |
| 3849 |
|
| 3850 |
* buchiAutomaton.hh (class BuchiAutomaton): added alphaBallIndex |
| 3851 |
to struct State; added data member alphaBallLabels; |
| 3852 |
|
| 3853 |
* buchiAutomaton.cc (handleComponent): handle alpha-balls |
| 3854 |
(sccOptimizations): handle alpha-balls |
| 3855 |
|
| 3856 |
2001-10-11 Steven Eker <[email protected]> |
| 3857 |
|
| 3858 |
* buchiAutomaton.cc (simulationReduction): handle construction of |
| 3859 |
new automata |
| 3860 |
(simulationReduction): we have a subtle bug in that if the |
| 3861 |
simulationReductionStep merely permutes the colors, we think |
| 3862 |
nothing has changed and build the new automaton using out of date |
| 3863 |
neighborhood data in the current color set. This bug is provoked |
| 3864 |
when we start with a coloring of accepting = 0 because then state |
| 3865 |
0 gets color 1. So for a quick fix we swap the roles of 0 and 1 in |
| 3866 |
initial coloring |
| 3867 |
(simulationReductionStep): need to return true if the number of |
| 3868 |
colors increases even in the partial order does not |
| 3869 |
(BuchiAutomaton): loop over sccOptimizations() and |
| 3870 |
simulationReduction() to fixed point |
| 3871 |
(simulationReduction): need check for increase in number of colors |
| 3872 |
here rather than in simulationReductionStep() |
| 3873 |
|
| 3874 |
2001-10-10 Steven Eker <[email protected]> |
| 3875 |
|
| 3876 |
* buchiAutomaton.cc (simulationReduction): added |
| 3877 |
(simulationReductionStep): added |
| 3878 |
(insertMaximal): added |
| 3879 |
(dominates): added |
| 3880 |
(dominates): added |
| 3881 |
|
| 3882 |
* indexedSet.hh (clear): added |
| 3883 |
(ithElement): fix bug where we were trying to return map pair |
| 3884 |
rather than first element |
| 3885 |
|
| 3886 |
* buchiAutomaton.hh (operator<): added |
| 3887 |
(ArcType): added |
| 3888 |
|
| 3889 |
* indexedSet.hh (insert): fixed bug where we were using |
| 3890 |
IndexMap::iterator rather than EltMap::iterator |
| 3891 |
|
| 3892 |
2001-10-09 Steven Eker <[email protected]> |
| 3893 |
|
| 3894 |
* buchiAutomaton.hh (class BuchiAutomaton): added all the typedefs |
| 3895 |
needed to construct colr sets |
| 3896 |
|
| 3897 |
* indexedSet.hh: created |
| 3898 |
|
| 3899 |
* buchiAutomaton.hh (class BuchiAutomaton): added decl for |
| 3900 |
handleComponent() |
| 3901 |
|
| 3902 |
* buchiAutomaton.cc (sccOptimizations): remap live states |
| 3903 |
(handleComponent): added |
| 3904 |
|
| 3905 |
* buchiAutomaton.hh (class BuchiAutomaton): added alive field |
| 3906 |
|
| 3907 |
2001-10-08 Steven Eker <[email protected]> |
| 3908 |
|
| 3909 |
* buchiAutomaton.hh (class BuchiAutomaton): added decls for |
| 3910 |
sccOptimizations() and strongConnected() |
| 3911 |
|
| 3912 |
* buchiAutomaton.cc (sccOptimizations): added |
| 3913 |
(strongConnected): added |
| 3914 |
|
| 3915 |
* buchiAutomaton.hh (class BuchiAutomaton): added number and |
| 3916 |
lowLink fields to struct State |
| 3917 |
(class BuchiAutomaton): deleted lowLink since we will used the |
| 3918 |
optimized Tarjan SCC algorithm; added component field |
| 3919 |
|
| 3920 |
2001-10-04 Steven Eker <[email protected]> |
| 3921 |
|
| 3922 |
* buchiAutomaton.cc (dump): use BddUser::dump() |
| 3923 |
|
| 3924 |
* bddUser.hh (class BddUser): added decl for dump() |
| 3925 |
|
| 3926 |
* bddUser.cc (dump): added |
| 3927 |
|
| 3928 |
* buchiAutomaton.cc (BuchiAutomaton): fix missing arc bug; handle |
| 3929 |
no nrAcceptingSets case |
| 3930 |
|
| 3931 |
2001-10-03 Steven Eker <[email protected]> |
| 3932 |
|
| 3933 |
* generalizedBuchiAutomaton.hh (getNrAcceptingSets): added |
| 3934 |
(getNrStates): added |
| 3935 |
(getAcceptingStates): added |
| 3936 |
(getFormulaIndices): added |
| 3937 |
(getInitialStates): added |
| 3938 |
(getNextStates): added |
| 3939 |
|
| 3940 |
* bddUser.cc: created |
| 3941 |
|
| 3942 |
* bddUser.hh: created |
| 3943 |
|
| 3944 |
* buchiAutomaton.cc: created |
| 3945 |
|
| 3946 |
* buchiAutomaton.hh: created |
| 3947 |
|
| 3948 |
* generalizedBuchiAutomaton.cc: used to be buchiAutomaton.cc; |
| 3949 |
everything renamed |
| 3950 |
|
| 3951 |
* generalizedBuchiAutomaton.hh: used to be buchiAutomaton.hh; |
| 3952 |
everything renamed |
| 3953 |
|
| 3954 |
2001-09-28 Steven Eker <[email protected]> |
| 3955 |
|
| 3956 |
* buchiAutomaton.cc: moved here from Higher; simplified includes |
| 3957 |
(cover): Assert() that TRUE and FALSE cannot occur in main switch; |
| 3958 |
true should imply redundant() while false should imply |
| 3959 |
contradiction() |
| 3960 |
|
| 3961 |
* buchiAutomaton.hh: moved here from Higher |
| 3962 |
|
| 3963 |
* logicFormula.cc: moved here from Higher |
| 3964 |
(makeProp): store propositions as ints |
| 3965 |
(dump): dump propositions as ints |
| 3966 |
|
| 3967 |
* logicFormula.hh: moved here from Higher |
| 3968 |
(class LogicFormula): store propositions as ints rather than |
| 3969 |
dagnode ptrs |
| 3970 |
(getProp): updated |
| 3971 |
|
| 3972 |
===================================Maude68================================================== |
| 3973 |
|
| 3974 |
2001-05-16 Steven Eker <[email protected]> |
| 3975 |
|
| 3976 |
* macros.cc (doubleToString): fixed bug where we didn't allocate |
| 3977 |
space in buffer[] for trailing '\0' causing ABRs and ABWs under |
| 3978 |
purify (and potential memory corruption) |
| 3979 |
|
| 3980 |
===================================Engine67================================================== |
| 3981 |
|
| 3982 |
2001-04-03 Steven Eker <[email protected]> |
| 3983 |
|
| 3984 |
* bigNum.hh (class BigNum): fixed long standing bug - all 3 |
| 3985 |
compare()s now correctly return int rather than bool |
| 3986 |
|
| 3987 |
===================================Engine66================================================== |
| 3988 |
|
| 3989 |
2000-06-23 Steven Eker <[email protected]> |
| 3990 |
|
| 3991 |
* macros.hh (safeCast): added |
| 3992 |
|
| 3993 |
===================================Engine58================================================== |
| 3994 |
|
| 3995 |
2000-06-20 Steven Eker <[email protected]> |
| 3996 |
|
| 3997 |
* macros.cc (doubleToString): handle NaN and +/-Infinity specially |
| 3998 |
to get consistant behavior across platforms |
| 3999 |
|
| 4000 |
2000-06-19 Steven Eker <[email protected]> |
| 4001 |
|
| 4002 |
* macros.cc (correctEcvt): return sign as 1, 0 or -1 rather than 1 |
| 4003 |
=> -ve |
| 4004 |
|
| 4005 |
* macros.hh: added decl for correctEcvt() |
| 4006 |
|
| 4007 |
* macros.cc (correctEcvt): added (allong with decBuf.hh, |
| 4008 |
decBuf.cc, binBuf.hh binBuf.cc) |
| 4009 |
|
| 4010 |
2000-06-14 Steven Eker <[email protected]> |
| 4011 |
|
| 4012 |
* macros.hh: added #define for INT_DOUBLE_MAX |
| 4013 |
|
| 4014 |
2000-06-13 Steven Eker <[email protected]> |
| 4015 |
|
| 4016 |
* macros.cc (looksLikeFloat): recognize +Infinity, -Infinity, Infinity |
| 4017 |
|
| 4018 |
2000-06-12 Steven Eker <[email protected]> |
| 4019 |
|
| 4020 |
* macros.cc (doubleToString): clean up number by removing trailing |
| 4021 |
zeros from mantissa and leading zeros from exponent; if exponent |
| 4022 |
is zero, remove it altogether |
| 4023 |
|
| 4024 |
2000-06-09 Steven Eker <[email protected]> |
| 4025 |
|
| 4026 |
* macros.hh: added decl for looksLikeFloat() |
| 4027 |
|
| 4028 |
* macros.cc (looksLikeFloat): added |
| 4029 |
|
| 4030 |
2000-06-07 Steven Eker <[email protected]> |
| 4031 |
|
| 4032 |
* macros.hh: added typedefs for Int32 and Uint32 |
| 4033 |
|
| 4034 |
2000-05-23 Steven Eker <[email protected]> |
| 4035 |
|
| 4036 |
* vector.hh (Vector): updated Assert() |
| 4037 |
(Vector): updated Assert()s |
| 4038 |
(operator[]): (both versions) updated Assert() |
| 4039 |
(expandTo): updated Assert() |
| 4040 |
(contractTo): updated Assert() |
| 4041 |
|
| 4042 |
2000-05-16 Steven Eker <[email protected]> |
| 4043 |
|
| 4044 |
* macros.cc (int64ToString): rewritten using Uint64 - |
| 4045 |
simpler/faster |
| 4046 |
(stringToInt64): simplified |
| 4047 |
|
| 4048 |
2000-05-15 Steven Eker <[email protected]> |
| 4049 |
|
| 4050 |
* macros.hh: added decl for Uint64 |
| 4051 |
|
| 4052 |
2000-05-09 Steven Eker <[email protected]> |
| 4053 |
|
| 4054 |
* macros.hh: added decls for int64ToString() and stringToInt64() |
| 4055 |
|
| 4056 |
* macros.cc (int64ToString): added |
| 4057 |
(stringToInt64): added |
| 4058 |
|
| 4059 |
2000-03-16 Steven Eker <[email protected]> |
| 4060 |
|
| 4061 |
* macros.hh (ErrorCheck): commented out |
| 4062 |
|
| 4063 |
===================================Engine56================================================== |
| 4064 |
|
| 4065 |
2000-02-22 Steven Eker <[email protected]> |
| 4066 |
|
| 4067 |
* macros.hh (NO_COPYING): used to be NO_DEFAULTS |
| 4068 |
|
| 4069 |
2000-02-17 Steven Eker <[email protected]> |
| 4070 |
|
| 4071 |
* macros.hh (NO_DEFAULTS): added NO_DEFAULTS macro |
| 4072 |
|
| 4073 |
2000-02-14 Steven Eker <[email protected]> |
| 4074 |
|
| 4075 |
* vector.hh (sort): commented out function deleted |
| 4076 |
(operator): updated Asserts |
| 4077 |
|
| 4078 |
===================================Engine55================================================== |
| 4079 |
|
| 4080 |
1999-12-15 Steven Eker <[email protected]> |
| 4081 |
|
| 4082 |
* unionFind.hh (elementCount): made const |
| 4083 |
|
| 4084 |
* unionFind.cc (findRep): made const |
| 4085 |
|
| 4086 |
* unionFind.hh (class UnionFind): made vector mutable and made |
| 4087 |
findRep() and elementCount() decls const |
| 4088 |
|
| 4089 |
===================================Engine54================================================== |
| 4090 |
|
| 4091 |
1999-12-01 Steven Eker <[email protected]> |
| 4092 |
|
| 4093 |
* natSet.cc (disjoint): call ::min() for disambiguation |
| 4094 |
(intersect): call ::min() for disambiguation |
| 4095 |
|
| 4096 |
* natSet.hh (class NatSet): added decl for bottomBit() |
| 4097 |
|
| 4098 |
* natSet.cc (bottomBit): added |
| 4099 |
(min): added |
| 4100 |
|
| 4101 |
* natSet.hh (class NatSet): added decl for min(); |
| 4102 |
|
| 4103 |
1999-11-29 Steven Eker <[email protected]> |
| 4104 |
|
| 4105 |
* natSet.hh (max): fixed long standing precedence bug (+ vs <<) |
| 4106 |
|
| 4107 |
1999-11-01 Steven Eker <[email protected]> |
| 4108 |
|
| 4109 |
* macros.hh (INT64_MAX): added #defines for INT64_MAX, INT64_MIN |
| 4110 |
and INT64_MIN_STRING |
| 4111 |
|
| 4112 |
1999-10-07 Steven Eker <[email protected]> |
| 4113 |
|
| 4114 |
* macros.cc: added def for globalAdvisoryFlag |
| 4115 |
|
| 4116 |
* macros.hh: added extern dec for globalAdvisoryFlag |
| 4117 |
(AdvisoryCheck): test globalAdvisoryFlag |
| 4118 |
(IssueAdvisory): test globalAdvisoryFlag |
| 4119 |
|
| 4120 |
1999-10-04 Steven Eker <[email protected]> |
| 4121 |
|
| 4122 |
* pointerSet.cc (hash): reinterpret_cast<unsigned> -> |
| 4123 |
reinterpret_cast<unsigned long> in order to compile on alpha |
| 4124 |
|
| 4125 |
* pointerMap.cc (hash): reinterpret_cast<int> -> |
| 4126 |
reinterpret_cast<long> in order to compile on alpha |
| 4127 |
(hash2): reinterpret_cast<int> -> reinterpret_cast<long> in order |
| 4128 |
to compile on alpha |
| 4129 |
|
| 4130 |
1999-08-05 Steven Eker <[email protected]> |
| 4131 |
|
| 4132 |
* sequencePartition.cc (insertPart): plus() -> uplus() |
| 4133 |
|
| 4134 |
* macros.hh (plus): changed to uplus() to avoid conflict with STL |
| 4135 |
|
| 4136 |
1999-08-02 Steven Eker <[email protected]> |
| 4137 |
|
| 4138 |
* diophantineSystem.cc (precompute): rowLeq() -> rowLt() |
| 4139 |
(rowLt): from rowleq() |
| 4140 |
|
| 4141 |
* diophantineSystem.hh (class DiophantineSystem): rowLeq() -> rowLt() |
| 4142 |
|
| 4143 |
1999-07-30 Steven Eker <[email protected]> |
| 4144 |
|
| 4145 |
* diophantineSystem.hh (class DiophantineSystem): updated decl for |
| 4146 |
rowLeq() |
| 4147 |
|
| 4148 |
* diophantineSystem.cc (rowLeq): need to take references rather |
| 4149 |
than pointers! |
| 4150 |
|
| 4151 |
* diophantineSystem.hh (class DiophantineSystem): replaced decl |
| 4152 |
for rowCompare() with decl for rowLeq() |
| 4153 |
|
| 4154 |
* diophantineSystem.cc (precompute): use STL sort function |
| 4155 |
(rowCompare): replaced by rowLeq() |
| 4156 |
|
| 4157 |
* vector.hh (begin): added |
| 4158 |
(end): added |
| 4159 |
|
| 4160 |
1999-07-28 Steven Eker <[email protected]> |
| 4161 |
|
| 4162 |
* macros.hh: use iostream and fstream rather than iostream.h and |
| 4163 |
fstream.h |
| 4164 |
|
| 4165 |
===================================Engine51================================================== |
| 4166 |
|
| 4167 |
1999-06-01 Steven Eker <[email protected]> |
| 4168 |
|
| 4169 |
* vector.hh (CONST_VECTOR_HACK): added VECTOR_HACK and |
| 4170 |
CONST_VECTOR_HACK macros |
| 4171 |
|
| 4172 |
1999-02-19 Steven Eker <[email protected]> |
| 4173 |
|
| 4174 |
* vector.hh (Vector): have to call setLength since length is not |
| 4175 |
the same as preallocate! |
| 4176 |
(append): unmade prev change as it did not save a register load |
| 4177 |
(append): try reversing outer if-the-else |
| 4178 |
|
| 4179 |
* preVector.cc (initAllocate): remember to actually store length! |
| 4180 |
|
| 4181 |
* preVector.hh (class PreVector): deleted decl for test() |
| 4182 |
|
| 4183 |
* preVector.cc (test): deleted |
| 4184 |
|
| 4185 |
* vector.hh (operator=): use reallocate() instead of initAllocate() |
| 4186 |
(append): call setLength() in both inner branches in the hope of |
| 4187 |
avoiding a register load in the common case |
| 4188 |
|
| 4189 |
* preVector.cc (initAllocate): now take length and size rather |
| 4190 |
than bytes needed |
| 4191 |
|
| 4192 |
* preVector.hh (class PreVector): updated decl for initAllocate() |
| 4193 |
|
| 4194 |
* vector.hh (Vector): use new initAllocate() semantics (all 3 versions) |
| 4195 |
(Vector): for() -> do-while() (2 non-preallocate versions |
| 4196 |
|
| 4197 |
* pointerSet.hh (class PointerSet): removed implicit inline ~PointerSet() |
| 4198 |
|
| 4199 |
* pointerSet.cc (~PointerSet): added |
| 4200 |
|
| 4201 |
* unionFind.hh (class UnionFind): deleted explicit ctors/dtors |
| 4202 |
|
| 4203 |
* vector.hh (Vector): made copy ctor inline |
| 4204 |
(~Vector): made destructor inline |
| 4205 |
(Vector): makesure we actually use preallocate value |
| 4206 |
(expandTo): check for non-null vector before calling setLength() |
| 4207 |
|
| 4208 |
* preVector.hh (setLength): changed test on ptr != 0 to an Assert() |
| 4209 |
|
| 4210 |
* vector.hh (sort): removed call to test |
| 4211 |
(append): split into two cases |
| 4212 |
(contractTo): check for non-null vector before calling setLength() |
| 4213 |
(operator=): check for non-null vector before calling setLength() |
| 4214 |
|
| 4215 |
1999-02-17 Steven Eker <[email protected]> |
| 4216 |
|
| 4217 |
* vector.hh (isNull): added for fast tests for unused vectors |
| 4218 |
|
| 4219 |
* preVector.cc (test): temporarily added to try and locate UMR |
| 4220 |
|
| 4221 |
1999-02-12 Steven Eker <[email protected]> |
| 4222 |
|
| 4223 |
* vector.hh: completely rewritten using PreVector |
| 4224 |
(operator=): check to see that vector is non-zero before calling |
| 4225 |
freeMemory() since the memory we actually free will be vector - |
| 4226 |
sizeof(...) and will break delete on null |
| 4227 |
(sort): don't call qsort() unless we have > 1 objects in vector |
| 4228 |
|
| 4229 |
* preVector.cc: created |
| 4230 |
|
| 4231 |
* preVector.hh: created |
| 4232 |
|
| 4233 |
1999-02-11 Steven Eker <[email protected]> |
| 4234 |
|
| 4235 |
* vector.hh: rewritten to use 1 word vectors for space efficiency |
| 4236 |
(bytesAllocated): now return size_t rather than int |
| 4237 |
(reallocate): only call memcpy if vector != 0 |
| 4238 |
(allocate): remember to add sizeof(VectorHeader) to freshly |
| 4239 |
allocated memory to get vector |
| 4240 |
(reallocate): likewise |
| 4241 |
(allocate): remember to subtract off size of header to get |
| 4242 |
allocated bytes |
| 4243 |
(reallocate): likewise |
| 4244 |
(allocate): added static_cast<char*> |
| 4245 |
(reallocate): added static_cast<char*> |
| 4246 |
|
| 4247 |
===================================VectorExperiment========================================== |
| 4248 |
|
| 4249 |
1999-02-05 Steven Eker <[email protected]> |
| 4250 |
|
| 4251 |
* natSet.cc: completely rewritten using bit array + first word |
| 4252 |
implementation |
| 4253 |
(arrayContains): added |
| 4254 |
(topBit): added |
| 4255 |
(countBits): added |
| 4256 |
(getMask): added |
| 4257 |
|
| 4258 |
* macros.hh (SpecialConstants): added LOG_WORD_SIZE to enum SpecialConstants |
| 4259 |
|
| 4260 |
* natSet.hh: completely rewritten using bit array + first word |
| 4261 |
implementation |
| 4262 |
|
| 4263 |
1999-02-02 Steven Eker <[email protected]> |
| 4264 |
|
| 4265 |
* natSet.hh (class NatSet): added decl for makeEmpty() |
| 4266 |
(makeEmpty): added |
| 4267 |
|
| 4268 |
===================================Engine47================================================== |
| 4269 |
===================================Maude 1.00 released======================================= |
| 4270 |
|
| 4271 |
1999-01-19 Steven Eker <[email protected]> |
| 4272 |
|
| 4273 |
* vector.hh (Vector): copy ctor; only allocated enough memory |
| 4274 |
|
| 4275 |
1999-01-14 Steven Eker <[email protected]> |
| 4276 |
|
| 4277 |
* vector.hh (class Vector): modified MIN_SIZE and TAG_SIZE after |
| 4278 |
having a look at the latest version of Doug Lea's malloc(); need |
| 4279 |
to modify overall approach to be 64bit compatable sometime |
| 4280 |
|
| 4281 |
1999-01-13 Steven Eker <[email protected]> |
| 4282 |
|
| 4283 |
* macros.hh (IssueAdvisory): call cerr.flush() |
| 4284 |
(IssueAdvisory): unmade chane since it seems superfluous after all |
| 4285 |
|
| 4286 |
==============================Engine46========================================== |
| 4287 |
|
| 4288 |
Thu Oct 29 11:45:08 1998 Steven Eker <[email protected]> |
| 4289 |
|
| 4290 |
* macros.hh (IssueAdvisory): added |
| 4291 |
|
| 4292 |
Thu Oct 22 13:30:47 1998 Steven Eker <[email protected]> |
| 4293 |
|
| 4294 |
* macros.hh (IssueWarning): added |
| 4295 |
|
| 4296 |
Thu Oct 8 11:38:47 1998 Steven Eker <[email protected]> |
| 4297 |
|
| 4298 |
* pointerMap.cc (hash): use reinterprete_cast |
| 4299 |
(hash2): use reinterprete_cast |
| 4300 |
|
| 4301 |
* pointerSet.cc (hash): use reinterprete_cast |
| 4302 |
|
| 4303 |
* vector.hh (Vector): (both ctors) cast new to void |
| 4304 |
|
| 4305 |
==============================Engine38========================================== |
| 4306 |
|
| 4307 |
Thu Sep 10 13:46:08 1998 Steven Eker <[email protected]> |
| 4308 |
|
| 4309 |
* macros.hh: added typedef for Int64 |
| 4310 |
|
| 4311 |
Thu Jun 11 15:57:41 1998 Steven Eker <[email protected]> |
| 4312 |
|
| 4313 |
* intSet.hh: created; loosely based on pointerSet.hh |
| 4314 |
|
| 4315 |
* intSet.cc: created; loosely based on pointerSet.cc |
| 4316 |
|
| 4317 |
* pointerSet.cc (insert): (pointer version): slightly optimized; |
| 4318 |
now return index of inserted pointer |
| 4319 |
|
| 4320 |
* pointerSet.hh (class PointerSet): insert() members now return |
| 4321 |
index to inserted pointer |
| 4322 |
(insert): return index to inserted pointer |
| 4323 |
|
| 4324 |
* stringTable.cc (resize): optimized along the lines of pointerSet |
| 4325 |
hash table |
| 4326 |
(encode): partly optimized |
| 4327 |
|
| 4328 |
Wed Jun 10 18:02:36 1998 Steven Eker <[email protected]> |
| 4329 |
|
| 4330 |
* macros.hh: deleted Validate macro |
| 4331 |
|
| 4332 |
Tue Jun 9 11:53:15 1998 Steven Eker <[email protected]> |
| 4333 |
|
| 4334 |
* graph.cc: IntSet -> NatSet |
| 4335 |
|
| 4336 |
* digraph.cc: deleted #include "intSet.hh" |
| 4337 |
|
| 4338 |
* macros.hh: IntSet -> NatSet |
| 4339 |
|
| 4340 |
* natSet.cc: renamed from IntSet.cc; IntSet -> NatSet |
| 4341 |
|
| 4342 |
* natSet.hh (class NatSet): renamed from IntSet.hh; IntSet -> |
| 4343 |
NatSet |
| 4344 |
|
| 4345 |
==============================Engine38========================================== |
| 4346 |
|
| 4347 |
Fri Jan 16 18:14:31 1998 Steven Eker <[email protected]> |
| 4348 |
|
| 4349 |
* macros.hh (DebugAdvisoryCheck): added |
| 4350 |
|
| 4351 |
Fri Jan 9 14:57:50 1998 Steven Eker <[email protected]> |
| 4352 |
|
| 4353 |
* macros.hh (operator<<): added version for Bool |
| 4354 |
deleted --- C++ typedefs don't create new types so we can't have |
| 4355 |
overloaded i/o operators for Bool |
| 4356 |
|
| 4357 |
==============================Engine34========================================== |
| 4358 |
|
| 4359 |
Mon Nov 10 16:02:38 1997 Steven Eker <[email protected]> |
| 4360 |
|
| 4361 |
* pointerSet.cc (insert): fixed longstanding bug where we were |
| 4362 |
inserting our set rather than other set! |
| 4363 |
|
| 4364 |
Tue Oct 7 11:39:13 1997 Steven Eker <[email protected]> |
| 4365 |
|
| 4366 |
* pointerSet.cc: major rewrite as described below |
| 4367 |
|
| 4368 |
* pointerSet.hh (class PointerSet): major rewrite to allow |
| 4369 |
possibility of passing hash values in with pointers rather than |
| 4370 |
overloading hash(void*) for a call back. In some situations the |
| 4371 |
hash value may be available to the caller but cannot be cached in |
| 4372 |
the pointed to object and therefore would need to be recomputed in |
| 4373 |
the call back - which might be expensive. |
| 4374 |
|
| 4375 |
Fri Oct 3 16:12:55 1997 Steven Eker <[email protected]> |
| 4376 |
|
| 4377 |
* dataSet.cc: deleted |
| 4378 |
|
| 4379 |
* dataSet.hh: deleted |
| 4380 |
|
| 4381 |
* pointerSet.cc: heavily rewritten; we now store raw hash values |
| 4382 |
to avoid unnecessary virtual function calls |
| 4383 |
|
| 4384 |
* pointerSet.hh (class PointerSet): heavily redesigned for greater |
| 4385 |
generality and performance. It can now serve as a base class and |
| 4386 |
eliminates the need for class DataSet |
| 4387 |
|
| 4388 |
==============================Engine29========================================== |
| 4389 |
|
| 4390 |
Tue Sep 30 15:54:23 1997 Steven Eker <[email protected]> |
| 4391 |
|
| 4392 |
* dataSet.hh (data2Index): make work correctly wth empty set |
| 4393 |
|
| 4394 |
* pointerSet.hh (pointer2Index): added |
| 4395 |
|
| 4396 |
* dataSet.cc (hash): created |
| 4397 |
|
| 4398 |
* dataSet.hh (class DataSet): created |
| 4399 |
|
| 4400 |
==============================Engine28========================================== |
| 4401 |
|
| 4402 |
Wed Aug 20 16:45:50 1997 Steven Eker <[email protected]> |
| 4403 |
|
| 4404 |
* macros.hh: added #include <ctype.h> |
| 4405 |
|
| 4406 |
Wed Aug 13 10:55:18 1997 Steven Eker <[email protected]> |
| 4407 |
|
| 4408 |
* macros.hh (SpecialConstants): added INT_TEXT_SIZE |
| 4409 |
added #include <strstream.h> |
| 4410 |
|
| 4411 |
Tue Jun 3 14:34:06 1997 Steven Eker <[email protected]> |
| 4412 |
|
| 4413 |
* diophantineSystem.cc: changed "inline" to "local_inline" throughout |
| 4414 |
|
| 4415 |
* diophantineSystem.hh (class DiophantineSystem): altered comment |
| 4416 |
on maxLeave data member of struct Row since it is now used in |
| 4417 |
simple case as well as the complex case. |
| 4418 |
|
| 4419 |
* diophantineSystem.cc (solveRowSimple): fixed serious bug where |
| 4420 |
we were leaving too much stuff for last row (in the case where the |
| 4421 |
last row had an upper bound). We now take r.maxLeave into account |
| 4422 |
when calculating the minimum assignment size for current row. |
| 4423 |
|
| 4424 |
Tue May 20 10:45:15 1997 Steven Eker <[email protected]> |
| 4425 |
|
| 4426 |
* bigNum.hh (class BigNum): added wrappers for comparison macros |
| 4427 |
|
| 4428 |
Wed May 7 15:51:42 1997 Steven Eker <[email protected]> |
| 4429 |
|
| 4430 |
* macros.hh: added forward decl for PointerSet |
| 4431 |
|
| 4432 |
Tue Apr 29 15:29:52 1997 Steven Eker <[email protected]> |
| 4433 |
|
| 4434 |
* parser.cc (extractParse): added |
| 4435 |
(extract): added |
| 4436 |
(exists): added |
| 4437 |
(getSon): added |
| 4438 |
(getRule): added |
| 4439 |
(dumpParseTree): added |
| 4440 |
(dumpNode): added |
| 4441 |
|
| 4442 |
Thu Apr 24 16:04:16 1997 Steven Eker <[email protected]> |
| 4443 |
|
| 4444 |
* parser.cc (addItem): added |
| 4445 |
(complete): added |
| 4446 |
|
| 4447 |
Wed Apr 23 16:11:22 1997 Steven Eker <[email protected]> |
| 4448 |
|
| 4449 |
* parser.hh (class Parser): created |
| 4450 |
|
| 4451 |
* parser.cc: created |
| 4452 |
|
| 4453 |
Thu Apr 17 11:23:12 1997 Steven Eker <[email protected]> |
| 4454 |
|
| 4455 |
* macros.cc: added 3 template instantiations |
| 4456 |
|
| 4457 |
Wed Apr 16 15:44:06 1997 Steven Eker <[email protected]> |
| 4458 |
|
| 4459 |
* pointerSet.cc: created |
| 4460 |
|
| 4461 |
Tue Apr 15 18:35:13 1997 Steven Eker <[email protected]> |
| 4462 |
|
| 4463 |
* pointerSet.hh: created |
| 4464 |
|
| 4465 |
Wed Apr 2 12:06:23 1997 Steven Eker <[email protected]> |
| 4466 |
|
| 4467 |
* stringTable.cc (StringTable): use delete [] rather than delete |
| 4468 |
to free string (bug detected by demo purify) |
| 4469 |
|
| 4470 |
Wed Feb 5 12:00:39 1997 Steven Eker <[email protected]> |
| 4471 |
|
| 4472 |
* macros.hh (local_inline): added |
| 4473 |
|
| 4474 |
Wed Oct 16 10:48:31 1996 Steven Eker <[email protected]> |
| 4475 |
|
| 4476 |
* macros.hh (SpecialConstants): DEFAULT = -1 added |
| 4477 |
|
| 4478 |
Wed Oct 9 11:40:21 1996 Steven Eker <[email protected]> |
| 4479 |
|
| 4480 |
* indent.cc: created |
| 4481 |
|
| 4482 |
* indent.hh: created |
| 4483 |
|
| 4484 |
Thu Sep 19 11:39:32 1996 Steven Eker <[email protected]> |
| 4485 |
|
| 4486 |
* sequencePartition.hh (end): return sequenceLength - 1 for end of |
| 4487 |
last part |
| 4488 |
|
| 4489 |
Wed Sep 18 16:27:36 1996 Steven Eker <[email protected]> |
| 4490 |
|
| 4491 |
* diophantineSystem.hh: comments fixed |
| 4492 |
|
| 4493 |
* diophantineSystem.cc (insertRow): Assert test simplified to make |
| 4494 |
use of UNBOUNDED as a comparable value (MAX_INT) |
| 4495 |
|
| 4496 |
* sequencePartition.cc: created |
| 4497 |
|
| 4498 |
* sequencePartition.hh (class SequencePartition): created |
| 4499 |
|
| 4500 |
Thu Aug 15 11:37:37 1996 Steven Eker <[email protected]> |
| 4501 |
|
| 4502 |
* macros.hh: added PointerMap to forward class declarations |
| 4503 |
|
| 4504 |
Wed Aug 14 18:02:28 1996 Steven Eker <[email protected]> |
| 4505 |
|
| 4506 |
* pointerMap.cc (resize): fixed missing mask for hash(p.from) |
| 4507 |
(resize): fixed bug where we were checking old hash table rather |
| 4508 |
than new hash table |
| 4509 |
|
| 4510 |
Wed Aug 7 09:37:32 1996 Steven Eker <[email protected]> |
| 4511 |
|
| 4512 |
* macros.hh (SpecialConstants): NR_PTR_ZERO_BITS renamed to |
| 4513 |
NR_PTR_LOSE_BITS since chopped bits will not neccessarily be zero |
| 4514 |
|
| 4515 |
* pointerMap.hh (class PointerMap): created |
| 4516 |
|
| 4517 |
* pointerMap.cc: created |
| 4518 |
|
| 4519 |
* symbolTable.cc (setDefinition): need to increment "used" |
| 4520 |
|
| 4521 |
Tue Aug 6 16:50:38 1996 Steven Eker <[email protected]> |
| 4522 |
|
| 4523 |
* macros.hh (SpecialConstants): NR_PTR_ZERO_BITS added so we can |
| 4524 |
chop the zeros of a pointer when hashing |
| 4525 |
|
| 4526 |
Fri Aug 2 15:23:34 1996 Steven Eker <[email protected]> |
| 4527 |
|
| 4528 |
* symbolTable.cc (SymbolTable): fixed initial size bug |
| 4529 |
|
| 4530 |
Wed Jul 31 10:35:40 1996 Steven Eker <[email protected]> |
| 4531 |
|
| 4532 |
* symbolTable.cc (SymbolTable): no longer initialize stringTable base |
| 4533 |
|
| 4534 |
* symbolTable.hh (class SymbolTable): created |
| 4535 |
(class SymbolTable): no longer derived from string table |
| 4536 |
|
| 4537 |
* stringTable.hh (class StringTable): make hash() and hash2() static |
| 4538 |
|
| 4539 |
* symbolTable.cc: created |
| 4540 |
|
| 4541 |
Tue Jul 30 15:37:44 1996 Steven Eker <[email protected]> |
| 4542 |
|
| 4543 |
* stringTable.cc: created (adapted from old symbolTable.cc) |
| 4544 |
|
| 4545 |
* macros.hh (SpecialConstants): UNUSED = -1 added (enum used be SpecialValues) |
| 4546 |
|
| 4547 |
* stringTable.hh (class StringTable): created (adapted from old SymbolTable) |
| 4548 |
|
| 4549 |
Thu Jul 11 15:59:24 1996 Steven Eker <[email protected]> |
| 4550 |
|
| 4551 |
* macros.hh (plus): added |
| 4552 |
|
| 4553 |
Fri Jun 28 17:17:17 1996 Steven Eker <[email protected]> |
| 4554 |
|
| 4555 |
* macros.hh (ASsert): deleted |
| 4556 |
|
| 4557 |
Thu Jun 20 14:27:26 1996 Steven Eker <[email protected]> |
| 4558 |
|
| 4559 |
* macros.hh (swap): added |
| 4560 |
|
| 4561 |
Wed Jun 19 12:10:07 1996 Steven Eker <[email protected]> |
| 4562 |
|
| 4563 |
* vector.hh (bytesAllocated): added |
| 4564 |
(bytesAllocated): now return int |
| 4565 |
|
| 4566 |
Tue Jun 18 17:28:14 1996 Steven Eker <[email protected]> |
| 4567 |
|
| 4568 |
* vector.hh (expandBy): allow expansion by 0 for cleaner calling code |
| 4569 |
|
| 4570 |
Sat Jun 15 14:45:57 1996 Steven Eker <[email protected]> |
| 4571 |
|
| 4572 |
* intSet.cc (subtract): added (int case) |
| 4573 |
(subtract): added (intSet case) |
| 4574 |
(intersect): added |
| 4575 |
|
| 4576 |
Fri Jun 14 16:33:18 1996 Steven Eker <[email protected]> |
| 4577 |
|
| 4578 |
* macros.hh: added forward declarations for utility classes |
| 4579 |
|
| 4580 |
Thu Jun 13 10:57:07 1996 Steven Eker <[email protected]> |
| 4581 |
|
| 4582 |
* vector.hh (rawBasePointer): const version added |
| 4583 |
ASsert() -> Assert() |
| 4584 |
|
| 4585 |
Sat Jun 8 14:02:46 1996 Steven Eker <[email protected]> |
| 4586 |
|
| 4587 |
* graph.cc (visit): fixed stupid infinite loop |
| 4588 |
|
| 4589 |
* digraph.hh: created |
| 4590 |
|
| 4591 |
* digraph.cc: created |
| 4592 |
|
| 4593 |
* graph.cc (~Graph): deleted |
| 4594 |
(Graph): now call Vector constructor rather than creating C++ array |
| 4595 |
(colorNode): use UNDEFINED rather than -1 |
| 4596 |
(color): use UNDEFINED rather than -1 |
| 4597 |
(findComponents): added |
| 4598 |
(visit): added |
| 4599 |
|
| 4600 |
* graph.hh (class Graph): use Vector<Bool> rather than raw array |
| 4601 |
|
| 4602 |
Fri Jun 7 14:03:24 1996 Steven Eker <[email protected]> |
| 4603 |
|
| 4604 |
* diophantineSystem.cc (insertColumn): use append |
| 4605 |
|
| 4606 |
* vector.hh (append): added |
| 4607 |
|
| 4608 |
Wed Apr 24 10:31:15 1996 Steven Eker <[email protected]> |
| 4609 |
|
| 4610 |
* diophantineSystem.cc (DiophantineSystem): use estNrRows, |
| 4611 |
estNrColumns to initialize vectors' allocation |
| 4612 |
|
| 4613 |
* diophantineSystem.hh (class DiophantineSystem): local UNBOUNDED |
| 4614 |
removed; estNrRows, estNrColumns parameters added to constructor |
| 4615 |
(class DiophantineSystem): removed destructor (default is adequate) |
| 4616 |
|
| 4617 |
Thu Apr 4 15:55:38 1996 Steven Eker <[email protected]> |
| 4618 |
|
| 4619 |
* diophantineSystem.hh: added |
| 4620 |
|
| 4621 |
* diophantineSystem.cc: added & debugged |
| 4622 |
|
| 4623 |
Fri Mar 22 18:18:10 1996 Steven Eker <[email protected]> |
| 4624 |
|
| 4625 |
* unionFind.cc: added |
| 4626 |
|
| 4627 |
* unionFind.hh: added |
| 4628 |
|
| 4629 |
Tue Mar 5 14:39:44 1996 Steven Eker <[email protected]> |
| 4630 |
|
| 4631 |
* graph.cc: added |
| 4632 |
|
| 4633 |
* graph.hh: added |