Varun Agrawal
9c2ecc3c15
simplify multiplication
2025-01-07 14:55:30 -05:00
Varun Agrawal
9dfdf552e1
add hack to multiply DiscreteConditional with TableDistribution
2025-01-07 14:54:49 -05:00
Varun Agrawal
3629c33ecd
override sample in TableDistribution
2025-01-07 14:53:28 -05:00
Varun Agrawal
b81ab86b69
make ADT with nullptr in TableDistribution
2025-01-07 14:52:48 -05:00
Varun Agrawal
9228f0f771
fix headers
2025-01-07 11:19:21 -05:00
Varun Agrawal
3d2dd7c619
update scaledProduct docs
2025-01-07 10:52:05 -05:00
Gold856
bf4f6f5554
Remove /FORCE:MULTIPLE from CMAKE_STATIC_LINKER_FLAGS
...
It's not a valid flag for static linking
2025-01-07 08:54:41 -05:00
Gold856
1d5d8f89d8
Clean up the enabling of C++17
...
MSVC flag is not needed and the minimum CMake version is higher now
2025-01-07 08:48:21 -05:00
Gold856
7742f025fc
Clean up MSVC flags to allow use of MSVC variables instead
...
Generator expressions were used to prevent the addition of /MD and /Zi if the CMake version is new enough to have specific MSVC variables for controlling those flags
2025-01-07 08:45:47 -05:00
Gold856
0435efdebc
Remove PREFIX ""
2025-01-07 08:27:19 -05:00
Gold856
f638035e10
Remove redundant MSVC optimization flag in GKLib
2025-01-07 07:53:33 -05:00
Gold856
3d23152a75
Clean up version finding in HandleEigen
2025-01-07 07:53:33 -05:00
Gold856
885959a36b
Use new CMake policies up to 3.29
...
This silences most warnings about overriding /W3 with /w
2025-01-07 07:53:33 -05:00
Gold856
e08064d9e7
Use CMAKE_POSITION_INDEPENDENT_CODE instead of -fPIC
2025-01-07 07:53:33 -05:00
Gold856
6bb70df05b
Use newer binary output directory variables and don't specify output directory on each target
2025-01-07 07:53:33 -05:00
Varun Agrawal
3fb6f39b30
override operator/ in TableDistribution
2025-01-06 23:13:06 -05:00
Varun Agrawal
96a136b4e3
override sum and max in TableDistribution
2025-01-06 23:07:47 -05:00
Varun Agrawal
9960f2d8dc
kill TableProduct in favor of DiscreteFactorGraph::scaledProduct
2025-01-06 22:18:14 -05:00
Varun Agrawal
82dba6322f
new scaledProduct method instead of DiscreteProduct
2025-01-06 22:14:59 -05:00
Varun Agrawal
90825b96af
remove hybrid timing flag from DiscreteFactorGraph
2025-01-06 21:08:27 -05:00
Varun Agrawal
5913fd120d
updates to get things working
2025-01-06 21:06:22 -05:00
Varun Agrawal
8658f25edd
Merge branch 'hybrid-timing' into discrete-table-conditional
2025-01-06 20:38:38 -05:00
Varun Agrawal
edef8c8481
Merge branch 'develop' into hybrid-timing
2025-01-06 20:38:10 -05:00
Varun Agrawal
82d0ebc8fe
Merge pull request #1919 from borglab/discrete-elimination-refactor
2025-01-06 20:33:59 -05:00
Varun Agrawal
c754f9bfdc
add comments
2025-01-06 18:47:44 -05:00
Varun Agrawal
f8dedb5035
use DiscreteFactor for DiscreteConditional constructor
2025-01-06 18:37:40 -05:00
Varun Agrawal
f932945652
check pointer casts
2025-01-06 18:30:34 -05:00
Varun Agrawal
47074bd0c2
Merge pull request #1963 from borglab/discrete-multiply
...
DiscreteFactor multiply method
2025-01-06 15:21:52 -05:00
Varun Agrawal
f043ac43a7
address review comments
2025-01-06 14:08:08 -05:00
Varun Agrawal
ab90e0b0f3
move include to .cpp
2025-01-06 13:44:55 -05:00
Varun Agrawal
ff5371fd4a
move sum, max and nrValues to Constraint class as well
2025-01-06 13:38:45 -05:00
Varun Agrawal
7561da4df2
move operator/ to Constraint.h
2025-01-06 13:35:45 -05:00
Varun Agrawal
ab2fe3707c
Merge branch 'discrete-multiply' into discrete-elimination-refactor
2025-01-06 13:32:52 -05:00
Varun Agrawal
43f755d9d8
move multiply to Constraint.h
2025-01-06 11:17:03 -05:00
Varun Agrawal
ffd04fd454
Merge pull request #1962 from borglab/fix-dtf-division
...
Fix DecisionTreeFactor division
2025-01-06 10:26:20 -05:00
Varun Agrawal
2434e248e9
undo print change in DiscreteLookupTable
2025-01-05 20:54:56 -05:00
Varun Agrawal
2f8c8ddb75
update tests
2025-01-05 20:50:40 -05:00
Varun Agrawal
e9822a70d2
update DiscreteFactorGraph to use DiscreteFactor::shared_ptr for elimination
2025-01-05 20:50:24 -05:00
Varun Agrawal
fb1d52a18e
fix constructor
2025-01-05 20:49:24 -05:00
Varun Agrawal
4ebca71146
divide operator for DiscreteFactor::shared_ptr
2025-01-05 20:44:10 -05:00
Varun Agrawal
b5128b2c9f
use DecisionTreeFactor version of sum and max where not available
2025-01-05 19:40:37 -05:00
Varun Agrawal
5e9c1300db
Merge branch 'discrete-multiply' into discrete-elimination-refactor
2025-01-05 18:22:01 -05:00
Varun Agrawal
b83aadb204
remove accidental type change
2025-01-05 15:37:37 -05:00
Varun Agrawal
713c49c915
more robust product
2025-01-05 15:20:09 -05:00
Varun Agrawal
bc63cc8cb8
use double dispatch for else case
2025-01-05 15:19:57 -05:00
Varun Agrawal
8390ffa2cb
revert previous commit
2025-01-05 15:19:16 -05:00
Varun Agrawal
a7fc6e3763
convert everything to DecisionTreeFactor so we can use override operator* method
2025-01-05 15:08:58 -05:00
Varun Agrawal
13bafb0a48
Revert "simplify to remove DiscreteProduct static function"
...
This reverts commit 453059bd61
.
2025-01-05 14:28:57 -05:00
Varun Agrawal
a02baec011
naive implementation of multiply for unstable
2025-01-05 14:23:34 -05:00
Varun Agrawal
453059bd61
simplify to remove DiscreteProduct static function
2025-01-05 14:03:08 -05:00