Create Path.php

This commit is contained in:
Dennis Eichhorn 2019-08-20 17:34:47 +02:00 committed by GitHub
parent ce0a98c7a8
commit c8ec18f912
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,30 @@
<?php
/**
* Orange Management
*
* PHP Version 7.4
*
* @package phpOMS\Algorithm\PathFinding
* @copyright Dennis Eichhorn
* @license OMS License 1.0
* @version 1.0.0
* @link https://orange-management.org
*/
declare(strict_types=1);
namespace phpOMS\Algorithm\PathFinding;
/**
* Path in grids.
*
* @package phpOMS\Algorithm\PathFinding
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*/
class Path
{
private array $nodes = [];
private float $weight = 0.0;
private float $distance = 0.0;
}