Commit a49d2c4d authored by Kerstin Bach's avatar Kerstin Bach

Merge branch 'mycbr-3.0.1' into 'master'

Merging development branch into master Merging the myCBR-3.0.1 development branch into master (released) See merge request !13
parents 1f704696 f391810f
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="external-libs/postgresql-9.1-901.jdbc4.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="external-libs/postgresql-9.1-901.jdbc4.jar"/>
<classpathentry kind="lib" path="external-libs/log4j-1.2-api-2.0-rc1.jar"/>
<classpathentry kind="lib" path="external-libs/log4j-core-2.0-rc1.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
.idea/
bin/**/*
*.iml
*.pins
*.pont
*_CBR_OPTIONS.XML
*_CBR_EXPLANATIONS.XML
*.myCB
*.myCBR
*.myExp
*.config
/bin
#Tue May 12 14:27:07 CEST 2009
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.compliance=1.7
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
org.eclipse.jdt.core.compiler.source=1.7
This diff is collapsed.
; Wed Nov 18 17:47:05 CET 2009
;
;+ (version "3.3.1")
;+ (build "Build 430")
([multipleTest_Instance_10] of Car
(equip radio sunroof))
([multipleTest_Instance_11] of Car
(equip radio air_conditioning))
([multipleTest_Instance_12] of Car
(equip radio sunroof air_conditioning electric_window_lift))
; Wed Nov 18 17:47:05 CET 2009
;
;+ (version "3.3.1")
;+ (build "Build 430")
(defclass %3ACLIPS_TOP_LEVEL_SLOT_CLASS "Fake class to save top-level slot information"
(is-a USER)
(role abstract)
(single-slot comment
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot weight
(type FLOAT)
(range 0.5 5.0)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot new
(type SYMBOL)
(allowed-values FALSE TRUE)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot temp
(type INTEGER)
(range -100 100)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot doors
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot color
(type SYMBOL)
(allowed-values green black blue white yellow red pink brown darkgreen darkblue)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot ccm
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot dealer
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(multislot equip
(type SYMBOL)
(allowed-values radio sunroof air_conditioning electric_window_lift)
(create-accessor read-write)))
(defclass Car
(is-a %3ASYSTEM-CLASS)
(role concrete)
(single-slot comment
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot weight
(type FLOAT)
(range 0.5 5.0)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot new
(type SYMBOL)
(allowed-values FALSE TRUE)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot temp
(type INTEGER)
(range -100 100)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot doors
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot color
(type SYMBOL)
(allowed-values green black blue white yellow red pink brown darkgreen darkblue)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot ccm
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot dealer
(type STRING)
;+ (cardinality 0 1)
(create-accessor read-write))
(multislot equip
(type SYMBOL)
(allowed-values radio sunroof air_conditioning electric_window_lift)
(create-accessor read-write)))
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Document MyCBR_version="2.6.6" Project_version="0.1" Project_author="unknown author">
<Instances_for_Class class="Car">
<Prototype>
<slotvalue slot="comment" value="String" />
<slotvalue slot="weight" value="Float" minval="0.5" maxval="5.0" />
<slotvalue slot="new" value="Boolean" />
<slotvalue slot="temp" value="Integer" minval="-100" maxval="100" />
<slotvalue slot="doors" value="String" minval="0.0" maxval="10.0" />
<slotvalue slot="color" value="Symbol" allowed_values="green;black;blue;white;yellow;red;pink;brown;darkgreen;darkblue" />
<slotvalue slot="ccm" value="String" minval="500.0" maxval="10000.0" />
<slotvalue slot="dealer" value="String" />
<slotvalue slot="equip" value="Symbol" multiple="true" allowed_values="radio;sunroof;air_conditioning;electric_window_lift" />
</Prototype>
<Instance model_instname="multipleTest_Instance_10">
<slotvalue slot="comment" value="_undefined_" />
<slotvalue slot="weight" value="_undefined_" />
<slotvalue slot="new" value="_undefined_" />
<slotvalue slot="temp" value="_undefined_" />
<slotvalue slot="doors" value="_undefined_" />
<slotvalue slot="color" value="_undefined_" />
<slotvalue slot="ccm" value="_undefined_" />
<slotvalue slot="dealer" value="_undefined_" />
<slotvalue slot="equip" value="radio" />
<slotvalue slot="equip" value="sunroof" />
</Instance>
<Instance model_instname="multipleTest_Instance_11">
<slotvalue slot="comment" value="_undefined_" />
<slotvalue slot="weight" value="_undefined_" />
<slotvalue slot="new" value="_undefined_" />
<slotvalue slot="temp" value="_undefined_" />
<slotvalue slot="doors" value="_undefined_" />
<slotvalue slot="color" value="_undefined_" />
<slotvalue slot="ccm" value="_undefined_" />
<slotvalue slot="dealer" value="_undefined_" />
<slotvalue slot="equip" value="radio" />
<slotvalue slot="equip" value="air_conditioning" />
</Instance>
<Instance model_instname="multipleTest_Instance_12">
<slotvalue slot="comment" value="_undefined_" />
<slotvalue slot="weight" value="_undefined_" />
<slotvalue slot="new" value="_undefined_" />
<slotvalue slot="temp" value="_undefined_" />
<slotvalue slot="doors" value="_undefined_" />
<slotvalue slot="color" value="_undefined_" />
<slotvalue slot="ccm" value="_undefined_" />
<slotvalue slot="dealer" value="_undefined_" />
<slotvalue slot="equip" value="radio" />
<slotvalue slot="equip" value="sunroof" />
<slotvalue slot="equip" value="air_conditioning" />
<slotvalue slot="equip" value="electric_window_lift" />
</Instance>
</Instances_for_Class>
</Document>
<?xml version="1.0" encoding="UTF-8"?>
<Document MyCBR_version="2.6.6">
<ExplanationScheme Description="" conceptID="String:THING" />
</Document>
<?xml version="1.0" encoding="UTF-8"?>
<Document MyCBR_version="2.6.6" CasesToDisplay="3" IgnoreUndefined_Query="false" IgnoreUndefined_Case="false" showFilters="false" showQueryWeights="0" highlightSimilarity="true" explanations="false" concept_explanations="false" ls="false" wls="false" />
<?xml version="1.0" encoding="UTF-8"?>
<Document MyCBR_version="2.6.6" Project_version="0.1" Project_author="unknown author">
<SpecialValueHandler>
<SpecialValue Label="undefined" />
<InternalSMF smfname="SpecialValuesSMF" model_instname="_SPECIAL_VALUES_" type="Symbol">
<QuerySymbol symbol="Non-Special Value">
<CBSymbol sim="1.0" symbol="Non-Special Value" />
</QuerySymbol>
<QuerySymbol symbol="undefined">
<CBSymbol sim="1.0" symbol="undefined" />
</QuerySymbol>
</InternalSMF>
</SpecialValueHandler>
<Holder>
<SMFunction smfname="default" model_instname="doors" type="String" mode="exact_match" active="true" simMode="Standard" />
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="dealer" type="String" mode="exact_match" active="true" simMode="Standard" />
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="equip" type="Symbol" active="true" simMode="Table">
<QuerySymbol symbol="radio">
<CBSymbol sim="1.0" symbol="radio" />
</QuerySymbol>
<QuerySymbol symbol="sunroof">
<CBSymbol sim="1.0" symbol="sunroof" />
</QuerySymbol>
<QuerySymbol symbol="air_conditioning">
<CBSymbol sim="1.0" symbol="air_conditioning" />
</QuerySymbol>
<QuerySymbol symbol="electric_window_lift">
<CBSymbol sim="1.0" symbol="electric_window_lift" />
</QuerySymbol>
</SMFunction>
<MultiMeasure>
<SMFunction smfname="default" model_instname="equip" type="NoType" multiSelection="20" oneOrMulti="11" noMatch="45" reuse="40" singleSim="30" totalFct="50" />
</MultiMeasure>
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="Car" type="Class" amalgamation="euclidean" active="true" simMode="Standard">
<Slot slotname="ccm" enabled="true" weight="1.0" comment="" />
<Slot slotname="color" enabled="true" weight="1.0" comment="" />
<Slot slotname="comment" enabled="true" weight="1.0" comment="" />
<Slot slotname="dealer" enabled="true" weight="1.0" comment="" />
<Slot slotname="doors" enabled="true" weight="1.0" comment="" />
<Slot slotname="equip" enabled="true" weight="1.0" comment="" />
<Slot slotname="new" enabled="true" weight="1.0" comment="" />
<Slot slotname="temp" enabled="true" weight="1.0" comment="" />
<Slot slotname="weight" enabled="true" weight="1.0" comment="" />
</SMFunction>
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="new" type="Boolean" active="true" simMode="Boolean">
<QuerySymbol boolean="false">
<CBSymbol sim="1.0" boolean="false" />
<CBSymbol sim="0.0" boolean="true" />
</QuerySymbol>
<QuerySymbol boolean="true">
<CBSymbol sim="1.0" boolean="true" />
<CBSymbol sim="0.0" boolean="false" />
</QuerySymbol>
</SMFunction>
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="weight" type="Float" maxval="5.0" minval="0.5" modeDiffOrQuotient="0" active="true" simMode="Standard">
<LeftSide step="0.0" polinomial="1.0" smooth_step="2.25" const="1.0" fctMode="polinomial" />
<RightSide step="0.0" polinomial="1.0" smooth_step="2.25" const="1.0" fctMode="polinomial" />
</SMFunction>
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="ccm" type="String" mode="exact_match" active="true" simMode="Standard" />
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="color" type="Symbol" active="true" simMode="Table">
<QuerySymbol symbol="green">
<CBSymbol sim="1.0" symbol="green" />
</QuerySymbol>
<QuerySymbol symbol="black">
<CBSymbol sim="1.0" symbol="black" />
</QuerySymbol>
<QuerySymbol symbol="blue">
<CBSymbol sim="1.0" symbol="blue" />
</QuerySymbol>
<QuerySymbol symbol="white">
<CBSymbol sim="1.0" symbol="white" />
</QuerySymbol>
<QuerySymbol symbol="yellow">
<CBSymbol sim="1.0" symbol="yellow" />
</QuerySymbol>
<QuerySymbol symbol="red">
<CBSymbol sim="1.0" symbol="red" />
</QuerySymbol>
<QuerySymbol symbol="pink">
<CBSymbol sim="1.0" symbol="pink" />
</QuerySymbol>
<QuerySymbol symbol="brown">
<CBSymbol sim="1.0" symbol="brown" />
</QuerySymbol>
<QuerySymbol symbol="darkgreen">
<CBSymbol sim="1.0" symbol="darkgreen" />
</QuerySymbol>
<QuerySymbol symbol="darkblue">
<CBSymbol sim="1.0" symbol="darkblue" />
</QuerySymbol>
</SMFunction>
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="temp" type="Integer" maxval="100.0" minval="-100.0" modeDiffOrQuotient="0" active="true" simMode="Standard">
<LeftSide step="0.0" polinomial="1.0" smooth_step="100.0" const="1.0" fctMode="polinomial" />
<RightSide step="0.0" polinomial="1.0" smooth_step="100.0" const="1.0" fctMode="polinomial" />
</SMFunction>
</Holder>
<Holder>
<SMFunction smfname="default" model_instname="comment" type="String" mode="exact_match" active="true" simMode="Standard" />
</Holder>
<InheritanceMeasure smfname="_IMF_INTERNAL_SMF_" model_instname="_FAKESLOT_IMF_" type="Symbol" topCls="Car">
<RootSymbol symbol="Car" simVal="0.0" />
<InnerNodesConfig scope="query" has_inner_values="no" inner_semantic="any_value" uncertain="pessimistic" />
<InnerNodesConfig scope="case" has_inner_values="no" inner_semantic="any_value" uncertain="pessimistic" />
</InheritanceMeasure>
</Document>
<?xml version="1.0" encoding="ISO-8859-1"?>
<Project name="MyCBRImportTest" author="" >
<instances name="Car">
<instance id="MyCBRImportTest_Class0" >
<att name="Color" value="green" />
<att name="Manufacturer" value="BMW" />
</instance>
<instance id="MyCBRImportTest_Class2" >
<att name="Color" value="green" />
<att name="Manufacturer" value="Audi" />
</instance>
<instance id="MyCBRImportTest_Class1" >
<att name="Manufacturer" value="BMW" />
</instance>
<instance id="MyCBRImportTest_Class3" >
</instance>
</instances>
<cb name="CaseBase0">
<case name="MyCBRImportTest_Class0" />
<case name="MyCBRImportTest_Class2" />
<case name="MyCBRImportTest_Class1" />
<case name="MyCBRImportTest_Class3" />
</cb>
</Project>
<?xml version="1.0" encoding="ISO-8859-1"?>
<Project name="MyCBRImportTest" author="" >
<svs>
<sv name="_others_"/>
<sv name="_unknown_"/>
<sv name="_undefined_"/>
<fct name="default function" type="Symbol" mt="PARTNER_QUERY" r="REUSE" t="MAX" symm="true">
<qsym name="_others_">
</qsym>
<qsym name="_unknown_">
</qsym>
<qsym name="_undefined_">
</qsym>
</fct>
</svs>
<model>
<concept name="Car">
<desc name="Manufacturer" type="Symbol" mult="false" >
<symbol value="Audi" />
<symbol value="FIAT" />
<symbol value="SEAT" />
<symbol value="Ford" />
<symbol value="VW" />
<symbol value="BMW" />
<symbol value="Mercedes" />
<fct name="default" type="Symbol" mt="PARTNER_QUERY" r="REUSE" t="MAX" symm="false">
<qsym name="Audi">
<csym name="Ford" sim="0.2"/>
<csym name="VW" sim="0.2"/>
<csym name="BMW" sim="0.6"/>
<csym name="Mercedes" sim="0.5"/>
</qsym>
<qsym name="FIAT">
</qsym>
<qsym name="SEAT">
</qsym>
<qsym name="Ford">
<csym name="Audi" sim="0.2"/>
<csym name="VW" sim="0.4"/>
</qsym>
<qsym name="VW">
<csym name="Audi" sim="0.2"/>
<csym name="Ford" sim="0.4"/>
<csym name="BMW" sim="0.1"/>
<csym name="Mercedes" sim="0.1"/>
</qsym>
<qsym name="BMW">
<csym name="Audi" sim="0.6"/>
<csym name="VW" sim="0.1"/>
<csym name="Mercedes" sim="0.6"/>
</qsym>
<qsym name="Mercedes">
<csym name="Audi" sim="0.5"/>
<csym name="VW" sim="0.1"/>
<csym name="BMW" sim="0.6"/>
</qsym>
</fct>
</desc>
<desc name="Color" type="Symbol" mult="false" >
<symbol value="red" />
<symbol value="blue" />
<symbol value="green" />
<symbol value="white" />
<symbol value="brown" />
<symbol value="pink" />
<symbol value="yellow" />
<symbol value="black" />
<fct name="default" type="Taxonomy" mt="PARTNER_QUERY" r="REUSE" t="MAX" qconfig="INNER_NODES_ANY" cconfig="INNER_NODES_ANY" top="Color" sim="0.0" symm="true" >
<node name="white" sim="0.75" parent="Color" />
<node name="blue" sim="0.97" parent="red" />
<node name="brown" sim="0.88" parent="white" />
<node name="black" sim="1.0" parent="Color" />
<node name="pink" sim="0.94" parent="brown" />
<node name="yellow" sim="1.0" parent="pink" />
<node name="green" sim="1.0" parent="blue" />
<node name="red" sim="0.94" parent="brown" />
</fct>
</desc>
<amalgam name="default" type="WEIGHTED_SUM" active="true" >
<entry name="Manufacturer" active="true" fct="default" weight="1.0"/>
<entry name="Color" active="true" fct="default" weight="1.0"/>
</amalgam>
</concept>
</model>
<hierarchy>
<fct name="default function" type="Taxonomy" mt="PARTNER_QUERY" r="REUSE" t="MAX" qconfig="NO_INNERNODES" cconfig="NO_INNERNODES" top="inheritanceDesc" sim="0.0" symm="true" >
<node name="Car" sim="0.5" parent="inheritanceDesc" />
</fct>
</hierarchy>
<cases no="4" cb="CaseBase0"/>
</Project>
; Mon Aug 24 09:32:35 CEST 2009
;
;+ (version "3.3.1")
;+ (build "Build 430")
([MyCBRImportTest_Class0] of Car
(Color green)
(Manufacturer BMW))
([MyCBRImportTest_Class1] of Car
(Manufacturer BMW))
([MyCBRImportTest_Class2] of Car
(Color green)
(Manufacturer Audi))
([MyCBRImportTest_Class3] of Car
)
; Mon Aug 24 09:32:35 CEST 2009
;
;+ (version "3.3.1")
;+ (build "Build 430")
(defclass %3ACLIPS_TOP_LEVEL_SLOT_CLASS "Fake class to save top-level slot information"
(is-a USER)
(role abstract)
(single-slot Manufacturer
(type SYMBOL)
(allowed-values BMW Audi VW Ford Mercedes SEAT FIAT)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot Color
(type SYMBOL)
(allowed-values green black blue white yellow red pink brown)
;+ (cardinality 0 1)
(create-accessor read-write)))
(defclass Car
(is-a USER)
(role concrete)
(single-slot Manufacturer
(type SYMBOL)
(allowed-values BMW Audi VW Ford Mercedes SEAT FIAT)
;+ (cardinality 0 1)
(create-accessor read-write))
(single-slot Color
(type SYMBOL)
(allowed-values green black blue white yellow red pink brown)
;+ (cardinality 0 1)
(create-accessor read-write)))
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<Document MyCBR_version="2.6.4">
<ExplanationScheme Description="" conceptID="String:THING" />
<SMExplanation model_instname="Manufacturer" smfname="default" type="Symbol" />
</Document>
<?xml version="1.0" encoding="ISO-8859-1"?>
<Config author="" >
<filter id="767" >
</filter>
</Config>
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.