Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
This function is intended for use in Scala; see the other factoryFromAst
if calling from Java.
a parsed, interpreted PFA document, i.e. produced by jsonToAst
options that override those found in the PFA document as a Scala Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass None
to limit sharing to instances of a single PFA file
ClassLoader to link the new scoring engine's private ClassLoaders under; pass None
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a scala.Function0
with a 0-parameter apply
method that generates linked instances of scoring engines from the PFA document
Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
Create a factory (0-parameter function) to make instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
This is a Java convenience function, like the other factoryFromAst
but accepting Java collections and null
instead of None
for missing parameters.
a parsed, interpreted PFA document, i.e. produced by jsonToAst
options that override those found in the PFA document as a Java Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass null
to limit sharing to instances of a single PFA file
ClassLoader to link the new scoring engine's private ClassLoaders under; pass null
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a scala.Function0
with a 0-parameter apply
method that generates linked instances of scoring engines from the PFA document
Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.
Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.
This function is intended for use in Scala; see the other factoryFromJson
if calling from Java.
a PFA document in JSON-serialized form (String
, java.lang.File
, or java.lang.InputStream
)
options that override those found in the PFA document as a Scala Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass None
to limit sharing to instances of a single PFA file
ClassLoader to link the new scoring engine's private ClassLoaders under; pass None
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a scala.Function0
with a 0-parameter apply
method that generates linked instances of scoring engines from the PFA document
Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.
Create a factory (0-parameter function) to make instances of this scoring engine from a JSON-formatted PFA file.
This is a Java convenience function, like the other factoryFromJson
but accepting Java collections and null
instead of None
for missing parameters.
a PFA document in JSON-serialized form (String
, java.lang.File
, or java.lang.InputStream
)
options that override those found in the PFA document as a Java Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass null
to limit sharing to instances of a single PFA file
ClassLoader to link the new scoring engine's private ClassLoaders under; pass null
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a scala.Function0
with a 0-parameter apply
method that generates linked instances of scoring engines from the PFA document
Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.
Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.
This function is intended for use in Scala; see the other factoryFromYaml
if calling from Java.
a PFA document in YAML-serialized form
options that override those found in the PFA document as a Scala Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass None
to limit sharing to instances of a single PFA file
ClassLoader to link the new scoring engine's private ClassLoaders under; pass None
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a scala.Function0
with a 0-parameter apply
method that generates linked instances of scoring engines from the PFA document
Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.
Create a factory (0-parameter function) to make instances of this scoring engine from a YAML-formatted PFA file.
This is a Java convenience function, like the other factoryFromYaml
but accepting Java collections and null
instead of None
for missing parameters.
a PFA document in YAML-serialized form
options that override those found in the PFA document as a Java Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass null
to limit sharing to instances of a single PFA file
ClassLoader to link the new scoring engine's private ClassLoaders under; pass null
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a scala.Function0
with a 0-parameter apply
method that generates linked instances of scoring engines from the PFA document
Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
This function is intended for use in Scala; see the other fromAst
if calling from Java.
a parsed, interpreted PFA document, i.e. produced by jsonToAst
options that override those found in the PFA document as a Scala Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass None
to limit sharing to instances of a single PFA file
number of instances to return (default is 1; a single-item collection)
ClassLoader to link the new scoring engine's private ClassLoaders under; pass None
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a Scala Seq of scoring engine instances
Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
Create a collection of instances of this scoring engine from a PFA abstract syntax tree (EngineConfig).
This is a Java convenience function, like the other fromAst
but accepting Java collections and null
instead of None
for missing parameters.
a parsed, interpreted PFA document, i.e. produced by jsonToAst
options that override those found in the PFA document as a Java Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass null
to limit sharing to instances of a single PFA file
number of instances to return
ClassLoader to link the new scoring engine's private ClassLoaders under; pass null
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a Java List of scoring engine instances
Create a collection of instances of this scoring engine from a JSON-formatted PFA file.
Create a collection of instances of this scoring engine from a JSON-formatted PFA file.
This function is intended for use in Scala; see the other fromJson
if calling from Java.
a PFA document in JSON-serialized form (String
, java.lang.File
, or java.lang.InputStream
)
options that override those found in the PFA document as a Scala Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass None
to limit sharing to instances of a single PFA file
number of instances to return (default is 1; a single-item sequence)
ClassLoader to link the new scoring engine's private ClassLoaders under; pass None
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a Scala Seq of scoring engine instances
Create a collection of instances of this scoring engine from a JSON-formatted PFA file.
Create a collection of instances of this scoring engine from a JSON-formatted PFA file.
This is a Java convenience function, like the other fromAst
but accepting Java collections and null
instead of None
for missing parameters.
a PFA document in JSON-serialized form (String
, java.lang.File
, or java.lang.InputStream
)
options that override those found in the PFA document as a Java Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass null
to limit sharing to instances of a single PFA file
number of instances to return
ClassLoader to link the new scoring engine's private ClassLoaders under; pass null
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a Java List of scoring engine instances
Create a collection of instances of this scoring engine from a YAML-formatted PFA file.
Create a collection of instances of this scoring engine from a YAML-formatted PFA file.
This function is intended for use in Scala; see the other fromYaml
if calling from Java.
a PFA document in YAML-serialized form
options that override those found in the PFA document as a Scala Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass None
to limit sharing to instances of a single PFA file
number of instances to return (default is 1; a single-item collection)
ClassLoader to link the new scoring engine's private ClassLoaders under; pass None
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a Scala Seq of scoring engine instances
Create a collection of instances of this scoring engine from a YAML-formatted PFA file.
Create a collection of instances of this scoring engine from a YAML-formatted PFA file.
This is a Java convenience function, like the other fromYaml
but accepting Java collections and null
instead of None
for missing parameters.
a PFA document in YAML-serialized form
options that override those found in the PFA document as a Java Map of JsonNodes
PFA version number as a "major.minor.release" string
external state for shared cells and pools to initialize from and modify; pass null
to limit sharing to instances of a single PFA file
number of instances to return
ClassLoader to link the new scoring engine's private ClassLoaders under; pass null
for a reasonable default
if true
, print the Java code generated by this PFA document before byte-compiling
a Java List of scoring engine instances
Companion object for Hadrian scoring engines: defines "static" methods.