Did you know ... | Search Documentation: |
Pack logicmoo_cg -- test/prologPlusCG/NEWS.txt |
Release notes for Prolog+CG
concOfCG(C,G)
had an issue whereby if C was a free variable, the
whole G would be unified with it, not the individual concepts of
G. This has been fixed.eq(G, C-dummy->[MyConceptType])
, at
least when C was bound and G was free. An exception would be
thrown, terminating the interpreter, and leaving the program
"hanging". This has been fixed.One bug was fixed:
maxComSubTypes(Type1, Type2, ListOfTypes)
and
minComSuperTypes(Type1, Type2, ListOfTypes)
. If the type hierarchy
is not a strict lattice, these can be useful. See the manual for
more information on how they are defined.One set of bugs were fixed:
Two feature-additions were made:
This release sees a number of additions and changes:
Enjoy!
Ulrik Petersen Prolog+CG maintainer
This release has a major bugfix and a feature addition.
The feature-addition is that concOfCG now performs variable-substition, just like branchOfCG. This means that you can do things like:
concOfCG([Proposition = P], _CG)
and expect P to be set.
This was done to solve the problem that when you do things like
branchOfCG([Proposition = P], _CG)
(which is valid, even if the first argument is not a branch), and _CG has a branch that says:
[Propositon = ...]-Relation->[Proposition = ...]
then you only get one of the propositions.
I do not believe that the correct way would be to return both propositions, since branchOfCG is meant to work on branches, not concepts. The addition of this feature for concOfCG solves the problem.
It used to be that built-ins such as branchOfCG would not return all solutions under certain circumstances. This has been fixed.
One way to trigger this was to attempt a match with the built-in against something that did not match (e.g., a CG that did not have such and such a branch). After that, no more matches could be generated with the same goal.
This would also sometimes cause the built-ins not to return more than one result.
This program would trigger it:
---------------- program begins -------------- // Type-hierarchy Universal > Physical. Physical > Process, Object. Process > Act. Act > Persuade, Speak, Eat. Object > Animal.
// Catalog of instances Animal = Wolf, Lamb.
// Graphs
// The wolf persuades the lamb. graph(gr1, [Animal: Wolf]<-agnt-[Persuade]-rcpt->[Animal: Lamb]).
// The lamb speaks to the wolf. graph(gr2, [Animal: Lamb]<-agnt-[Speak]-rcpt->[Animal: Wolf]).
// The wolf eats the lamb. graph(gr3, [Animal: Wolf]<-agnt-[Eat]-ptnt->[Animal: Lamb]).
// Wolf does something in which graph?
// ERROR: gr3 does not appear.
wolf(I)
:-
graph(I, G)
,
branchOfCG([Animal : Wolf]<-agnt-[X], G).
---------------- program ends --------------
A few minor changes have been made in addition to this. See the ChangeLog for details.
Enjoy!
Ulrik Petersen Prolog+CG maintainer
This release has minor bugfixes:
This release has one minor feature-enhancement:
You can now press Ctrl-C in the console area and put whatever is selected on the clipboard. Then you can paste it again with Ctrl-V. This is useful, e.g., when you want to run the same query over and over again.
You must select the piece of text you wish to copy, then, while holding down the mouse button, press Ctrl-C, then release the mouse button. You can then press Ctrl-V to paste what is on the clipboard.
Many thanks to Aldo de Moor for suggesting this change.
Enjoy!
Ulrik Petersen Prolog+CG maintainer
This is a bugfix release related to the manual. A number of missing files were added, and a number of broken links corrected.
In addition, some bugs were fixed in the HTMLFrame showing the manual. In particular:
1) moving the mouse over a link no longer instantly attempts to follow the link.
2) If for some reason an external URL cannot be loaded, this is now handled gracefully.
See ChangeLog for details.
Enjoy!
Ulrik Petersen Prolog+CG maintainer
This is the initial release of the Open Source version of Prolog+CG. Prof. Kabbaj, the original author of Prolog+CG, has graciously authorized me to release it as Open Source under the LGPL.
It is based on version 2.0 from August 2000, available from:
http://www.insea.ac.ma/CGTools/PROLOG+CG.htm
I, Ulrik Petersen, am the current maintainer. All bugreports and comments should go to me, not Prof. Kabbaj. Note that I cannot offer support for Prolog+CG. Instead, check out the resources at the website:
http://prologpluscg.sourceforge.net/docs.html
Note also that this is a legacy version, and that it is in maintenance mode, not development mode. Prof. Kabbaj is working on a new, better replacement, to be included in the Amine platform:
http://amine-platform.sourceforge.net/
Please note: This software is in maintenance mode. This means that bugs will be fixed as time allows and as they are reported to the maintainer. However, evelopment of new features takes place in the new development branch for the Amine platform.
Changes over version 2.0:
At the same time, the lower part is no longer switched when clicking the upper part.
At the same time, the splitter of the split pane is set to the middle when one switches from console to compilation output. It also repositions to 3/4 of the size when one switches from compilation output to console. This was because Java 1.4 resized the panes such that the program text area had 0 height.
Enjoy!
Ulrik Petersen Prolog+CG maintainer