Commit Graph

40 Commits

Author SHA1 Message Date
Bertrand Benjamin 1672530179 Refact: move random function away from core 2021-09-30 14:52:08 +02:00
Bertrand Benjamin f12ec38746 Feat: Polynomial are displayed in nicer order! 2019-10-30 21:12:58 +01:00
Bertrand Benjamin fbe72ae764 Feat: Expression can be generated randomly!!! 2019-05-16 17:21:34 +02:00
Bertrand Benjamin 09b04d2703 Style: apply black 2019-05-14 06:55:56 +02:00
Bertrand Benjamin 5df0b0c21e Fix: Rewrite lookfornumber to fix - parsing issue 2019-05-08 16:09:00 +02:00
Bertrand Benjamin f51ffbbe8b Fix(Core): refact MO, clean import and fix renders
Split MO in 2 categories Atoms and Molecules
2018-12-21 11:26:37 +01:00
Bertrand Benjamin 2551037b65 Fix(Core): Tree.from_str allow - in front of parenthesis 2018-12-17 14:54:48 +01:00
Bertrand Benjamin 5d2611260a Fix(Core): bug with nested tree and parsing parenthesis 2018-11-27 17:11:06 +01:00
Bertrand Benjamin 19d936ee8e Doc(Core): Add doctest in organise_by 2018-11-23 10:06:07 +01:00
Bertrand Benjamin 8933359945 Refect(Core): Improve error catch in apply and apply_on_last_level 2018-11-21 15:54:07 +01:00
Bertrand Benjamin 505d2f1c09 Fix(Core): apply_on_last_level handle NotImplementedError 2018-11-21 09:37:17 +01:00
Bertrand Benjamin 4999e80ec3 Fix(Core): Change append_bot to respect natural computing order 2018-11-19 15:44:02 +01:00
Bertrand Benjamin e37a8a5a2e Fix(API): Rewrite tree apply_on_last_level and reorganise simplify 2018-11-19 12:23:37 +01:00
Bertrand Benjamin ecf7e7678f Refact(Tree): Rename type_function to fallback in apply_on_last_level 2018-11-14 16:06:37 +01:00
Bertrand Benjamin 5e254a26eb Feat(Tree): Add organise for AssocialTree 2018-10-05 16:21:14 +02:00
Bertrand Benjamin 9e0a703e98 Feat(Tree): Add exclude_nodes in balance to trees 2018-10-05 08:52:04 +02:00
Bertrand Benjamin 89d7baaed2 Doc(Tree): Add solution to doctest in balance 2018-10-04 08:13:20 +02:00
Bertrand Benjamin 42dbfe9c86 Feat(Tree): Write balance Tree method 2018-10-04 08:11:08 +02:00
Bertrand Benjamin 4d75361c9d Feat(Tree): Deep and short branch property for trees 2018-10-01 17:36:12 +02:00
Bertrand Benjamin a557fa3981 Fix(steps): Typing steps are bypassed
Useless steps where complex objects were built are not shown. I create
a typing function which is called when compute raise
NotImplementedError.
2018-09-24 17:21:50 +02:00
Bertrand Benjamin e4efa1028e Some PEP8 rectifications 2018-03-13 14:43:48 +03:00
Bertrand Benjamin 832946ed49 Remove reference to compute in Tree 2018-03-12 20:01:52 +03:00
Bertrand Benjamin b10492533e Throw bases for computing (and start tiding exceptions) 2018-03-11 18:34:41 +03:00
Bertrand Benjamin a8a62864a6 Integrate MO inside str2 and in Tree (doctest are ok) 2018-03-09 19:31:46 +03:00
Bertrand Benjamin 313e3a4efc - is now a unary operator 2018-03-07 16:26:06 +03:00
Bertrand Benjamin 6aec4be490 spell and empty line 2018-02-02 18:37:24 +03:00
Bertrand Benjamin 5123dc0f8a add a doctest for Tree 2018-02-02 18:33:08 +03:00
Bertrand Benjamin a0fa09a381 Balancing a AssocialTree 2018-01-31 17:18:52 +03:00
Bertrand Benjamin 935a0d0d23 Create AssocialTree and method to init tree from a node and a list of
leafs
2018-01-30 05:34:18 +03:00
Bertrand Benjamin 8b201fa8d0 Throw basis of LeafTree 2018-01-29 07:51:54 +03:00
Bertrand Benjamin 72864f12cd Add depth for tree 2018-01-28 19:13:55 +03:00
Bertrand Benjamin 251ec6c83b Change from_str method name for muttable tree 2018-01-28 18:31:21 +03:00
Bertrand Benjamin 876a1fc63c get leafs or operator methodes for tree 2018-01-28 18:13:37 +03:00
Bertrand Benjamin 1176b6f608 Basic evaluation for trees 2018-01-21 18:16:08 +03:00
Bertrand Benjamin 7d00d3342a allowing empty left leaf for operator of 1 arity 2018-01-21 17:05:54 +03:00
Bertrand Benjamin 273675b243 Doc string and method name 2018-01-21 12:14:16 +03:00
Bertrand Benjamin 0f3e0870fe apply_on_last_branches is ok 2018-01-21 12:10:45 +03:00
Bertrand Benjamin e64613f5be map_leaf method for tree 2018-01-21 11:52:22 +03:00
Bertrand Benjamin 813c1f096e Remove old files and fix class name in doctest 2018-01-21 11:32:17 +03:00
Bertrand Benjamin a751e346d3 Import work from other repo 2018-01-21 11:26:34 +03:00