Spads 公式解析系统

上传者: shanelooli | 上传时间: 2019-12-21 21:03:32 | 文件大小: 1.15MB | 文件类型: zip
此公式解析系统能够计算各种算术运算、逻辑运算和比较运算,可以连接本地函数,支持括号分级,允许逐级设置公式内临时变量,提供了分支运算符,并且支持 Json 数据格式的运算。系统编写中使用了很多设计方法,包括概念抽取、继承、多态、面向接口设计、枚举、递归、工厂等等。数据结构也使用了好用但少见的双端队列。很适合对应情况的实用以及学习 Java 的设计思路、编程方式。本程序由 Shane Loo LI 设计和编写,所有的细节都注重了运行效率,在很多细节上都制作了数倍优于爪哇(Java)系统类库的方法;由于只需要处理公式,所以语法树结构单一,也因此保证了比现有其它注入语言的代码解释器更高的执行速度。 详细使用方法参看: http://blog.csdn.net/shanelooli/article/details/8142726

文件下载

资源详情

[{"title":"( 83 个子文件 1.15MB ) Spads 公式解析系统","children":[{"title":"ExpressionProject","children":[{"title":"classes","children":null,"spread":false},{"title":".classpath <span style='color:#111;'> 241B </span>","children":null,"spread":false},{"title":"dist","children":[{"title":"src","children":[{"title":"java","children":[{"title":"cn","children":[{"title":"spads","children":[{"title":"wogs","children":[{"title":"lang","children":[{"title":"StringTool.java <span style='color:#111;'> 9.68KB </span>","children":null,"spread":false},{"title":"JsonBuilder.java <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"NumberTool.java <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"JsonParser.java <span style='color:#111;'> 5.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"sys","children":[{"title":"SimpleDataObject.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"DataObject.java <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"exp","children":[{"title":"Variable.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Expression.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Operator.java <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"ExpressionFactory.java <span style='color:#111;'> 16.30KB </span>","children":null,"spread":false},{"title":"MultiExp.java <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"ExpValue.java <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"VisibleItem.java <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"Evaluator.java <span style='color:#111;'> 9.65KB </span>","children":null,"spread":false},{"title":"EvaluatorFactory.java <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"Item.java <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"ExpException.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"func","children":[{"title":"Probability.java <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"Joint.java <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"Together.java <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"oper","children":[{"title":"Comparison.java <span style='color:#111;'> 7.29KB </span>","children":null,"spread":false},{"title":"Arithmetic.java <span style='color:#111;'> 7.43KB </span>","children":null,"spread":false},{"title":"ConditionBranch.java <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"LogicalOperation.java <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"OperatorFunction.java <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"Rotation.java <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"FunctionEnum.java <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Function.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Random.java <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":false},{"title":"Monomial.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"FunctionExp.java <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"test","children":[{"title":"TestExp.java <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"TestExpOperation.java <span style='color:#111;'> 37.75KB </span>","children":null,"spread":false},{"title":"AnalysisExprUtil.java <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"StartTest.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"JsonToolTest.java <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"compt","children":[{"title":"spads-exp.jar <span style='color:#111;'> 775B </span>","children":null,"spread":false},{"title":"log","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 393B </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"build","children":[{"title":"yuicompressor-2.4.7.jar <span style='color:#111;'> 870.26KB </span>","children":null,"spread":false},{"title":"YUIAnt-zh_CN.jar <span style='color:#111;'> 6.50KB </span>","children":null,"spread":false},{"title":"ant-contrib-1.0b3.jar <span style='color:#111;'> 219.02KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"conf","children":null,"spread":false},{"title":"ant","children":[{"title":"build.properties <span style='color:#111;'> 1014B </span>","children":null,"spread":false},{"title":"log","children":null,"spread":false},{"title":"build-all.bat <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"doc.xml <span style='color:#111;'> 21.89KB </span>","children":null,"spread":false},{"title":"build.xml <span style='color:#111;'> 27.09KB </span>","children":null,"spread":false},{"title":"pause <span style='color:#111;'> 231B </span>","children":null,"spread":false}],"spread":true},{"title":"src-main","children":[{"title":"cn","children":[{"title":"spads","children":[{"title":"wogs","children":[{"title":"lang","children":[{"title":"StringTool.java <span style='color:#111;'> 9.68KB </span>","children":null,"spread":false},{"title":"JsonBuilder.java <span style='color:#111;'> 7.92KB </span>","children":null,"spread":false},{"title":"NumberTool.java <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"JsonParser.java <span style='color:#111;'> 5.94KB </span>","children":null,"spread":false}],"spread":true},{"title":"data","children":[{"title":"sys","children":[{"title":"SimpleDataObject.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"DataObject.java <span style='color:#111;'> 4.22KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"exp","children":[{"title":"Variable.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Expression.java <span style='color:#111;'> 1.60KB </span>","children":null,"spread":false},{"title":"Operator.java <span style='color:#111;'> 3.58KB </span>","children":null,"spread":false},{"title":"ExpressionFactory.java <span style='color:#111;'> 16.30KB </span>","children":null,"spread":false},{"title":"MultiExp.java <span style='color:#111;'> 3.62KB </span>","children":null,"spread":false},{"title":"ExpValue.java <span style='color:#111;'> 3.63KB </span>","children":null,"spread":false},{"title":"VisibleItem.java <span style='color:#111;'> 2.00KB </span>","children":null,"spread":false},{"title":"Evaluator.java <span style='color:#111;'> 9.65KB </span>","children":null,"spread":false},{"title":"EvaluatorFactory.java <span style='color:#111;'> 3.44KB </span>","children":null,"spread":false},{"title":"Item.java <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false},{"title":"ExpException.java <span style='color:#111;'> 1.21KB </span>","children":null,"spread":false},{"title":"func","children":[{"title":"Probability.java <span style='color:#111;'> 2.64KB </span>","children":null,"spread":false},{"title":"Joint.java <span style='color:#111;'> 2.48KB </span>","children":null,"spread":false},{"title":"Together.java <span style='color:#111;'> 3.20KB </span>","children":null,"spread":false},{"title":"oper","children":[{"title":"Comparison.java <span style='color:#111;'> 7.29KB </span>","children":null,"spread":false},{"title":"Arithmetic.java <span style='color:#111;'> 7.43KB </span>","children":null,"spread":false},{"title":"ConditionBranch.java <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"LogicalOperation.java <span style='color:#111;'> 3.72KB </span>","children":null,"spread":false},{"title":"OperatorFunction.java <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false},{"title":"Rotation.java <span style='color:#111;'> 4.20KB </span>","children":null,"spread":false}],"spread":false},{"title":"FunctionEnum.java <span style='color:#111;'> 1.99KB </span>","children":null,"spread":false},{"title":"Function.java <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"Random.java <span style='color:#111;'> 1.89KB </span>","children":null,"spread":false}],"spread":false},{"title":"Monomial.java <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false},{"title":"FunctionExp.java <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"test","children":[{"title":"TestExp.java <span style='color:#111;'> 5.19KB </span>","children":null,"spread":false},{"title":"TestExpOperation.java <span style='color:#111;'> 37.75KB </span>","children":null,"spread":false},{"title":"AnalysisExprUtil.java <span style='color:#111;'> 5.95KB </span>","children":null,"spread":false},{"title":"StartTest.java <span style='color:#111;'> 1.27KB </span>","children":null,"spread":false},{"title":"JsonToolTest.java <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

  • 游走在边缘 :
    还行,能用吧
    2018-11-29
  • shmily柒 :
    还行,能用吧,现在换成aviator了
    2018-09-14
  • xiaogg3678 :
    文件资料参考价值不错,给赞,多谢多谢!!!
    2018-07-23
  • 心梦无痕 :
    如果不想引入第三方包,也可以使用这个
    2017-12-12
  • googshe :
    还行,能用吧,现在换成aviator了
    2017-11-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明