query_internal: Operations on steps.

Description Usage Arguments Value

Description

reduce_steps reduces the graph of steps according to conditions specified in dots.

remove_step removes a single step from graph of steps s and updates links accordingly.

verify_step checks whether step meets the condition defined in dots. It evaluates dots in an environment that has parent_env as its parent. Object tags are read from store.

Usage

1
2
3
4
5
reduce_steps(s, dots, store)

remove_step(s, id)

verify_step(step, dots, parent_env, store)

Arguments

s

Graph of steps, see experiment::graph_to_steps.

dots

Keep nodes that meet these conditions, see lazyeval::lazy_dots.

store

Object store to read tags from storage::os_read_tags.

id

Identifier of object to be removed.

step

Step to be verified.

parent_env

Evaluate dots in environment descending from this one.

Value

reduce_steps returns a reduced steps graph derived from s.

remove_step returns a reduced steps graph derived from s.

verify_step returns TRUE if step meets the criteria and FALSE otherwise.


lbartnik/experiment documentation built on May 20, 2019, 8:27 p.m.