Source Code Cross Referenced for ForwardRuleInfGraphI.java in  » RSS-RDF » Jena-2.5.5 » com » hp » hpl » jena » reasoner » rulesys » 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 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /******************************************************************
002:         * File:        ForwardRuleInfGraphI.java
003:         * Created by:  Dave Reynolds
004:         * Created on:  28-May-2003
005:         * 
006:         * (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
007:         * [See end of file]
008:         * $Id: ForwardRuleInfGraphI.java,v 1.14 2008/01/02 12:07:47 andy_seaborne Exp $
009:         *****************************************************************/package com.hp.hpl.jena.reasoner.rulesys;
010:
011:        import com.hp.hpl.jena.graph.*;
012:        import com.hp.hpl.jena.reasoner.InfGraph;
013:        import com.hp.hpl.jena.util.iterator.ExtendedIterator;
014:
015:        /**
016:         * This interface collects together the operations on the InfGraph which
017:         * are needed to support the forward rule engine. 
018:         * 
019:         * @author <a href="mailto:der@hplb.hpl.hp.com">Dave Reynolds</a>
020:         * @version $Revision: 1.14 $ on $Date: 2008/01/02 12:07:47 $
021:         */
022:        public interface ForwardRuleInfGraphI extends InfGraph, SilentAddI {
023:
024:            /**
025:             * Return true if tracing should be acted on - i.e. if traceOn is true
026:             * and we are past the bootstrap phase.
027:             */
028:            public boolean shouldTrace();
029:
030:            /**
031:             * Adds a new Backward rule as a rules of a forward rule process. Only some
032:             * infgraphs support this.
033:             */
034:            public void addBRule(Rule brule);
035:
036:            /**
037:             * Deletes a new Backward rule as a rules of a forward rule process. Only some
038:             * infgraphs support this.
039:             */
040:            public void deleteBRule(Rule brule);
041:
042:            /**
043:             * Return the Graph containing all the static deductions available so far.
044:             * Triggers a prepare if the graph has not been prepared already.
045:             */
046:            public Graph getDeductionsGraph();
047:
048:            /**
049:             * Return the Graph containing all the static deductions available so far.
050:             * Does not trigger a prepare action.
051:             */
052:            public Graph getCurrentDeductionsGraph();
053:
054:            /**
055:             * Add a new deduction to the deductions graph.
056:             */
057:            public void addDeduction(Triple t);
058:
059:            /**
060:             * Search the combination of data and deductions graphs for the given triple pattern.
061:             * This may different from the normal find operation in the base of hybrid reasoners
062:             * where we are side-stepping the backward deduction step.
063:             */
064:            public ExtendedIterator findDataMatches(Node subject,
065:                    Node predicate, Node object);
066:
067:            /**
068:             * Return true if derivation logging is enabled.
069:             */
070:            public boolean shouldLogDerivations();
071:
072:            /**
073:             * Log a dervivation record against the given triple.
074:             */
075:            public void logDerivation(Triple t, Object derivation);
076:
077:        }
078:
079:        /*
080:         (c) Copyright 2003, 2004, 2005, 2006, 2007, 2008 Hewlett-Packard Development Company, LP
081:         All rights reserved.
082:
083:         Redistribution and use in source and binary forms, with or without
084:         modification, are permitted provided that the following conditions
085:         are met:
086:
087:         1. Redistributions of source code must retain the above copyright
088:         notice, this list of conditions and the following disclaimer.
089:
090:         2. Redistributions in binary form must reproduce the above copyright
091:         notice, this list of conditions and the following disclaimer in the
092:         documentation and/or other materials provided with the distribution.
093:
094:         3. The name of the author may not be used to endorse or promote products
095:         derived from this software without specific prior written permission.
096:
097:         THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
098:         IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
099:         OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
100:         IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
101:         INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
102:         NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
103:         DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
104:         THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
105:         (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
106:         THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
107:         */
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.