Page MenuHomeWickedGov Phorge

Edge.php
No OneTemporary

Size
827 B
Referenced Files
None
Subscribers
None

Edge.php

<?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

Mime Type
text/x-php
Expires
Sat, Oct 3, 03:38 (3 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
5c/5c/a8ee63a9c79dd26192dc28a68f70
Default Alt Text
Edge.php (827 B)

Event Timeline