org.rdtdm.rule
Class Results
java.lang.Object
|
+--org.rdtdm.rule.Results
- public class Results
- extends java.lang.Object
Results
stores the results (pos,neg,concl,negconcl) for a
ruleschema and a mapper.
Copyright (c) 2001 by Dirk Münstermann
All Rights Reserved
- Version:
- $Revision:$ ($Date:$)
- Author:
- Dirk Münstermann
Constructor Summary |
Results()
|
Results(Mapper mapper,
RuleSchema rs)
Erzeugt eine Instanz der Klasse Results f?r ein
Datenbank-Mapping und eine Hypothese. |
Results(Mapper mapper,
RuleSchema rs,
boolean concltest)
Erzeugt eine Instanz der Klasse Results f?r ein
Datenbank-Mapping und eine Hypothese. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mapper
private Mapper mapper
rs
private RuleSchema rs
concltest
private boolean concltest
pos
private int pos
neg
private int neg
concl
private int concl
negconcl
private int negconcl
sqlqueryPos
protected java.lang.String sqlqueryPos
sqlqueryNeg
protected java.lang.String sqlqueryNeg
sqlqueryConcl
protected java.lang.String sqlqueryConcl
sqlqueryNegConcl
protected java.lang.String sqlqueryNegConcl
Results
public Results()
Results
public Results(Mapper mapper,
RuleSchema rs)
- Erzeugt eine Instanz der Klasse
Results
f?r ein
Datenbank-Mapping und eine Hypothese. Dabei werden alle notwendigen
SQL-Statement f?r die Anfrage nach den Kriterien f?r die Akzeptierung der
Hypothese erzeugt. Die Anfragen werden nicht direkt ausgef?hrt.
- Parameters:
mapper
- Das Datenbank-Mapping.rs
- Die Hypothese.
Results
public Results(Mapper mapper,
RuleSchema rs,
boolean concltest)
- Erzeugt eine Instanz der Klasse
Results
f?r ein
Datenbank-Mapping und eine Hypothese. Dabei werden alle notwendigen
SQL-Statement f?r die Anfrage nach den Kriterien f?r die Akzeptierung der
Hypothese erzeugt. Die Anfragen werden nicht direkt ausgef?hrt.
Durch die zus?tzliche Option concltest
wird festgelegt, ob
die Abfrage zu der Konklusion erfolgen soll oder nicht.
- Parameters:
mapper
- Das Datenbank-Mapping.rs
- Die Hypothese.concltest
- Sollen die Anfragen zur Konklusion erfolgen oder nicht.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setPos
public void setPos(int pos)
getPos
public int getPos()
setNeg
public void setNeg(int neg)
getNeg
public int getNeg()
setConcl
public void setConcl(int concl)
getConcl
public int getConcl()
setNegConcl
public void setNegConcl(int negconcl)
getNegConcl
public int getNegConcl()
getMapper
public Mapper getMapper()
queryResults
public void queryResults()
getResult
private int getResult(java.util.Properties results,
java.lang.String key)