Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F4075197
Edge.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
827 B
Referenced Files
None
Subscribers
None
Edge.php
View Options
<?php
namespace
Wikimedia\LangConv\Construct
;
/**
* An edge between states in a mutable FST.
*/
class
Edge
{
/** @var State */
public
$from
;
/** @var int */
public
$id
;
/** @var string */
public
$upper
;
/** @var string */
public
$lower
;
/** @var State */
public
$to
;
/**
* Create a new Edge.
* @param State $from State this edge is coming from (and stored in)
* @param int $id Index of this edge in from State's edges array.
* @param string $upper Token on the upper side of this edge
* @param string $lower Token on the lower side of this edge
* @param State $to Destination state
*/
public
function
__construct
(
State
$from
,
int
$id
,
string
$upper
,
string
$lower
,
State
$to
)
{
$this
->
from
=
$from
;
$this
->
id
=
$id
;
$this
->
upper
=
$upper
;
$this
->
lower
=
$lower
;
$this
->
to
=
$to
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Aug 17 2026, 17:54 (10 w, 1 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5c/5c/a8ee63a9c79dd26192dc28a68f70
Default Alt Text
Edge.php (827 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment