Sha256: 03e9f8f6d7c1ebf7cc40d7e070d9786b899cf49f8166f482f777a6d4f2dcca26

Contents?: true

Size: 654 Bytes

Versions: 3

Compression:

Stored size: 654 Bytes

Contents

# -*- mode: ruby -*-

title "example"
description "this is an example."
short_desc ""

def_parameters do
  constant :foo => 123
  variable :trial_no => [1,2,3]
end

def_prep do |plan|
end

# This is optional routine for presenting estimated execution time for users.
# Return estimated execution time in seconds.
exec_time_estimate do |plan|
  # 30 seconds for each trial
  30 * plan.vars[:trial_no].size
end

def_routine do |plan, params|
  # store various information with metastore
  # metastore data is saved in "metastore.msh" with Marshal.dump for each trial
  plan.metastore[:foo] = "bar"
end

def_cleanup do |plan|
end

def_analysis do |plan|
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jkr-0.2.2 etc/example.plan
jkr-0.2.1 etc/example.plan
jkr-0.1.0 etc/example.plan