Commit graph

66 commits

Author SHA1 Message Date
quemy
ca44e95add Fix critical memory issue. Sent messages are launched asynchronously and only -std::future- results are stocked. This enable to check if a thread has completed its task (update methods in Model and Island return always true in that purpose) unlike the std:🧵:joinable method. 2013-02-20 01:51:38 +01:00
quemy
f8bde01588 Bracket in ring topo... 2013-02-08 10:26:23 +01:00
quemy
b411e85607 The topology is reconstructed even if the number of nodes did not change in order to start the model more than once (Nils Mangelsen) 2013-02-07 23:24:15 +01:00
quemy
c9c982fb81 Avoid race condition by manualy setting the island statut on running (Nils Mangelsen) 2013-02-07 23:18:39 +01:00
quemy
d41cbbe781 Erase-remove idiom in Island and Bimap to avoid invalid iterators (Nils Mangelsen) 2013-02-07 22:48:41 +01:00
quemy
bbe3553f47 Clear the sentMessages container in Island and IslandModel in order to use the model more than once (Nils Mangelsen) 2013-02-07 22:04:14 +01:00
quemy
6517f3e953 Fix the main include file of smp (.cpp -> .h 2013-01-23 20:15:49 +01:00
quemy
953b4377e9 Merge branch 'islandmodel' 2013-01-21 10:31:40 +01:00
quemy
69dbed6518 Add lessons. 2013-01-19 20:52:28 +01:00
quemy
3345e4dc1d Fix doc 2013-01-19 19:45:10 +01:00
quemy
e8c188b688 Clean heterogeneous test 2013-01-19 01:09:24 +01:00
quemy
49190367af Fix warnings in debug 2013-01-19 00:46:08 +01:00
quemy
4266aaf5ee Fix authors 2013-01-18 23:15:54 +01:00
lasnier
ff5df75297 adding custom topologies, src and test 2013-01-11 00:20:09 +01:00
quemy
b30e0a9695 eoInvertedContinue + minor modifications 2013-01-05 15:35:12 +01:00
quemy
0f1add5c6a Forgot test. 2012-12-21 19:21:39 +01:00
quemy
fc2ea957a4 Add function to wrap model in order to create homogeneous model easily 2012-12-21 11:39:46 +01:00
Johann Dreo
291bb7ce14 manual merge in favor of the CMakeLists of the fusion branch 2012-12-18 11:39:06 +01:00
quemy
742b634beb Improve bimap 2012-12-09 22:21:57 +01:00
quemy
d72afd64fb Optimize communications with std::move to avoid data duplications 2012-12-09 22:21:17 +01:00
quemy
3fd610a08b Clean includes 2012-12-09 22:08:50 +01:00
quemy
c4e2fb4507 Update documentation 2012-12-09 21:42:47 +01:00
quemy
ea2b71e7de Prefix guards with SMP_ to avoid conflicts 2012-12-09 20:48:49 +01:00
quemy
6974bc7bbe Wrap model in order to create homogeneous model easily. 2012-12-09 19:33:48 +01:00
lasnier
f8d2d1cfa5 Merge 2012-12-05 17:05:00 +01:00
quemy
e1c3e55c6f Fix guard in bimap 2012-12-05 17:57:30 +01:00
quemy
aa9c01568b Fix a bug in conversion functions for heterogeneous model 2012-12-04 23:17:27 +01:00
quemy
3196ba2bcf Add notifier and delete Thread class 2012-12-04 23:09:08 +01:00
lasnier
d31a7904ed Adding Mesh Topology 2012-12-04 17:45:25 +01:00
lasnier
7b195096f3 Add the possibility of changing the center of Star Topology 2012-12-04 17:41:15 +01:00
lasnier
9b46377062 Minor modification for documentation and not changing topology if not necessary 2012-12-04 17:40:00 +01:00
lasnier
085530ab36 Add of getter for the builder in Topology 2012-12-04 17:36:31 +01:00
quemy
23a0b8f77b Clean test. 2012-12-04 17:05:05 +01:00
quemy
5a4596862b Perfect forwarding for identity conversion functions. Add heterogeneous test (to clean and improve) 2012-12-03 23:22:22 +01:00
quemy
f67ee442c7 Add notion of base EOT for heterogeneous model. Island can be templated on a EOT regardless the EOT of its model. Island must have a conversion function from and to base EOT. Base EOT is optionnal and would be considered as EOT. In that case, conversion functions would be identity function. 2012-12-02 15:36:30 +01:00
quemy
c90fdc579f Add homogeneous test. Pop is not created by the island anymore and has to me given to the island. 2012-11-29 22:21:29 +01:00
quemy
bae0e8da8b Allow to change topology during the algorithme 2012-11-29 22:00:44 +01:00
quemy
48695863b2 Include EO sources in CMakeLists.txt 2012-11-29 21:49:46 +01:00
lasnier
bc769718d6 Hypercubic 2012-11-27 17:31:05 +01:00
quemy
ae4699176f Clean src. Add setTopology to the island model 2012-11-24 16:38:08 +01:00
quemy
cf93d6aeb4 Mecanism to isolate stopped island in topology 2012-11-24 16:23:01 +01:00
quemy
56a72c2ff1 Merge topology conflicts 2012-11-24 15:28:28 +01:00
quemy
b3f83717d6 Add topology to IslandModel, sending messages mecanism, rewrite Bimap container 2012-11-24 15:26:11 +01:00
lasnier
44e25b1406 Add of isolateNode method 2012-11-23 21:27:39 +01:00
lasnier
6b2a695622 Consistency of names and guard in topology.h 2012-11-23 20:20:07 +01:00
lasnier
95b7b80f19 Clean commit after name changes 2012-11-21 18:48:46 +01:00
lasnier
1c79ce0948 Documentation, add the method construct in AbstractTopology 2012-11-21 17:51:34 +01:00
quemy
60a119e4c9 An evaluation is performed before the replacement by the island 2012-11-20 22:38:29 +01:00
quemy
3ae7dcc60c Merge conflicts 2012-11-20 22:16:37 +01:00
quemy
083d77ba08 Islands send pop to IslandModel. Add and clean documentation. 2012-11-20 22:10:31 +01:00