Run the CLARANS clustering algorithm on the frames in a trajectory
| Parameters: | metric : msmbuilder.metrics.AbstractDistanceMetric 
 trajectory : Trajectory or list of msmbuilder.Trajectory 
 k : int 
 num_local_minima : int 
 max_neighbors : int 
 local_swap : bool, optional 
 | 
|---|
See also
Methods
| __init__(metric[, trajectories, ...]) | Run the CLARANS clustering algorithm on the frames in a trajectory | 
| get_assignments | Assign the trajectories you passed into the constructor based on | 
| get_distances | Extract the distance from each frame to its assigned cluster kcenter | 
| get_generator_indices | Get the generator indices corresponding to frames in self.ptraj. | 
| get_generators_as_traj | Get a trajectory containing the generators |