Package com.yahoo.tensor.evaluation
Class MapEvaluationContext<NAMETYPE extends Name>
java.lang.Object
com.yahoo.tensor.evaluation.MapEvaluationContext<NAMETYPE>
- All Implemented Interfaces:
EvaluationContext<NAMETYPE>
,TypeContext<NAMETYPE>
public class MapEvaluationContext<NAMETYPE extends Name>
extends Object
implements EvaluationContext<NAMETYPE>
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the tensor bound to this name, or null if noneReturns the type of the tensor with this name by converting from a string name.Returns the type of the tensor with this name.void
-
Constructor Details
-
MapEvaluationContext
public MapEvaluationContext()
-
-
Method Details
-
put
-
getType
Description copied from interface:TypeContext
Returns the type of the tensor with this name by converting from a string name.- Specified by:
getType
in interfaceTypeContext<NAMETYPE extends Name>
- Returns:
- returns the type of the tensor which will be returned by calling getTensor(name) or null if getTensor will return null.
-
getType
Description copied from interface:TypeContext
Returns the type of the tensor with this name.- Specified by:
getType
in interfaceTypeContext<NAMETYPE extends Name>
- Returns:
- returns the type of the tensor which will be returned by calling getTensor(name) or null if getTensor will return null.
-
getTensor
Description copied from interface:EvaluationContext
Returns the tensor bound to this name, or null if none- Specified by:
getTensor
in interfaceEvaluationContext<NAMETYPE extends Name>
-