Java Doc for TestFBRules.java in » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » reasoner » rulesys » test » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Java Source Code / Java Documentation
1.
6.0 JDK Core
2.
6.0 JDK Modules
3.
6.0 JDK Modules com.sun
4.
6.0 JDK Modules com.sun.java
5.
6.0 JDK Modules sun
6.
6.0 JDK Platform
7.
Ajax
8.
Apache Harmony Java SE
9.
Aspect oriented
10.
Authentication Authorization
11.
Blogger System
12.
Build
13.
Byte Code
14.
Cache
15.
Chart
16.
Chat
17.
Code Analyzer
18.
Collaboration
19.
Content Management System
20.
Database Client
21.
Database DBMS
22.
Database JDBC Connection Pool
23.
Database ORM
24.
Development
25.
EJB Server geronimo
26.
EJB Server GlassFish
27.
EJB Server JBoss 4.2.1
28.
EJB Server resin 3.1.5
29.
ERP CRM Financial
30.
ESB
31.
Forum
32.
GIS
33.
Graphic Library
34.
Groupware
35.
HTML Parser
36.
IDE
37.
IDE Eclipse
38.
IDE Netbeans
39.
Installer
40.
Internationalization Localization
41.
Inversion of Control
42.
Issue Tracking
43.
J2EE
44.
JBoss
45.
JMS
46.
JMX
47.
Library
48.
Mail Clients
49.
Net
50.
Parser
51.
PDF
52.
Portal
53.
Profiler
54.
Project Management
55.
Report
56.
RSS RDF
57.
Rule Engine
58.
Science
59.
Scripting
60.
Search Engine
61.
Security
62.
Sevlet Container
63.
Source Control
64.
Swing Library
65.
Template Engine
66.
Test Coverage
67.
Testing
68.
UML
69.
Web Crawler
70.
Web Framework
71.
Web Mail
72.
Web Server
73.
Web Services
74.
Web Services apache cxf 2.0.1
75.
Web Services AXIS2
76.
Wiki Engine
77.
Workflow Engines
78.
XML
79.
XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation
»
RSS RDF
»
Jena 2.5.5
»
com.hp.hpl.jena.reasoner.rulesys.test
Source Cross Reference
Class Diagram
Java Document (Java Doc)
com.hp.hpl.jena.reasoner.rulesys.test
.TestFBRules
TestFBRules
public
class TestFBRules extends TestCase
(Code)
Test suite for the hybrid forward/backward rule system.
author:
Dave Reynolds
version:
$Revision: 1.52 $ on $Date: 2008/01/02 12:08:20 $
Field Summary
protected
Node
C1
protected
Node
C2
protected
Node
C3
protected
Node
a
protected
Node
b
protected
Node
c
protected
Node
d
protected
static Log
logger
protected
Node
n1
protected
Node
n2
protected
Node
n3
protected
Node
n4
protected
Node
n5
protected
Node
p
protected
Node
q
protected
Node
r
protected
Node
res
protected
Node
s
protected
Node
sC
protected
Node
sP
protected
Node
t
protected
Node
ty
protected
Node
u
protected
Node
v
protected
Node
w
protected
Node
x
Constructor Summary
public
TestFBRules
(
String
name)
Method Summary
public
InfGraph
createInfGraph
(
String
rules,
Graph
data)
public
InfGraph
createInfGraph
(
String
rules)
public
Reasoner
createReasoner
(
List
rules)
Override in subclasses to test other reasoners.
public
void
listFBGraph
(
String
message,
FBRuleInfGraph
graph)
Helper function to list the interesting parts of an FBInfGraph.
public
void
listGraph
(
Graph
g)
public
static TestSuite
suite
()
Boilerplate for junit.
public
void
temp
()
Check cost of creating an empty OWL closure.
public
void
testArithmetic
()
public
void
testBackchain1
()
public
void
testBackchain2
()
public
void
testBackchain3
()
public
void
testBuiltins
()
public
void
testBuiltins2
()
public
void
testClose
()
Test the close operation.
public
void
testDuplicatesEC4
()
public
void
testEmbeddedFunctors
()
public
void
testHybrid1
()
Test example hybrid rule.
public
void
testHybrid2
()
Test example hybrid rule.
public
void
testHybridRDFS
()
Test example hybrid rules for rdfs.
public
void
testHybridRDFS2
()
Test example hybrid rules for rdfs.
public
void
testMakeInstance
()
Test access to makeInstance machinery from a Brule.
public
void
testMakeInstanceBug
()
Test case for makeInstance which failed during development.
public
void
testMakeInstances
()
Test access to makeInstance machinery from a Brule.
public
void
testNumericFunctors
()
public
void
testParser
()
Check parser extension for f/b distinction.
public
void
testRebind
()
Test the rebind operation.
public
void
testRebind2
()
Test that reset does actually clear out all the data.
public
void
testRebindAll
()
public
void
testRemoveBuiltin
()
public
void
testRuleMatcher
()
Minimal rule tester to check basic pattern match, forward style.
public
void
testSchemaBinding
()
Test schmea partial binding machinery, forward subset.
public
void
testStringBuiltins
()
Check string manipulation builtins, new at 2.5.
Field Detail
C1
protected
Node
C1
(Code)
C2
protected
Node
C2
(Code)
C3
protected
Node
C3
(Code)
a
protected
Node
a
(Code)
b
protected
Node
b
(Code)
c
protected
Node
c
(Code)
d
protected
Node
d
(Code)
logger
protected
static Log logger
(Code)
n1
protected
Node
n1
(Code)
n2
protected
Node
n2
(Code)
n3
protected
Node
n3
(Code)
n4
protected
Node
n4
(Code)
n5
protected
Node
n5
(Code)
p
protected
Node
p
(Code)
q
protected
Node
q
(Code)
r
protected
Node
r
(Code)
res
protected
Node
res
(Code)
s
protected
Node
s
(Code)
sC
protected
Node
sC
(Code)
sP
protected
Node
sP
(Code)
t
protected
Node
t
(Code)
ty
protected
Node
ty
(Code)
u
protected
Node
u
(Code)
v
protected
Node
v
(Code)
w
protected
Node
w
(Code)
x
protected
Node
x
(Code)
Constructor Detail
TestFBRules
public
TestFBRules(
String
name)
(Code)
Boilerplate for junit
Method Detail
createInfGraph
public
InfGraph
createInfGraph(
String
rules,
Graph
data)
(Code)
Assemble a test infGraph from a rule source and starting data
createInfGraph
public
InfGraph
createInfGraph(
String
rules)
(Code)
Assemble a test infGraph from a rule source and empty data
createReasoner
public
Reasoner
createReasoner(
List
rules)
(Code)
Override in subclasses to test other reasoners.
listFBGraph
public
void listFBGraph(
String
message,
FBRuleInfGraph
graph)
(Code)
Helper function to list the interesting parts of an FBInfGraph.
listGraph
public
void listGraph(
Graph
g)
(Code)
Helper function to list a graph out to logger.info
suite
public
static TestSuite suite()
(Code)
Boilerplate for junit. This is its own test suite
temp
public
void temp()
(Code)
Check cost of creating an empty OWL closure.
testArithmetic
public
void testArithmetic()
(Code)
More extensive check of arithmetic which checks that binding to an expected answer also works
testBackchain1
public
void testBackchain1()
(Code)
Test example pure backchaining rules
testBackchain2
public
void testBackchain2()
(Code)
Test complex rule head unification
testBackchain3
public
void testBackchain3()
(Code)
Test restriction example
testBuiltins
public
void testBuiltins()
(Code)
The the minimal machinery for supporting builtins
testBuiltins2
public
void testBuiltins2()
(Code)
Test the builtins themselves
testClose
public
void testClose()
(Code)
Test the close operation.
testDuplicatesEC4
public
void testDuplicatesEC4() throws
IOException
(Code)
Investigate a suspicious case in the OWL ruleset, is the backchainer returning duplicate values?
testEmbeddedFunctors
public
void testEmbeddedFunctors()
(Code)
Test functor handling
testHybrid1
public
void testHybrid1()
(Code)
Test example hybrid rule.
testHybrid2
public
void testHybrid2()
(Code)
Test example hybrid rule.
testHybridRDFS
public
void testHybridRDFS()
(Code)
Test example hybrid rules for rdfs.
testHybridRDFS2
public
void testHybridRDFS2()
(Code)
Test example hybrid rules for rdfs.
testMakeInstance
public
void testMakeInstance()
(Code)
Test access to makeInstance machinery from a Brule.
testMakeInstanceBug
public
void testMakeInstanceBug()
(Code)
Test case for makeInstance which failed during development.
testMakeInstances
public
void testMakeInstances()
(Code)
Test access to makeInstance machinery from a Brule.
testNumericFunctors
public
void testNumericFunctors()
(Code)
Test numeric functors
testParser
public
void testParser()
(Code)
Check parser extension for f/b distinction.
testRebind
public
void testRebind()
(Code)
Test the rebind operation.
testRebind2
public
void testRebind2()
(Code)
Test that reset does actually clear out all the data. We use the RDFS configuration because uses both TGC, forward and backward rules and so is a good check.
testRebindAll
public
void testRebindAll()
(Code)
Test rebindAll reconsults a changed ruleset
testRemoveBuiltin
public
void testRemoveBuiltin()
(Code)
The the "remove" builtin
testRuleMatcher
public
void testRuleMatcher()
(Code)
Minimal rule tester to check basic pattern match, forward style.
testSchemaBinding
public
void testSchemaBinding()
(Code)
Test schmea partial binding machinery, forward subset.
testStringBuiltins
public
void testStringBuiltins()
(Code)
Check string manipulation builtins, new at 2.5.
w___w__w.ja_v_a2___s.___co__m___
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.