Commit Graph

  • a564e43dff Preparing for refactor Alexandre Linhares 2017-09-27 20:00:02 -03:00
  • 120aa3a293 Merge branch 'master' of https://github.com/Alex-Linhares/co.py.cat Alexandre Linhares 2017-09-27 16:02:39 -03:00
  • 51e4ba64e2 Created simple jupyter notebook Alexandre Linhares 2017-09-27 16:02:34 -03:00
  • ae24034288 WIP add gui elements LSaldyt 2017-09-27 12:30:42 -06:00
  • 9a2a30ea4c Adds very simple gui to copycat LSaldyt 2017-09-27 11:38:32 -06:00
  • 4348554fa7 Add simple matplotlib bar plots per run LSaldyt 2017-09-26 21:16:20 -06:00
  • 27bbc6118e Preparing for refactor... Alexandre Linhares 2017-09-26 22:47:09 -03:00
  • 7ff0488861 Merge branch 'master' of https://github.com/Alex-Linhares/co.py.cat Alexandre Linhares 2017-09-25 22:33:10 -03:00
  • 0905d35680 start work om distributed decision making Alexandre Linhares 2017-09-07 19:26:10 -03:00
  • 36a1a31fe2 Update README.md Alexandre Linhares 2017-09-07 19:26:10 -03:00
  • 0a54c0ee83 Update README.md Alexandre Linhares 2017-09-06 16:06:58 -03:00
  • 729f6ec30c Merge branch 'master' of https://github.com/Alex-Linhares/co.py.cat Alexandre Linhares 2017-08-28 00:02:46 -03:00
  • b5e35a35dd Found entry points for the research project Alexandre Linhares 2017-08-28 00:02:34 -03:00
  • 8611e415de Update README.md Alexandre Linhares 2017-08-27 23:33:52 -03:00
  • 67c87c7fde Update README.md Alexandre Linhares 2017-08-27 23:28:41 -03:00
  • cc58c8d50a Merge pull request #1 from LSaldyt/master Alexandre Linhares 2017-08-27 12:37:36 -03:00
  • 2cdb9bbb36 Update README.md Alexandre Linhares 2017-08-27 12:30:12 -03:00
  • 197bbd361e Update README.md Alexandre Linhares 2017-08-27 12:29:47 -03:00
  • bc848e8f2d Ports to Python3 LSaldyt 2017-07-31 17:08:26 -06:00
  • 318d0e2349 Fix a lot of crashes with empty or single-letter inputs. Arthur O'Dwyer 2017-05-03 02:01:57 -07:00
  • 2a48245c15 Add "frames per second" to the CursesReporter. Arthur O'Dwyer 2017-05-02 18:29:58 -07:00
  • 0eec6a5259 Massively improve CursesReporter. Arthur O'Dwyer 2017-05-02 17:56:14 -07:00
  • ef4a9c56c5 Try to fix up breakGroup. Arthur O'Dwyer 2017-05-02 13:00:51 -07:00
  • 730239f464 Rip out dead Bond.destinationIsOnRight and Bond.bidirectional. NFC. Arthur O'Dwyer 2017-05-02 12:37:15 -07:00
  • 5793fb887c Rip out dead method morePossibleDescriptions. NFC. Arthur O'Dwyer 2017-05-02 11:33:43 -07:00
  • 864c28609c Smartness update! A single letter is both "leftmost" and "rightmost". Arthur O'Dwyer 2017-05-02 11:14:32 -07:00
  • ecc2c2e407 Add report_workspace() to Reporter, and remove dead rules from the workspace. Arthur O'Dwyer 2017-05-01 15:28:38 -07:00
  • 25d73785de Further Pythonicity. NFC. Arthur O'Dwyer 2017-05-01 13:07:19 -07:00
  • ceaf640147 Remove some more logging cruft. NFC. Arthur O'Dwyer 2017-04-30 15:26:19 -07:00
  • c4e30f7399 Make possibleGroupBonds into a member function of Bond. NFC. Arthur O'Dwyer 2017-04-30 15:18:19 -07:00
  • 7947e955d7 More Pythonicisms. NFC. Arthur O'Dwyer 2017-04-30 14:45:20 -07:00
  • ddfb34973d Rip out unused coderack.postings and coderack.runCodelets. NFC. Arthur O'Dwyer 2017-04-30 10:38:42 -07:00
  • f9fc255151 Refactor coderack.probabilityOfPosting. NFC. Arthur O'Dwyer 2017-04-30 10:27:55 -07:00
  • 48c45e4b0a Fix more flake8 cruft; remove a bunch of logging. Arthur O'Dwyer 2017-04-29 15:36:27 -07:00
  • c9bc26e03d Minor Pythonicisms. NFC. Arthur O'Dwyer 2017-04-29 14:29:43 -07:00
  • 11e9571ee0 Oops, add Reporter to the list of exported names. Arthur O'Dwyer 2017-04-23 01:36:40 -07:00
  • 34157be1f9 Shorten the setup.py for the copycat module. NFC. Arthur O'Dwyer 2017-04-22 22:46:22 -07:00
  • 9a2a1d6010 Add the Slipnet to the curses reporter. Arthur O'Dwyer 2017-04-22 18:41:25 -07:00
  • 16aae98c59 Fix a bunch of flake8 spam. NFC. Arthur O'Dwyer 2017-04-22 18:33:50 -07:00
  • ec2c172ce0 Rip out some unused members of Slipnode. NFC. Arthur O'Dwyer 2017-04-22 18:01:30 -07:00
  • b5b04c77a1 Remove a redundant "opposite" link from the slipnet. Arthur O'Dwyer 2017-04-22 17:59:11 -07:00
  • e3e6b051d3 Whitespace. NFC. Arthur O'Dwyer 2017-04-22 17:56:46 -07:00
  • 3de933dbfa Redo all the argument parsing with argparse. Arthur O'Dwyer 2017-04-22 17:53:06 -07:00
  • 192ec2f106 Clean up some overly Java-ish base class stuff. NFC. Arthur O'Dwyer 2017-04-18 23:44:38 -07:00
  • f2ffac4e66 Add a curses front-end. This is looking good now! Arthur O'Dwyer 2017-04-18 20:57:24 -07:00
  • 9f8bc8e66e Remove all print statements from the Copycat library. Arthur O'Dwyer 2017-04-18 20:55:56 -07:00
  • 65124fa45d Add a "setup.py" for pip-installing from GitHub. Arthur O'Dwyer 2017-04-18 17:33:20 -07:00
  • a3b977846e git mv context.py -> copycat.py; and start work on a "reporter" API. Arthur O'Dwyer 2017-04-18 01:52:50 -07:00
  • 189bce2aa2 Remove one not-very-useful logging line. NFC. Arthur O'Dwyer 2017-04-18 01:31:39 -07:00
  • db7dc21f83 Fix a crash on main.py aa b zz. Arthur O'Dwyer 2017-04-18 00:51:06 -07:00
  • fd74290d39 Clean up the handling of codelet arguments. NFC. Arthur O'Dwyer 2017-04-18 00:36:16 -07:00
  • f08c57fac3 Fix some flake8 spam. NFC. Arthur O'Dwyer 2017-04-17 23:21:44 -07:00
  • 7388eaec54 Teach Context to be self-sufficient. NFC. Arthur O'Dwyer 2017-04-17 23:17:47 -07:00
  • 12283b0836 Move some harmless imports to file scope. NFC. Arthur O'Dwyer 2017-04-17 23:00:36 -07:00
  • 30f8c623e5 Demagic workspaceFormulas.py. NFC. Arthur O'Dwyer 2017-04-17 22:57:33 -07:00
  • 3732ae8475 Major overhaul of "randomness" throughout. Arthur O'Dwyer 2017-04-17 22:18:37 -07:00
  • 8fdb9d06e6 Demagic everything in formulas.py. NFC. Arthur O'Dwyer 2017-04-17 20:54:17 -07:00
  • 6165f77d3c Move a couple single-use helpers from formulas to codeletMethods. NFC. Arthur O'Dwyer 2017-04-17 20:46:26 -07:00
  • ff389bd653 Move temperatureAdjustedFoo into the Temperature class. NFC. Arthur O'Dwyer 2017-04-17 20:33:16 -07:00
  • 99dc05f829 Demagic everything except the formulas and workspaceFormulas. NFC. Arthur O'Dwyer 2017-04-17 20:24:30 -07:00
  • 7581a328f7 Give WorkspaceString a self.ctx. Demagic all WorkspaceObjects. NFC. Arthur O'Dwyer 2017-04-17 20:13:22 -07:00
  • bd4790a3f1 Kill all the globals (except context)! NFC. Arthur O'Dwyer 2017-04-17 20:12:06 -07:00
  • 22b15c3866 Demagic all the WorkspaceStructure children who aren't WorkspaceObjects. NFC. Arthur O'Dwyer 2017-04-17 20:03:48 -07:00
  • b16666e4d7 Demagic WorkspaceStructure. NFC. Arthur O'Dwyer 2017-04-17 19:38:46 -07:00
  • 482c374886 Give every WorkspaceStructure a self.ctx member variable. Arthur O'Dwyer 2017-04-17 19:29:04 -07:00
  • 25ba9bfe93 (Almost) contextualize all the things! NFC. Arthur O'Dwyer 2017-04-17 13:53:45 -07:00
  • 3096c49fb9 This is working! Arthur O'Dwyer 2017-04-17 10:57:32 -07:00
  • e6cbb347de testing Arthur O'Dwyer 2017-04-17 10:36:08 -07:00
  • 965bd13298 Disentangle another reference to slipnet. Arthur O'Dwyer 2017-04-17 11:34:20 -07:00
  • 6871d7a86c Disentangle one reference to slipnet. Arthur O'Dwyer 2017-04-17 11:21:03 -07:00
  • cc288161a4 Major overhaul of temperature logic. Behavioral change. Arthur O'Dwyer 2017-04-17 01:29:16 -07:00
  • 6a56fdd898 Bikeshed some time-related names. Arthur O'Dwyer 2017-04-17 00:45:53 -07:00
  • e5d44ae75c Bah! Remove CoderackPressures as it's not hooked up to anything. Arthur O'Dwyer 2017-04-17 00:29:56 -07:00
  • 44e5a8c59f Decouple Coderack from Slipnet. Arthur O'Dwyer 2017-04-17 00:17:28 -07:00
  • e17dc2aa45 Untangle some initialization code. Assert invariants. NFC. Arthur O'Dwyer 2017-04-17 00:08:54 -07:00
  • fa2142efaa Replace the coderack->workspaceFormulas coupling with coderack->workspace. Arthur O'Dwyer 2017-04-16 23:52:49 -07:00
  • 63b3fd4999 Decouple Slipnode from the global slipnet. Arthur O'Dwyer 2017-04-16 23:37:35 -07:00
  • 10f65fcf55 Inline the constant slipnet.timeStepLength. NFC. Arthur O'Dwyer 2017-04-16 23:25:33 -07:00
  • d2436601ba Decouple coderack: remove global variable coderack. Arthur O'Dwyer 2017-04-16 23:10:00 -07:00
  • f2e28c0e19 Clean some dead code in __calculateIntraStringHappiness. Arthur O'Dwyer 2017-04-16 23:00:50 -07:00
  • ae0434d910 codeletMethods.py: Replace some random.random()s with coinFlip(). Arthur O'Dwyer 2017-04-16 22:03:34 -07:00
  • a3b122b75c Massive overhaul of "codelet methods" and the coderack. Arthur O'Dwyer 2017-04-16 21:12:39 -07:00
  • f37b88d032 random.seed(42) for testing; TODO revert me Arthur O'Dwyer 2017-04-16 21:27:58 -07:00
  • 3d630ba389 Decouple temperature from coderack. Arthur O'Dwyer 2017-04-16 18:40:52 -07:00
  • 51178c049d Inline trivial function Bond.get_source(). NFC. Arthur O'Dwyer 2017-04-16 18:33:57 -07:00
  • a41b639487 Remove global variable coderackPressures (bugfix?) Arthur O'Dwyer 2017-04-16 18:05:50 -07:00
  • 5423d078e8 Move updateTemperature() from workspaceFormulas to workspace. Arthur O'Dwyer 2017-04-16 17:46:00 -07:00
  • 8171b68cbe Remove some unused global variables. NFC. Arthur O'Dwyer 2017-04-16 18:36:49 -07:00
  • 6fcf2f3350 git rm grouprun.py Arthur O'Dwyer 2017-04-16 17:38:32 -07:00
  • d60ba5277c Remove a crash-causing line in slipnet.py. Arthur O'Dwyer 2017-04-16 02:56:31 -07:00
  • 0ff9d49111 Further Pythonicity and flake8 cleanup. NFC. Arthur O'Dwyer 2017-04-16 02:40:55 -07:00
  • 31323cd2bc Add some end-to-end tests! Arthur O'Dwyer 2017-04-16 01:20:23 -07:00
  • 8e10814802 Further Pythonicity; and remove a bunch of logging from the inner loop. Arthur O'Dwyer 2017-04-16 01:19:36 -07:00
  • 77bfaaf5a7 Further refactor the main harness. Print average time for each solution. Arthur O'Dwyer 2017-04-16 00:55:18 -07:00
  • 3103f54ada Untie some loopy logic in addCodelet. (Functional change!) Arthur O'Dwyer 2017-04-15 23:08:12 -07:00
  • e094160dcd More Pythonic cleanups. NFC. Arthur O'Dwyer 2017-04-15 23:07:28 -07:00
  • a2260cdaf6 Run multiple iterations. Print final temperatures. Reduce stdout spew. Arthur O'Dwyer 2017-04-14 11:59:52 -07:00
  • ed1d95896e More Pythonic idioms in coderackPressure.py. Arthur O'Dwyer 2017-04-15 22:28:22 -07:00
  • 88ee2ddd8d Spelling: neighbour -> neighbor. Arthur O'Dwyer 2017-04-15 22:16:31 -07:00
  • 5735888d02 Minor Pythonicity cleanups. Arthur O'Dwyer 2017-04-14 11:37:43 -07:00