RPI/Mathactivity/XML: Difference between revisions
< RPI | Mathactivity
Jump to navigation
Jump to search
No edit summary |
|||
Line 27: | Line 27: | ||
==Persistence of State Format== |
==Persistence of State Format== |
||
<state> |
|||
<players> |
|||
</players> |
|||
<goal> |
|||
<resource> |
|||
<required> |
|||
</required> |
|||
<obtained> |
|||
</obtained> |
|||
</resource> |
|||
<problems> |
|||
<used> |
|||
</used> |
|||
</problems> |
|||
</goal> |
|||
</state> |
|||
==Resource and Market Format== |
==Resource and Market Format== |
Revision as of 20:48, 1 April 2008
Math Format
- Relatively Extensible
- Prototype Parser and Math Engine in PHP
- Polynomials only at this time
- Math engine is not yet complete, will have to discuss some ideas in meeting Tuesday
- Ideas for storing expressions? i.e. log(x), (x^3), etc?
- Notes to self:
- Operations?
- Auto-generate constants?
- 'Barking up the wrong tree?' - MathML - http://www.w3.org/Math/
<math_problems> <problem> <lt sign="1">12</lt> <lt var="3">4</lt> </problem> <problem> <lt>1</lt> <lt>4</lt> </problem> </math_problems>
Goal Format
Persistence of State Format
<state> <players> </players> <goal> <resource> <required> </required> <obtained> </obtained> </resource> <problems> <used> </used> </problems> </goal> </state>