Preferred Scala collection for progressively removing random items? -
i have algoritm takes many iterations, each of scores items in collection , removes 1 highest score.
i populate vector initial population, continually replacing var, or choose mutable collection val. of mutable collections best fit bill?
you consider doublelinkedlist, has convenient remove() method remove current list cell.
Comments
Post a Comment