Skip to content
Snippets Groups Projects
  1. May 16, 2014
  2. May 15, 2014
    • Thorsten Wißmann's avatar
      Beautify conversion cliques->coalitions · 202433a6
      Thorsten Wißmann authored
      The code converting maximal cliques to coalitions of CL is now much more
      readable.
      202433a6
    • Thorsten Wißmann's avatar
      Do not throw all CL coalitions in one bset · 6e618918
      Thorsten Wißmann authored
      As ocaml is not purely functional, the following code snippets have
      different semantics:
      
          List.map (List.fold_left tmpf (bsetMakeRealEmpty ()))
                   (List.map S.elements intlist)
      
      vs
      
          List.map (fun x -> List.fold_left tmpf (bsetMakeRealEmpty ()) x)
                   (List.map S.elements intlist)
      
      The former code calls bsetMakeRealEmpty only once, but the latter calls
      ot for each element of the list returned by the (map ... intlist).
      
      Because of this, all coalitions were merged into one big set, i.e.
      there always was only one coalition: the union of all maximal disjoint
      sets. This of course triggered bad behaviour, which is fixed now by this
      commit.
      
      The code is unreadable anyway and will be improved a lot by the
      following commit.
      
      This closes #13
      6e618918
    • Thorsten Wißmann's avatar
      Add some debug output (in comments) · 77a804ab
      Thorsten Wißmann authored
      77a804ab
    • Thorsten Wißmann's avatar
      Add coalition list printing · 26e21f07
      Thorsten Wißmann authored
      26e21f07
  3. May 06, 2014
  4. May 05, 2014
  5. May 04, 2014
  6. May 03, 2014
  7. May 01, 2014
  8. Apr 23, 2014
  9. Apr 22, 2014
Loading