Commit Graph

25 Commits

Author SHA1 Message Date
Vítor Santos Costa 6d2e2597b1 C++ incompatibilities. 2014-03-14 23:03:22 +00:00
Tiago Gomes bc04d28092 Use a static method to create a FactorGraph 2013-03-14 16:57:34 +00:00
Tiago Gomes 8c2468c28b Improve encapsulation in HorusYap and perform other small refactorings 2013-02-20 11:52:42 +00:00
Tiago Gomes 74a9eda09d HorusCli: put internal functions in an anonymous namespace 2013-02-20 00:05:45 +00:00
Tiago Gomes ef4ebb4d7f Use camel case for constants and enumerators.
All capitals case should be reserved for macros and besides there is no big need to emphasize constness in general.
2013-02-13 18:54:15 +00:00
Tiago Gomes e178c1af04 Change namespace name to be in Pascal case 2013-02-08 21:12:46 +00:00
Tiago Gomes 6a1a209ee3 Revert "Improve namespace names"
This reverts commit 973df43fe0.

On a second thought, namespaces are close to classes in the sense that both encapsulate data, so they should both use Pascal case notation.
2013-02-08 21:01:53 +00:00
Tiago Gomes 973df43fe0 Improve namespace names 2013-02-08 00:15:41 +00:00
Tiago Gomes 6f83ceb6f5 Put the code inside a horus namespace 2013-02-07 23:53:13 +00:00
Tiago Gomes 5c84a2f532 Improve includes 2013-02-07 20:09:10 +00:00
Tiago Gomes bb7a530da3 Avoid importing the std namespace 2013-02-07 13:37:15 +00:00
Tiago Gomes f3bd8ad414 Use the word option instead of key. Key reminds me of hashes 2013-01-10 22:59:12 +00:00
Tiago Gomes d3e2abd677 Don't use the name horus in documentation.
It is just an internal code name.
2013-01-10 22:39:46 +00:00
Tiago Gomes ea054468bc Improve hcli usage string 2013-01-08 21:17:56 +00:00
Tiago Gomes da0514a779 Add support for more infernce keys.
Add support for export_libdai, export_uai, export_gv and print_fg.
Document these keys.
2013-01-08 17:01:03 +00:00
Tiago Gomes 182429252e Update the usage string for hcli 2013-01-08 14:47:21 +00:00
Tiago Gomes 01d8f8e178 More whitespace cleanups 2012-12-20 23:19:10 +00:00
Tiago Gomes b44ed7db39 Improve the error messages 2012-12-20 18:07:50 +00:00
Tiago Gomes 053fa31bb2 Exit is better than abort.
Also use a macro instead of integer to indicate failure.
2012-12-20 17:37:59 +00:00
Tiago Gomes 64a27847cc Introduce a lifted solver class 2012-11-14 21:55:51 +00:00
Tiago Gomes 89725dffbb rename some enums 2012-06-12 21:27:17 +01:00
Tiago Gomes d4f63b3942 drop Solver suffix and rename some files and classes 2012-06-12 16:29:57 +01:00
Tiago Gomes 8d14593c3e add an enum for lifted solvers and do some renamings 2012-05-30 17:17:39 +01:00
Tiago Gomes 004e6c0c5f minor improvements 2012-05-28 18:26:15 +01:00
Tiago Gomes 6c77afb3ae ok, second try 2012-05-23 14:56:01 +01:00