abstract fun newInstance(): R
This is called when this instance is passed to Graph.evaluate to create a new instance.
If you want to memorize the value this is the place to do it.
Return The new instance of type R.
R