rcluster-analysispriority-queueoptics-algorithm

Priority Queue in R for OPTICS implementation


I need to construct a priority queue in R where i will put the ordered seed objects (or the index of the objects) for the OPTICS clustering algorithm.


Solution

  • R5 classes define mutable objects, and very similar to Java classes: they should allow you to avoid the copies when the object is modified.