]> git.scottworley.com Git - planeteer/log
planeteer
12 years agoDescribePath()
Scott Worley [Wed, 2 Nov 2011 18:19:39 +0000 (11:19 -0700)]
DescribePath()

12 years agoFindBestState().
Scott Worley [Wed, 2 Nov 2011 17:41:05 +0000 (10:41 -0700)]
FindBestState().

This can now emit an answer.  It is a factor 80x off in a simple
test.  :)

12 years agoMore haphazard development of untried code.
Scott Worley [Tue, 1 Nov 2011 22:55:27 +0000 (15:55 -0700)]
More haphazard development of untried code.

12 years agoMore haphazard development
Scott Worley [Thu, 27 Oct 2011 05:37:32 +0000 (22:37 -0700)]
More haphazard development

Fix StateTableSize().

Fix visits and flight_plan to be [] instead of [""] when not specified.

Add some sanity checking in EncodeIndex().

Move table allocation out of FillStateTable1() so that it can be run
through FillStateTable1() multiple times for verification.

More documentation/thoughts on state table size.

Add an empty InitializeStateTable() to remind me to do that.

Start poking at FillStateTableCell().  This approach won't work.
FillStateTable2() cannot just process one cell completely and then move
onto the next.  Some types of processing (eg: arriving, selling) have to
be performed to all the cells before the next round of actions (buying).

12 years agoNotes on FillStateTableCell()
Scott Worley [Wed, 26 Oct 2011 06:31:07 +0000 (23:31 -0700)]
Notes on FillStateTableCell()

12 years agogofmt
Scott Worley [Wed, 26 Oct 2011 05:46:37 +0000 (22:46 -0700)]
gofmt

12 years agoFillStateTable()
Scott Worley [Wed, 26 Oct 2011 05:45:45 +0000 (22:45 -0700)]
FillStateTable()

12 years agoSome safety against future modifications in DimensionSizes().
Scott Worley [Wed, 26 Oct 2011 04:12:26 +0000 (21:12 -0700)]
Some safety against future modifications in DimensionSizes().

12 years agoMake DimensionSizes() more resilient against dimension reordering.
Scott Worley [Wed, 26 Oct 2011 02:21:16 +0000 (19:21 -0700)]
Make DimensionSizes() more resilient against dimension reordering.

12 years agoTweak flags
Scott Worley [Tue, 25 Oct 2011 07:36:12 +0000 (00:36 -0700)]
Tweak flags

12 years agogofmt
Scott Worley [Tue, 25 Oct 2011 07:27:28 +0000 (00:27 -0700)]
gofmt

12 years agoAdd a lot of code that isn't exercised yet.
Scott Worley [Tue, 25 Oct 2011 07:22:40 +0000 (00:22 -0700)]
Add a lot of code that isn't exercised yet.

12 years agoIndex commodities by their name.
Scott Worley [Mon, 24 Oct 2011 14:57:12 +0000 (07:57 -0700)]
Index commodities by their name.

Also, use initial_funds and max_quantity in TradeValue()

12 years agoUse pointers more and indexes less
Scott Worley [Mon, 24 Oct 2011 07:52:10 +0000 (00:52 -0700)]
Use pointers more and indexes less

12 years agoFindBestTrades()
Scott Worley [Mon, 24 Oct 2011 07:45:08 +0000 (00:45 -0700)]
FindBestTrades()

12 years agoConvert local prices to a flat map
Scott Worley [Mon, 24 Oct 2011 07:01:36 +0000 (00:01 -0700)]
Convert local prices to a flat map

12 years agoPlaneteer 2: Data and data loading.
Scott Worley [Mon, 24 Oct 2011 05:59:13 +0000 (22:59 -0700)]
Planeteer 2: Data and data loading.