ソースを参照

Added validation idea to TODO list.

Taddeus Kroes 13 年 前
コミット
a6fee721ce
1 ファイル変更9 行追加1 行削除
  1. 9 1
      TODO

+ 9 - 1
TODO

@@ -104,4 +104,12 @@ Division of 0 by 1 reduces to 0.
  - Optimization: put possibility tree in hashmap: {'expression': [(handler, args, 'applied_expression')], ...}
    This hashmap can be used to speedup the calculation of possbility trees.
 
-Fix: int -cf(x) dx (caused infinite loop)
+- Fix: int -cf(x) dx (caused infinite loop)
+
+- Idea for validation that is not really working ATM:
+  When validation that a => b:
+  Apply reductions to a to obtain A, this costs N steps.
+  Apply reductions to b to obtain B, this costs M steps.
+  if A != B, validation fails (return status 0)
+  else if M >= N, the uses has done a useless or bad step (return status 1)
+  otherwise (if M < N), the user has reduced the expression correctly (return status 0)