TrollCreek devbuild version 0.96 with constraint mechanism

Constraint mechanism
All the code for the constraint mechanism are in the packages
jcreek.representation.constraints (constraint mechanism)
jcreek.gui.representation.constraints (gui components)
This code are written by Martin Stige in his master project.

To make the constraint system work with the existing TrollCreek system, changes are made to the following classes:

jcreek.representation.KnowledgeModel
    Methods
        public ConstraintData makeConstraint();
        public Iterator getConstraintIterator();
        public Constraint[] getConstraints();
jcreek.representation.AbstractKnowledgeModel
    Methods
        public Constraint[] getConstraints()
jcreek.representation.LocalKnowledgeModel
    Metoder
        public ConstraintData makeConstraint()
        public Iterator getConstraintIterator()
        public Constraint getConstraint(Object id)
        private void writeObject(ObjectOutputStream output)
        private void readObject(ObjectInputStream input)
    Attributter
        private LinkedHashMap constraintDataMap = new LinkedHashMap();
    Private class
        private static class ConstraintIterator implements Iterator
jcreek.representation.Entity
    Methods
        public void addConstraint(Constraint constraint)
jcreek.representation.EntityData
    Methods
        public void addConstraint(Constraint constraint);
jcreek.representation.LocalEntityData
    Methods
        public void addConstraint(Constraint constraint)
        public Constraint[] getConstraints()
        public Constraint[] getLocalConstraints()
        public void removeConstraint(Constraint constraint)
    Attributes
        private ArrayList constraints;

 

Core Packages
jcreek.reasoning  
jcreek.representation  
jcreek.representation.cbr  
jcreek.representation.constraints  
jcreek.representation.inference  
jcreek.util  
jcreek.util.graph  
jcreek.util.graph.layout  
jcreek.util.selection  

 

GUI Library
jcreek.gui  
jcreek.gui.chart  
jcreek.gui.conceptmap  
jcreek.gui.conceptmap.tool  
jcreek.gui.cycle  
jcreek.gui.reasoning  
jcreek.gui.representation  
jcreek.gui.representation.constraints  

 

Examples
jcreek.examples  

 

Creek Knowledge Editor (CKE)
jcreek.cke  
jcreek.cke.browser  
jcreek.cke.command  
jcreek.cke.conceptview  
jcreek.cke.controls  
jcreek.cke.document  
jcreek.cke.graph  
jcreek.cke.graph.layout  
jcreek.cke.importexport  
jcreek.cke.importexport.jcxml  
jcreek.cke.importexport.xml  
jcreek.cke.tool  
jcreek.cke.util  
jcreek.cke.visualizer  

 

Launcher
jcreek  

 

Command Line Interface (CLI)
jcreek.cli  

 



Created at IDI, NTNU by the Artificial Intelligence and Learning group