Changeset ffb732 in git for factory/cfCharSets.cc
- Timestamp:
- Aug 26, 2014, 12:17:46 PM (10 years ago)
- Branches:
- (u'spielwiese', '2a584933abf2a2d3082034c7586d38bb6de1a30a')
- Children:
- d1a30265ddb8a7ddc9d68bb7a60e37212c7f06b0
- Parents:
- 8b7b108474a7f7dcc5bffc2636ab9027c6131d3d
- git-author:
- Martin Lee <martinlee84@web.de>2014-08-26 12:17:46+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2014-08-26 12:29:12+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cfCharSets.cc
r8b7b108 rffb732 437 437 l= tmp.getFirst(); 438 438 439 tmp= minus (tmp, l);439 tmp= Difference (tmp, l, operator==); 440 440 441 441 select (ppi, l.length(), ppi1, ppi2); … … 444 444 445 445 if (count > 0) 446 ppi= MyUnion (ListCFList (l), ppi1);446 ppi= Union (ppi1, ListCFList (l), operator==); 447 447 else 448 448 ppi= ListCFList(); … … 455 455 if (charset.length() > 0 && charset.getFirst().level() > 0) 456 456 { 457 result= MyUnion (result, ListCFList (charset));457 result= Union (ListCFList (charset), result, operator==); 458 458 ini= factorsOfInitials (charset); 459 459 … … 468 468 469 469 tmp2= adjoin (ini, l, qqi); 470 tmp= MyUnion (tmp, tmp2);470 tmp= Union (tmp2, tmp, operator==); 471 471 472 472 StoredFactors.FS1= CFList(); … … 616 616 { 617 617 nr_of_iteration += 1; 618 ppi= MyUnion (ListCFList (qs), ppi1);618 ppi= Union (ppi1, ListCFList (qs), operator==); 619 619 } 620 620 … … 636 636 if (!isSubset (cs,qs)) 637 637 cs= charSetViaCharSetN (Union (qs,cs)); 638 if (! isMember (cs, pi))638 if (!find (pi, cs, operator==)) 639 639 { 640 pi= MyUnion (pi, ListCFList (cs));640 pi= Union (ListCFList (cs), pi, operator==); 641 641 if (cs.getFirst().level() > 0) 642 642 { … … 645 645 if (indexRed <= 0) //irreducible 646 646 { 647 qsi= MyUnion (qsi, ListCFList(cs));647 qsi= Union (ListCFList(cs), qsi, operator==); 648 648 if (cs.length() == highestlevel) 649 649 is= factorPSet (factorset); … … 674 674 } 675 675 is= Union (factorsOfInitials (cst), is); 676 iss= MyUnion (adjoin (is, qs, qqi), adjoinb (ts, qs, qqi, cst));676 iss= Union (adjoinb (ts, qs, qqi, cst), adjoin (is, qs, qqi), operator==); 677 677 } 678 678 else … … 685 685 { 686 686 qhi.removeFirst(); 687 qhi= MyUnion (qhi, iss);687 qhi= Union (iss, qhi, operator==); 688 688 } 689 689 else
Note: See TracChangeset
for help on using the changeset viewer.