Class: Graph::Function::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/graph/function.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration



53
54
55
56
57
58
# File 'lib/graph/function.rb', line 53

def initialize
  @terminal = 'x11'
  @output = '.'
  @step = (0..10_000).step(1000).to_a
  @trials = 1
end

Instance Attribute Details

#outputObject

Returns the value of attribute output.



46
47
48
# File 'lib/graph/function.rb', line 46

def output
  @output
end

#stepObject

Returns the value of attribute step.



47
48
49
# File 'lib/graph/function.rb', line 47

def step
  @step
end

#terminalObject

Returns the value of attribute terminal.



46
47
48
# File 'lib/graph/function.rb', line 46

def terminal
  @terminal
end

#trialsObject

Returns the value of attribute trials.



48
49
50
# File 'lib/graph/function.rb', line 48

def trials
  @trials
end