commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From l..@apache.org
Subject svn commit: r652594 - in /commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla: automatic/AutomaticDifferentiator.java automatic/analysis/MethodDifferentiator.java store/FetchDifferentiator.java
Date Thu, 01 May 2008 17:52:45 GMT
Author: luc
Date: Thu May  1 10:52:45 2008
New Revision: 652594

URL: http://svn.apache.org/viewvc?rev=652594&view=rev
Log:
improved TODO messages for the taglist plugin report

Modified:
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/AutomaticDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/analysis/MethodDifferentiator.java
    commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/AutomaticDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/AutomaticDifferentiator.java?rev=652594&r1=652593&r2=652594&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/AutomaticDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/AutomaticDifferentiator.java
Thu May  1 10:52:45 2008
@@ -87,7 +87,7 @@
      * @param out output stream where to dump the cache
      */
     public void dumpCache(final OutputStream out) {
-        // TODO
+        // TODO implement cache persistence
         throw new RuntimeException("not implemented yet");
     }
 

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/analysis/MethodDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/analysis/MethodDifferentiator.java?rev=652594&r1=652593&r2=652594&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/analysis/MethodDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/automatic/analysis/MethodDifferentiator.java
Thu May  1 10:52:45 2008
@@ -504,13 +504,13 @@
             useLocal(((VarInsnNode) insn).var, 4);
             return  DLoadTransformer.getInstance().getReplacement(insn, this);
         case Opcodes.DALOAD :
-            // TODO DALOAD
+            // TODO add support for DALOAD differentiation
             throw new RuntimeException("DALOAD not handled yet");
         case Opcodes.DSTORE :
             useLocal(((VarInsnNode) insn).var, 4);
             return  DStoreTransformer.getInstance().getReplacement(insn, this);
         case Opcodes.DASTORE :
-            // TODO DASTORE
+            // TODO add support for DASTORE differentiation
             throw new RuntimeException("DASTORE not handled yet");
         case Opcodes.DUP2 :
             return Dup2Transformer.getInstance().getReplacement(insn, this);
@@ -590,37 +590,37 @@
         case Opcodes.DRETURN :
             return  DReturnTransformer.getInstance().getReplacement(insn, this);
         case Opcodes.GETSTATIC :
-            // TODO GETSTATIC
+            // TODO add support for GETSTATIC differentiation
             throw new RuntimeException("GETSTATIC not handled yet");
         case Opcodes.PUTSTATIC :
-            // TODO PUTSTATIC
+            // TODO add support for PUTSTATIC differentiation
             throw new RuntimeException("PUTSTATIC not handled yet");
         case Opcodes.GETFIELD :
-            // TODO GETFIELD
+            // TODO add support for GETFIELD differentiation
             throw new RuntimeException("GETFIELD not handled yet");
         case Opcodes.PUTFIELD :
-            // TODO PUTFIELD
+            // TODO add support for PUTFIELD differentiation
             throw new RuntimeException("PUTFIELD not handled yet");
         case Opcodes.INVOKEVIRTUAL :
-            // TODO INVOKEVIRTUAL
+            // TODO add support for INVOKEVIRTUAL differentiation
             throw new RuntimeException("INVOKEVIRTUAL not handled yet");
         case Opcodes.INVOKESPECIAL :
-            // TODO INVOKESPECIAL
+            // TODO add support for INVOKESPECIAL differentiation
             throw new RuntimeException("INVOKESPECIAL not handled yet");
         case Opcodes.INVOKESTATIC :
             return replaceInvocation((MethodInsnNode) insn,
                                      stack1Converted, stack0Converted);
         case Opcodes.INVOKEINTERFACE :
-            // TODO INVOKEINTERFACE
+            // TODO add support for INVOKEINTERFACE differentiation
             throw new RuntimeException("INVOKEINTERFACE not handled yet");
         case Opcodes.NEWARRAY :
-            // TODO NEWARRAY
+            // TODO add support for NEWARRAY differentiation
             throw new RuntimeException("NEWARRAY not handled yet");
         case Opcodes.ANEWARRAY :
-            // TODO ANEWARRAY
+            // TODO add support for ANEWARRAY differentiation
             throw new RuntimeException("ANEWARRAY not handled yet");
         case Opcodes.MULTIANEWARRAY :
-            // TODO MULTIANEWARRAY
+            // TODO add support for MULTIANEWARRAY differentiation
             throw new RuntimeException("MULTIANEWARRAY not handled yet");
         default:
             throw new DifferentiationException("unable to handle instruction with opcode
{0}",

Modified: commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java
URL: http://svn.apache.org/viewvc/commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java?rev=652594&r1=652593&r2=652594&view=diff
==============================================================================
--- commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java
(original)
+++ commons/sandbox/nabla/trunk/src/main/java/org/apache/commons/nabla/store/FetchDifferentiator.java
Thu May  1 10:52:45 2008
@@ -31,8 +31,9 @@
     public UnivariateDerivative differentiate(final UnivariateDifferentiable d)
         throws DifferentiationException {
 
-        // TODO Auto-generated method stub
+        // TODO implement differentiation by fetching an already derived class
         return null;
+
     }
 
 }



Mime
View raw message