tetengo 1.8.1
A multipurpose library set
Loading...
Searching...
No Matches
tetengo::lattice::vocabulary Class Referenceabstract

A vocabulary. More...

#include <vocabulary.hpp>

+ Inheritance diagram for tetengo::lattice::vocabulary:
+ Collaboration diagram for tetengo::lattice::vocabulary:

Public Member Functions

 vocabulary ()
 Creates a vocabulary.
 
virtual ~vocabulary ()
 Destroys the vocabulary.
 
std::vector< entry_viewfind_entries (const input &key) const
 Finds entries.
 
connection find_connection (const node &from, const entry_view &to) const
 Finds a connection between an origin node and a destination entry.
 

Detailed Description

A vocabulary.

Member Function Documentation

◆ find_connection()

connection tetengo::lattice::vocabulary::find_connection ( const node from,
const entry_view to 
) const

Finds a connection between an origin node and a destination entry.

Parameters
fromAn origin node.
toA destination entry.
Returns
A connection between the origin node and the destination entry.

◆ find_entries()

std::vector< entry_view > tetengo::lattice::vocabulary::find_entries ( const input key) const

Finds entries.

Parameters
keyA key.
Returns
Entry views.

The documentation for this class was generated from the following file: