Ptr for graph state storage

I tried using ``OMPL_CLASS_FORWARD`` but I'm not sure why it didn't work, perhaps because its just a typedef. Is this method ok?