phrase nets
Public Member Functions | Protected Member Functions
pn::parse::ParseResult::Link Class Reference

List of all members.

Public Member Functions

 Link (String from)
Link copy ()
String getFrom ()
Map< String, MutableIntegergetTo ()
void add (String to, String linkWord)
String toString ()

Protected Member Functions

Object clone () throws CloneNotSupportedException

Detailed Description

A link.

Example: A x B x B x C y D

getFrom() -> A getLinkWordMatchCount() -> (x,3),(y,1) getTo() -> (B,2),(C,1),(D,1)

Author:
christopher

Constructor & Destructor Documentation

pn::parse::ParseResult::Link::Link ( String  from) [inline]

Ctor.

Parameters:
fromA (see description of this class). Must not be null

Member Function Documentation

void pn::parse::ParseResult::Link::add ( String  to,
String  linkWord 
) [inline]

Adds a link (x B in (A x B)).

Parameters:
toB. Must not be null
linkWordx. Must not be null
Link pn::parse::ParseResult::Link::copy ( ) [inline]
Returns:
A deep copy of this link
String pn::parse::ParseResult::Link::getFrom ( ) [inline]
Returns:
A (see description of this class)
Map<String, MutableInteger> pn::parse::ParseResult::Link::getTo ( ) [inline]
Returns:
B,C,D (see description of this class)

The documentation for this class was generated from the following file:
 All Classes Functions Variables