This function is available in all versions.
getIdNumber() -
Method in class norsys.netica.NeticaError
Returns the ERROR_NUMBER identifying this error.
getInputIndex(String) -
Method in class norsys.netica.Node
Returns the link index number of the link whose name is linkName, or -1 if there isn't one with that name (case sensitive comparison).
getInputName(int) -
Method in class norsys.netica.Node
Gets the name of this node's input (i.e., link) identified by the given index.
getJointProbability(NodeList, int[]) -
Method in class norsys.netica.Net
Returns the joint probability that each node in nodeList is in the corresponding state of nodeStates, given the findings currently entered in the Bayes net.
getKind() -
Method in class norsys.netica.Node
Returns whether this node is a nature, decision, utility or constant node.
getLevels() -
Method in class norsys.netica.Node
Returns the list of numbers used to enable a continuous node to act discrete, or enables a discrete node to provide real-valued numbers.
getLikelihood() -
Method in class norsys.netica.Node
Returns the accumulated (likelihood and other) findings for this node as a likelihood vector.
getLogLoss(Node) -
Method in class norsys.netica.NetTester
New Netica functionality; for information contact info@norsys.com.
getMessage() -
Method in class norsys.netica.NeticaError
Given a report of an error, this returns a message explaining the error.
getMissingDataChar() -
Method in class norsys.netica.Environ
Gets the character used to indicate missing data when creating case files.
getMostProbableConfig(NodeList) -
Method in class norsys.netica.Net
Finds the most probable configuration, also known as the most probable explanation (MPE), for all the nodes in the net.
getMutualInfo(Node) -
Method in class norsys.netica.Sensitivity
Measures the mutual information between two nodes, which is how much a finding at one node (called the "findings node") is expected to alter the beliefs (measured as decrease in its entropy) at another node (called the "query node").
getName() -
Method in class norsys.netica.Doc
Returns the identifer name of the owner-object.
getNet() -
Method in class norsys.netica.Node
Returns the net that this node is part of.
getNet() -
Method in class norsys.netica.NodeList
Returns the Net that this NodeList's nodes come from.
getNeticaErrors() -
Method in class norsys.netica.NeticaException
Returns a Vector of the NeticaError
objects that are responsible for this exception.
getNode(int) -
Method in class norsys.netica.NodeList
A convenience version of java.util.Vector.get(int), that returns a Node, rather than an Object, to save you from having to do the cast yourself.
getNode(String) -
Method in class norsys.netica.Net
Returns the node of this net which has a name exactly matching name (case sensitive comparison).
getNodes() -
Method in class norsys.netica.Net
Returns a list of all the nodes in this net.
getNthUserField(int, String[], Object[]) -
Method in class norsys.netica.Doc
Reads the user-defined named field (i.e., attribute-value) data associated with the owner-object, by index rather than field name; used for iterating through the pairs.
getNumStates() -
Method in class norsys.netica.Node
Returns the number of states that this node can take on, or zero if this node is a continuous node that hasn't been discretized.
getObject() -
Method in class norsys.netica.NeticaEvent
Returns the object that is associated with this event.
getParents() -
Method in class norsys.netica.Node
Returns a list of the parents of this node.
getPosition() -
Method in class norsys.netica.NodeVisual
Retrieves as elements 0 and 1 respectively, the x,y coordinates of the center of this node, as it would appear in a visual display (e.g., in Netica Application).
getQuadraticLoss(Node) -
Method in class norsys.netica.NetTester
New Netica functionality; for information contact info@norsys.com.
getRealFuncTable(int[], double[]) -
Method in class norsys.netica.Node
Gets the real value of this node as a function of its parent nodes.
getSeverity() -
Method in class norsys.netica.NeticaError
Returns the ERROR_SEVERITY level of this error (one of NOTHING_ERR, REPORT_ERR, NOTICE_ERR, WARNING_ERR, ERROR_ERR, or XXX_ERR).
getStateFuncTable(int[], int[]) -
Method in class norsys.netica.Node
Gets the state value of this node as a function of its parent nodes.
getStateIndex(String) -
Method in class norsys.netica.Node
Returns the index number of the state whose name is name, or UNDEF_STATE if there isn't one (case sensitive comparison).
getTitle() -
Method in class norsys.netica.Doc
Gets the unrestricted label of an owner-object.
getType() -
Method in class norsys.netica.Node
Returns DISCRETE_TYPE if the variable corresponding to this node is discrete (digital), and CONTINUOUS_TYPE if it is continuous (analog).
getUserData() -
Method in class norsys.netica.Doc
Returns a reference to information previously attached to this owner-object using setUserData, or null if none has been attached.
getUserField(String) -
Method in class norsys.netica.Doc
Reads the user-defined data associated with the owner-object on a named-field basis (i.e., attribute-value).
getValueEntered() -
Method in class norsys.netica.Node
Returns the real-valued finding entered for this node, or UNDEF_DBL if none has been entered since the last retraction.
getVarianceOfReal(Node) -
Method in class norsys.netica.Sensitivity
Measures how much a finding at one node (called the "findings node") is expected to reduce the variance of another node (called the "query node").
getVersion() -
Method in class norsys.netica.Environ
Returns the version number of Netica, multiplied by 100.
getVersionString() -
Method in class norsys.netica.Environ
Returns a String consisting of the full version number, a space, a code for the type of machine or OS it is running on, a comma, the name of the program, and finally a code indicating some build information (in parentheses).
getVisual() -
Method in class norsys.netica.Node
Return the NodeVisual object which can be used to control the visual display of this node in Netica Application.
getWarnings(int) -
Static method in class norsys.netica.NeticaError
Retrieve and clear (remove) all messages from the current default Environment that are below the severity level for generating a NeticaException.
H
- hasTable(boolean[]) -
Method in class norsys.netica.Node
- Returns true if this node has a function table or a CPT table, otherwise false.
I
- IMPOSS_STATE -
Static variable in class norsys.netica.Node
- Indicates that the state value is irrelevant, because it is for a condition that will never occur.
- INCONS_FINDING_CND -
Static variable in class norsys.netica.NeticaError
- Inconsistent finding (only).
- INFINITY -
Static variable in class norsys.netica.Environ
- The number used to represent an infinite numeric value; the negative of this number represents negative infinity.
- isAscii(String) -
Static method in class norsys.netica.Util
- Returns true, iff, the given string contains only ascii characters, that is, characters in
the range 1..127, inclusive.
- isBeliefUpdated() -
Method in class norsys.netica.Node
- Whether the beliefs for this node have already been calculated (by belief propagation).
- isDeterministic() -
Method in class norsys.netica.Node
- Whether the value of this node, given its parents, is deterministic (versus probabilistic).
- isInCategory(int) -
Method in class norsys.netica.NeticaError
- Returns a boolean to indicate whether this error was caused by the condition errcnd.
L
- LIKELIHOOD_FINDING -
Static variable in class norsys.netica.Node
- The Node has one or more likelihood findings entered.
M
- mapStateList(int[], NodeList, NodeList) -
Static method in class norsys.netica.NodeList
- Returns an array of states, the same states that are in the srcStates array, except in a different order.
N
- NAME_MAX -
Static variable in class norsys.netica.Environ
- The maximum length of any name of a Netica item (Node, Net, state, ...).
- NATURE_NODE -
Static variable in class norsys.netica.Node
- The value of this node is determined by nature (also known as a "chance" or "deterministic" node).
- NEGATIVE_FINDING -
Static variable in class norsys.netica.Node
- The Node has one or more negative findings entered.
- Net - class norsys.netica.Net.
- A Bayesian belief network or decision network.
- Net() -
Constructor for class norsys.netica.Net
- Creates and returns a new net, initially having no nodes, and places it in the current default norsys.netica.Environ (see getDefaultEnviron).
- Net(Environ) -
Constructor for class norsys.netica.Net
- Creates and returns a new net, initially having no nodes.
- Net(Streamer) -
Constructor for class norsys.netica.Net
- Reads a net from inStream, and returns the new net read, or throws a Netica Exception, if reading was impossible.
- NeticaError - class norsys.netica.NeticaError.
- A java.lang.Error that holds extra information when Netica reports an error for some attempted operation.
- NeticaEvent - class norsys.netica.NeticaEvent.
- Information describing an event reported to a
NeticaListener
. - NeticaException - exception norsys.netica.NeticaException.
- A java.lang.Exception that holds extra information about one or more serious
Netica error conditions.
- NeticaException(int, String) -
Constructor for class norsys.netica.NeticaException
- Construct a numbered NeticaException.
- NeticaException(String) -
Constructor for class norsys.netica.NeticaException
- Construct a generic NeticaException.
- NeticaListener - interface norsys.netica.NeticaListener.
- An interface that all Classes interested in receiving NeticaEvents must implement.
- NetTester - class norsys.netica.NetTester.
- New Netica functionality; for information contact info@norsys.com.
- NetTester(NodeList, NodeList, int) -
Constructor for class norsys.netica.NetTester
- For configuration information contact info@norsys.com.
- NEXT_CASE -
Static variable in class norsys.netica.Net
- Pass this to read the case following the last case read.
- NO_CHECK -
Static variable in class norsys.netica.Environ
- Turns off all argument checking.
- NO_FINDING -
Static variable in class norsys.netica.Node
- The Node has no finding entered.
- NO_MORE_CASES -
Static variable in class norsys.netica.Net
- Returned by Netica when trying to read past the last case.
- Node - class norsys.netica.Node.
- A node (object which represents a variable) in a Net (Bayesian belief network or decision network).
- Node() -
Constructor for class norsys.netica.Node
- Default constructor - do not call this constructor directly.
- Node(String, int, Net) -
Constructor for class norsys.netica.Node
- Creates and returns a new node for net.
- Node(String, String, Net) -
Constructor for class norsys.netica.Node
- Construct a node with the given name and state names, for the given Net.
- NodeList - class norsys.netica.NodeList.
- A java.util.Vector that stores Nodes from a single Net only.
- NodeList(int, Net) -
Constructor for class norsys.netica.NodeList
- Copy constructs a new Nodelist from an existing Nodelist.
- NodeList(NodeList) -
Constructor for class norsys.netica.NodeList
- Construct a new (empty) list of nodes.
- NodeVisual - class norsys.netica.NodeVisual.
- An object representing the visual aspects of a Netica Object displayed in the Netica Application.
- norsys.netica - package norsys.netica
-
- NOTHING_ERR -
Static variable in class norsys.netica.NeticaError
- Not anything (false alarm or "this is a test").
- NOTICE_ERR -
Static variable in class norsys.netica.NeticaError
- Notice of something unusual.
O
- optimizeDecisions(NodeList) -
Method in class norsys.netica.Net
- Finds the optimal decision function for each decision node in nodeList, and attaches it to the node.
- OUT_OF_MEMORY_CND -
Static variable in class norsys.netica.NeticaError
- System did not have enough memory to complete operation.
P
- parentStatesToIndexes(String) -
Method in class norsys.netica.Node
- Utility to convert a comma and/or space delimited string of parent state names for this node to an array of state indexes.
Q
- QUICK_CHECK -
Static variable in class norsys.netica.Environ
- Only does argument checking that can be done very quickly.
R
- readCase(long[], Streamer, NodeList, long[], double[]) -
Method in class norsys.netica.Net
- Reads a set of findings (i.e., case) from a file containing one or more cases.
- REAL_SENSV -
Static variable in class norsys.netica.Sensitivity
- Measure the effect on the real numeric value (rather than just the state).
- REGULAR_CHECK -
Static variable in class norsys.netica.Environ
- Does argument checking suitable for software development, and final releases of your software where speed is not significant.
- REMOVE_EVENT -
Static variable in class norsys.netica.NeticaEvent
- Indicates an object was deleted.
- removeListener(NeticaListener) -
Method in class norsys.netica.Node
- Remove the given listener from our list of listeners.
- removeListener(NeticaListener) -
Method in class norsys.netica.Net
- Remove the given listener from our list of listeners.
- REPORT_ERR -
Static variable in class norsys.netica.NeticaError
- Not an error, but a report of success.
- reportJunctionTree() -
Method in class norsys.netica.Net
- Returns a string containing a report of the junction tree for this net, similar to that produced by the Netica Application operation "Report -> Junction Tree".
- retractFindings() -
Method in class norsys.netica.Node
- Retracts all findings from this node.
- retractFindings() -
Method in class norsys.netica.Net
- Retracts all findings (i.e., the current case) from all the nodes in this net, except "constant" nodes (use
Node.retractFindings
for that).
- reverseLink(Node) -
Method in class norsys.netica.Node
- Reverses the link from parentNode to this child node, so that instead it goes from this node to parentNode.
- reviseCPTsByCaseFile(Streamer, NodeList, double) -
Method in class norsys.netica.Net
- Revise the CPTs of these nodes, to account for the cases in the given file.
- reviseCPTsByFindings(NodeList, double) -
Method in class norsys.netica.Net
- Revise the CPTs of these nodes, to account for the currently entered case.
S
- Sensitivity - class norsys.netica.Sensitivity.
- A sensitivity measurer, which determines to what degree a new finding at one node can affect another node.
- Sensitivity(Node, NodeList, int) -
Constructor for class norsys.netica.Sensitivity
- Creates a sensitivity measuring object, which measures how much the beliefs at one node (called the "query node") will change if a finding is entered at another node (called the "findings node").
- setArgumentChecking(int) -
Method in class norsys.netica.Environ
- Set the level of argument checking (one of NO_CHECK, QUICK_CHECK, REGULAR_CHECK, COMPLETE_CHECK).
- setAutoUpdate(int) -
Method in class norsys.netica.Net
- Turns on/off auto updating.
- setCaseFileDelimChar(char) -
Method in class norsys.netica.Environ
- Sets the symbol used to separate data fields in a case file being created by Netica.
- setComment(String) -
Method in class norsys.netica.Doc
- Set documentation or a description of an owner-object.
- setConstructorClassName(String) -
Static method in class norsys.netica.Node
- Supply a classname that will be used by Netica-J when automatically constructing a Node.
- setConstructorClassName(String) -
Static method in class norsys.netica.Net
- Sets the classname that will be used by Netica-J when automatically constructing a Net.
- setCPTable(int[], float[]) -
Method in class norsys.netica.Node
- Sets the probabilities for each state of this node, conditioned on its parent nodes.
- setCPTable(String, float[]) -
Method in class norsys.netica.Node
- This does the same as setCPTable(int[], float[]) except that it takes the parent states as a string rather than as an integer array.
- setElimOrder(NodeList) -
Method in class norsys.netica.Net
- Set an "Elimination order" of all the nodes in this net, used to guide compiling to find an efficient junction tree.
- setEquation(String) -
Method in class norsys.netica.Node
- Sets the equation giving the probability of this node conditioned on its parent nodes, or the value of this node as a function of its parents.
- setExperTable(int[], double) -
Method in class norsys.netica.Node
- Sets the experience of this node as a function of its parent nodes.
- setInputName(int, String) -
Method in class norsys.netica.Node
- Sets the name of this node's input (i.e., link).
- setKind(int) -
Method in class norsys.netica.Node
- Sets whether this node is a nature, decision, utility or constant node.
- setLevels(double[]) -
Method in class norsys.netica.Node
- Sets the levels list of this node to levels.
- setMissingDataChar(char) -
Method in class norsys.netica.Environ
- Sets the symbol to be used for indicating missing data fields in a case file created by Netica (i.e.
- setName(String) -
Method in class norsys.netica.Doc
- Changes the name of the owner-object to be name.
- setPosition(double, double) -
Method in class norsys.netica.NodeVisual
- Moves this node so that its center is at coordinates (x, y), for any visual display (e.g., in Netica Application).
- setRealFuncTable(int[], double) -
Method in class norsys.netica.Node
- Sets the real value of this (continuous) deterministic node as a function of its parent nodes.
- setStateFuncTable(int[], int) -
Method in class norsys.netica.Node
- Sets the state value of this (discrete or discretized) deterministic node as a function of its parent nodes.
- setStateNames(String) -
Method in class norsys.netica.Node
- Names the states of this node using the list of names names.
- setTitle(String) -
Method in class norsys.netica.Doc
- Sets the title of the owner-object to the unrestricted string title.
- setUserData(Object) -
Method in class norsys.netica.Doc
- Attaches an arbitrary data object to an owner-object.
- setUserField(String, Serializable) -
Method in class norsys.netica.Doc
- Attaches user defined data to this owner-object under category 'fieldName'.
- sizeCompiled() -
Method in class norsys.netica.Net
- Returns the total size of the internal structure created by compiling a net (i.e., the junction tree, including sepsets), considering the findings currently entered.
- Streamer - class norsys.netica.Streamer.
- An I/O handle to a file (for reading, writing, etc).
- Streamer(InputStream, Environ) -
Constructor for class norsys.netica.Streamer
- Constructs a Norsys stream from a java.io.InputStream.
- Streamer(OutputStream, Environ) -
Constructor for class norsys.netica.Streamer
- Constructs a Norsys stream from a java.io.OutputStream.
- Streamer(String) -
Constructor for class norsys.netica.Streamer
- Returns a Norsys stream for the file with name filename, for the current default Environ (see getDefaultEnviron).
- Streamer(String, Environ) -
Constructor for class norsys.netica.Streamer
- Returns a Norsys stream for the file with name filename.
- switchParent(int, Node) -
Method in class norsys.netica.Node
- Switches the parent of the identified link with newParent.
T
- testWithFile(Streamer) -
Method in class norsys.netica.NetTester
- New Netica functionality; for information contact info@norsys.com.
- TEXT_TYPE -
Static variable in class norsys.netica.Node
- A future type of Node, one used for holding or rendering text.
- toDoubles(float[]) -
Static method in class norsys.netica.Util
- Converts a float array to a double array.
- toFloats(double[]) -
Static method in class norsys.netica.Util
- Converts a double array to a float array.
- toString() -
Method in class norsys.netica.NeticaException
- Returns a formatted String detailing the nature of this exception and a list of NeticaErrors which are responsible for this exception.
- toString() -
Method in class norsys.netica.NeticaError
- Returns a readable string representation of this error.
- toString() -
Method in class norsys.netica.Node
- Returns the value of
doc().getName()
.
- toString() -
Method in class norsys.netica.Net
- Returns the value of
doc().getName()
.
U
- uncompile() -
Method in class norsys.netica.Net
- Frees the resources (e.g., memory) used by a compiled net.
- UNDEF_DBL -
Static variable in class norsys.netica.Environ
- The number used to represent unknown or nonexistent numeric values.
- UNDEF_STATE -
Static variable in class norsys.netica.Node
- Indicates that the state value is unknown or nonexistent.
- USER_ABORTED_CND -
Static variable in class norsys.netica.NeticaError
- User halted the function before it completed (not possible when using a Netica API version without the user interface)
- Util - class norsys.netica.Util.
- A collection of static methods of general use to Java developers.
- Util() -
Constructor for class norsys.netica.Util
-
- UTILITY_NODE -
Static variable in class norsys.netica.Node
- This node specifies the agent's desires; its expected value will be maximized.
V
- VARIANCE_SENSV -
Static variable in class norsys.netica.Sensitivity
- Measure variance or mean squared change.
W
- WARNING_ERR -
Static variable in class norsys.netica.NeticaError
- Event occurred at "warning" level - safe to proceed (e.g., user error, recovered okay).
- write(Streamer) -
Method in class norsys.netica.Net
- Writes this net to a stream specified by outStream.
- writeCase(NodeList, Streamer, long, double) -
Method in class norsys.netica.Net
- Saves in file the set of findings currently entered in nodeList, so that later they can be read back with readCase.
X
- XXX_ERR -
Static variable in class norsys.netica.NeticaError
- Internal error, things left inconsistent - continuing could crash system.
A B C D E F G H I L M N O P Q R S T U V W X