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  NodeC1
    
protected  NodeC2
    
protected  NodeC3
    
protected  Nodea
    
protected  Nodeb
    
protected  Nodec
    
protected  Noded
    
protected static  Loglogger
    
protected  Noden1
    
protected  Noden2
    
protected  Noden3
    
protected  Noden4
    
protected  Noden5
    
protected  Nodep
    
protected  Nodeq
    
protected  Noder
    
protected  Noderes
    
protected  Nodes
    
protected  NodesC
    
protected  NodesP
    
protected  Nodet
    
protected  Nodety
    
protected  Nodeu
    
protected  Nodev
    
protected  Nodew
    
protected  Nodex
    

Constructor Summary
public  TestFBRules(String name)
    

Method Summary
public  InfGraphcreateInfGraph(String rules, Graph data)
    
public  InfGraphcreateInfGraph(String rules)
    
public  ReasonercreateReasoner(List rules)
     Override in subclasses to test other reasoners.
public  voidlistFBGraph(String message, FBRuleInfGraph graph)
     Helper function to list the interesting parts of an FBInfGraph.
public  voidlistGraph(Graph g)
    
public static  TestSuitesuite()
     Boilerplate for junit.
public  voidtemp()
     Check cost of creating an empty OWL closure.
public  voidtestArithmetic()
    
public  voidtestBackchain1()
    
public  voidtestBackchain2()
    
public  voidtestBackchain3()
    
public  voidtestBuiltins()
    
public  voidtestBuiltins2()
    
public  voidtestClose()
     Test the close operation.
public  voidtestDuplicatesEC4()
    
public  voidtestEmbeddedFunctors()
    
public  voidtestHybrid1()
     Test example hybrid rule.
public  voidtestHybrid2()
     Test example hybrid rule.
public  voidtestHybridRDFS()
     Test example hybrid rules for rdfs.
public  voidtestHybridRDFS2()
     Test example hybrid rules for rdfs.
public  voidtestMakeInstance()
     Test access to makeInstance machinery from a Brule.
public  voidtestMakeInstanceBug()
     Test case for makeInstance which failed during development.
public  voidtestMakeInstances()
     Test access to makeInstance machinery from a Brule.
public  voidtestNumericFunctors()
    
public  voidtestParser()
     Check parser extension for f/b distinction.
public  voidtestRebind()
     Test the rebind operation.
public  voidtestRebind2()
     Test that reset does actually clear out all the data.
public  voidtestRebindAll()
    
public  voidtestRemoveBuiltin()
    
public  voidtestRuleMatcher()
     Minimal rule tester to check basic pattern match, forward style.
public  voidtestSchemaBinding()
     Test schmea partial binding machinery, forward subset.
public  voidtestStringBuiltins()
     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.