improbable-research / keanu

A probabilistic approach from an Improbabilistic company
MIT License
149 stars 33 forks source link

copying/cloning vertices? #240

Open johannespetrat opened 6 years ago

johannespetrat commented 6 years ago

I have found myself wanting to create copies of a vertex e.g. if I want to use the same prior distribution for different vertices. Is there a simple way to do this in Java or would vertices have to implement their own .clone() or .copy() method to create a deep copy?

GeorgeNash commented 5 years ago

Have created a JIRA for this.

christophernorth commented 5 years ago

We've had another request for this (albeit for shallow copy in that case).