Class: Biopsy::ObjectiveFunction

Inherits:
Object
  • Object
show all
Defined in:
lib/biopsy/objective_function.rb

Direct Known Subclasses

FastestOptimum

Instance Method Summary collapse

Instance Method Details

#essential_filesObject



32
33
34
# File 'lib/biopsy/objective_function.rb', line 32

def essential_files
  return []
end

#run(raw_output, output_files, threads) ⇒ Object

returning a real number value

Options

  • :assemblydata - Hash containing data about the assembly to analyse

Example

objective = ObjectiveFunction.new result = objective.run(‘example.fasta’)

Raises:

  • (NotImplementedError)


28
29
30
# File 'lib/biopsy/objective_function.rb', line 28

def run(raw_output, output_files, threads)
  raise NotImplementedError.new("You must implement a run method for each objective function")
end