Sha256: f36a92ad29d1c0c493af235ae74b0fe3734d338c0d039315217a023a77ab1dfe

Contents?: true

Size: 160 Bytes

Versions: 6

Compression:

Stored size: 160 Bytes

Contents

class TestModel
  def initialize(vector = [rand(0..100), rand(0..100), rand(0..100)])
    @vector = vector
  end

  def clustering_vector
    @vector
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
db_clustering-0.1.6 spec/support/test_model.rb
db_clustering-0.1.5 spec/support/test_model.rb
db_clustering-0.1.4 spec/support/test_model.rb
db_clustering-0.1.3 spec/support/test_model.rb
db_clustering-0.1.2 spec/support/test_model.rb
db_clustering-0.1.1 spec/support/test_model.rb