List of all members.
Detailed Description
A Trans is a 4-tuple of from state, stack, to state, and Weight. It represents a transition in the WFA.
Markable is to make a Trans able to be placed in a Worklist. Countable is for reference counting.
- See also:
- Printable
-
Countable
-
Markable
-
Worklist
-
WFA
-
sem_elem_t
-
ref_ptr
Constructor & Destructor Documentation
wali::wfa::Trans::Trans |
( |
|
) |
|
constructor
This is used by WFA when addTrans is called.
References numTrans.
wali::wfa::Trans::Trans |
( |
const Trans & |
t |
) |
|
wali::wfa::Trans::Trans |
( |
const ITrans & |
t |
) |
|
wali::wfa::Trans::~Trans |
( |
|
) |
[virtual] |
Member Function Documentation
Trans & wali::wfa::Trans::operator= |
( |
const Trans & |
t |
) |
|
Trans & wali::wfa::Trans::operator= |
( |
const ITrans & |
t |
) |
|
References config, delta, wali::wfa::ITrans::getConfig(), wali::wfa::ITrans::keypair(), kp, wali::wfa::ITrans::MODIFIED, wali::wfa::ITrans::modified(), wali::wfa::ITrans::SAME, se, status, wali::wfa::ITrans::to(), toStateKey, and wali::wfa::ITrans::weight().
Trans * wali::wfa::Trans::copy |
( |
|
) |
const [virtual] |
Trans * wali::wfa::Trans::copy |
( |
Key |
f, |
|
|
Key |
s, |
|
|
Key |
t | |
|
) |
| | const [virtual] |
Key wali::wfa::Trans::from |
( |
|
) |
const throw () |
- Returns:
- const Key of from state
References kp.
Referenced by copy().
Key wali::wfa::Trans::from_state |
( |
|
) |
const throw () |
- Returns:
- const Key of from state
References kp.
Key wali::wfa::Trans::stack |
( |
|
) |
const throw () |
- Returns:
- const Key of stack symbol
References kp.
Referenced by copy().
Key wali::wfa::Trans::to |
( |
|
) |
const throw () |
Key wali::wfa::Trans::to_state |
( |
|
) |
const throw () |
- Returns:
- const Key of to state
References toStateKey.
virtual const sem_elem_t wali::wfa::Trans::weight |
( |
|
) |
const throw () [virtual] |
const sem_elem_t wali::wfa::Trans::getDelta |
( |
|
) |
const throw () |
- Returns:
- const sem_elem_t delta of Trans
delta is used in computing fixpoints
References delta.
Key wali::wfa::Trans::from |
( |
|
) |
throw () |
- Returns:
- Key of from state
References kp.
Key wali::wfa::Trans::from_state |
( |
|
) |
throw () |
- Returns:
- Key of from state
References kp.
Key wali::wfa::Trans::stack |
( |
|
) |
throw () |
- Returns:
- Key of stack symbol
References kp.
Key wali::wfa::Trans::to |
( |
|
) |
throw () |
Key wali::wfa::Trans::to_state |
( |
|
) |
throw () |
virtual sem_elem_t wali::wfa::Trans::weight |
( |
|
) |
throw () [virtual] |
- Returns:
- sem_elem_t of Trans
References se.
sem_elem_t wali::wfa::Trans::getDelta |
( |
|
) |
throw () |
- Returns:
- sem_elem_t delta of Trans
delta is used in computing fixpoints
References delta.
virtual void wali::wfa::Trans::setWeight |
( |
sem_elem_t |
w |
) |
[virtual] |
Set weight and delta of this Trans to be param [w].
- Parameters:
-
| sem_elem_t | for new weight and delta |
- Returns:
- void
References delta, and se.
Referenced by applyWeightChanger().
void wali::wfa::Trans::setDelta |
( |
const sem_elem_t |
w |
) |
|
Set the delta value for the Trans.
References delta.
void wali::wfa::Trans::combineTrans |
( |
ITrans * |
tp |
) |
[virtual] |
const KeyPair& wali::wfa::Trans::keypair |
( |
|
) |
const throw () |
Return const referenct to this transitions KeyPair
The KeyPair holds the from state and stack symbol.
- See also:
- KeyPair
- Returns:
- const KeyPair reference
References kp.
bool wali::wfa::Trans::modified |
( |
|
) |
const throw () |
return true if the transition has been modified
A Trans is considered modified if when its weight changes. This includes the initial creation of a Trans object. This follows from the fact that all Trans can be considered (abstractly) created with a weight of ZERO
- Returns:
- true if this transition has been modified
References wali::wfa::ITrans::MODIFIED, and status.
- Returns:
- A null pointer.
References config.
Set this Trans's Config to c.
- Returns:
- void
References config.
This is used by (E)WPDS::poststar during epsilon-transistion contraction. The base case is: this->weight()->extend(se)
References weight().
Friends And Related Function Documentation
friend class WFA [friend] |
Member Data Documentation
The documentation for this class was generated from the following files: