Method: Bio::Nexus::DistancesBlock#initialize

Defined in:
lib/bio/db/nexus.rb

#initialize(name) ⇒ DistancesBlock

Creates a new DistancesBlock object named ‘name’.


Arguments:

  • (required) name: String



1333
1334
1335
1336
1337
1338
1339
# File 'lib/bio/db/nexus.rb', line 1333

def initialize( name )
  super( name )        
  @number_of_taxa = 0
  @number_of_characters = 0
  @triangle = String.new
  @matrix = NexusMatrix.new
end