psycharo-zz / factor-graph

matlab/c++ factor graph framework
32 stars 8 forks source link

Is the TemporalEdge needed? #47

Closed ghost closed 11 years ago

ghost commented 11 years ago

You have a 'Temporal Edge' between xout[n-1] and xin[n] to connect network slices.

Cant we make this work instead by inserting an equalityNode in between xout[n-1] and xin[n]?

eg

xin = ffg.evidenceNode();
xout = ffg.evidenceNode();
equ = ffg.equalityNode();
addEdge(xin,equ);
addEdge(equ,xout);
ghost commented 11 years ago

No, that probably wont work. Anyway, this is just an unfinished thought ...

psycharo-zz commented 11 years ago

Should we still have this issue opened? I just believe that in this case having two functions for somewhat similar tasks is required, since the connection between timeslices has a rather different semantics with the inter-slice connection.

ghost commented 11 years ago

ok