Skip to content

Commit 20d382a

Browse files
author
Jorge M.G
committed
New arora2013 solver
1 parent 4b21218 commit 20d382a

File tree

3 files changed

+636
-3
lines changed

3 files changed

+636
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ print([solver.__name__ for solver in ALL_SOLVERS])
3333
At this moment, the following algorithms are available:
3434

3535
```bash
36-
>>> ['gooding1990', 'izzo2015']
36+
>>> ['gooding1990', 'arora2015', 'izzo2015']
3737
```
3838

3939
## How can I use a solver?

src/lamberthub/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
""" A collection of Lambert's problem solvers """
22

3+
from lamberthub.universal_solvers.arora import arora2013
34
from lamberthub.universal_solvers.gooding import gooding1990
45
from lamberthub.universal_solvers.izzo import izzo2015
56

67
__version__ = "0.1.dev0"
78

8-
ALL_SOLVERS = [gooding1990, izzo2015]
9+
ALL_SOLVERS = [gooding1990, arora2013, izzo2015]
910
""" A list holding all lamberthub available solvers """
1011

11-
ZERO_REV_SOLVERS = [gooding1990, izzo2015]
12+
ZERO_REV_SOLVERS = [gooding1990, arora2013, izzo2015]
1213
""" A list holding all direct-revolution lamberthub solvers """
1314

1415
MULTI_REV_SOLVERS = [gooding1990, izzo2015]

0 commit comments

Comments
 (0)