Commit Graph

3379 Commits

Author SHA1 Message Date
Davis King 1727efeaa5 updated docs 2012-11-04 20:47:18 -05:00
Davis King 655d3e1f74 updated example #include 2012-11-04 20:46:31 -05:00
Davis King f2371195fa Added newman_cluster(), chinese_whispers(), and modularity() routines. 2012-11-04 20:14:00 -05:00
Davis King d598fcf2f7 Added is_ordered_by_index(), find_neighbor_ranges(), and convert_unordered_to_ordered() 2012-11-04 17:09:49 -05:00
Davis King 43b5e2d4c5 Added unit tests for sparse_matrix_vector_multiply() 2012-11-04 16:28:39 -05:00
Davis King 4138b15a5e Added sparse_matrix_vector_multiply() 2012-11-04 16:23:10 -05:00
Davis King 7f5a22c424 Gave rand a constructor that takes a seed value. 2012-11-04 15:02:44 -05:00
Davis King 1b1cf7548c Added rand::get_random_64bit_number(). 2012-11-04 14:57:50 -05:00
Davis King 0f88b396d7 Added another constructor for sample pair objects. This one doesn't require
a distance argument.
2012-11-03 10:40:34 -04:00
Davis King febbe828ab Changed to avoid a compiler warning 2012-11-01 22:40:12 -04:00
Davis King f246936edf updated docs 2012-10-29 13:54:32 -04:00
Davis King 9e832ba34c - Added ordered_sample_pair
- Simplified some of the code a bit by making it use ordered_sample_pair
- Broke backwards compatibility, the syntax for passing order_by_distance
  and order_by_index to std::sort() is now slightly different since these
  functions are now templates.  This allows them to work on any kind of
  sample_pair or ordered_sample_pair object.
2012-10-29 13:46:46 -04:00
Davis King 0d26fec1a1 updated docs 2012-10-29 11:38:20 -04:00
Davis King 562daa016a Added remove_duplicate_edges(). 2012-10-29 11:34:25 -04:00
Davis King 542d992059 Switched the sample_pair object to use double to store its distance
value instead of float.
2012-10-29 11:11:55 -04:00
Davis King cfb0d477e5 spec cleanup 2012-10-29 00:30:31 -04:00
Davis King e1e0e0edb1 Added an overload of murmur_hash3_128bit() that takes 4 integers instead
of a block of memory.
2012-10-29 00:29:16 -04:00
Davis King 9aecb4c4d3 Added the ability to learn non-negative weight vectors to the structural_assignment_trainer
object.
2012-10-25 20:04:10 -04:00
Davis King ac4598aeaa Made example show how to use connect_to() 2012-10-24 23:05:33 -04:00
Davis King 0a0925b1a7 updated docs 2012-10-24 23:02:27 -04:00
Davis King 51ad8568b4 Added connect_to() 2012-10-24 22:58:28 -04:00
Davis King 6bf4a648b0 Minor cleanup 2012-10-22 21:25:07 -04:00
Davis King cbbd84479a Added more validation code to the BSP tools. Now they will do a little more
to detect invalid serialization.
2012-10-22 19:30:10 -04:00
Davis King 23d1c1fa01 Minor change to avoid a compiler warning. 2012-10-22 19:28:45 -04:00
Davis King 8319811880 Simplified example programs slightly 2012-10-21 22:08:48 -04:00
Davis King d00864cf54 updated spec 2012-10-21 20:23:17 -04:00
Davis King 116ee16e80 updated docs 2012-10-21 20:12:40 -04:00
Davis King 2f01edb960 updated docs 2012-10-21 19:56:23 -04:00
Davis King 12a393f3a8 code cleanup 2012-10-21 19:40:19 -04:00
Davis King 4cd1855e29 updated docs 2012-10-21 19:28:47 -04:00
Davis King 6a05573ec8 Added a BSP example. 2012-10-21 19:22:42 -04:00
Davis King 0b576acd8c Made the network_address constructor do a little more input validation. 2012-10-21 19:01:31 -04:00
Davis King 56c6d33c4a Fixed a bug in the BSP code and added more tests 2012-10-21 18:21:20 -04:00
Davis King 7619b5308a Improved an error message 2012-10-21 15:49:03 -04:00
Davis King 122e8fe178 updated tests 2012-10-21 15:34:47 -04:00
Davis King ccc6a8bbfc Added an implicit conversion from strings to network_address objects. 2012-10-21 15:34:35 -04:00
Davis King 81c484c831 Added another BSP test. 2012-10-21 14:38:32 -04:00
Davis King 2d925f1e03 Made BSP interfaces more explicit by using network_address rather
than std::pair to represent hostname/port combos.
2012-10-21 14:33:34 -04:00
Davis King 6eac0539aa updated docs 2012-10-21 14:21:09 -04:00
Davis King d955b4923e Added the network_address object. 2012-10-21 14:20:59 -04:00
Davis King 3ebaff2e73 Added try_receive() routines to the bsp_context object. 2012-10-21 12:33:27 -04:00
Davis King cbb319fecd clarified spec 2012-10-21 11:29:34 -04:00
Davis King b273b1bdb2 Fixed a typo 2012-10-20 15:43:40 -04:00
Davis King 77d3c9ec66 Disabled Nagle's algorithm to reduce latency for some BSP use cases. 2012-10-20 15:31:19 -04:00
Davis King 4ffd067ac0 Added connection::disable_nagle() 2012-10-20 15:30:37 -04:00
Davis King 90ae4d836d Made the tests use the bsp_listen_dynamic_port() as well as bsp_listen(). 2012-10-20 15:16:43 -04:00
Davis King d38723f4af Fixed a race condition in the BSP code and also simplified the
logic somewhat.
2012-10-20 14:45:50 -04:00
Davis King cf643ee99c Added another BSP test 2012-10-20 10:37:03 -04:00
Davis King f834231e92 merged 2012-10-19 22:00:31 -04:00
Davis King dcb1b4a2eb Fixed grammar 2012-10-19 21:59:46 -04:00