add_score: Add a score function to a dsc.

Description Usage Arguments Value

Description

Adds a score to a dsc.

Usage

1
add_score(dsc, fn, name = "default_score", outputtype = "default_output")

Arguments

dsc

The dsc to add the score to.

fn

A score function

name

String giving a name by which the score function is to be known by.

outputtype

The type of output the score function takes, as generated by a outputParser.

Value

Nothing, but modifies the dsc environment.


stephens999/dscr documentation built on May 30, 2019, 3:20 p.m.