prevent initialization

This commit is contained in:
Dennis Eichhorn 2019-10-17 11:00:51 +02:00
parent 87975e16f1
commit cd352b81a8
20 changed files with 191 additions and 1 deletions

View File

@ -25,7 +25,7 @@ namespace phpOMS\Algorithm\CoinMatching;
final class MinimumCoinProblem final class MinimumCoinProblem
{ {
/** /**
* Constructure * Constructor
* *
* @since 1.0.0 * @since 1.0.0
* @codeCoverageIgnore * @codeCoverageIgnore

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\JobScheduling;
*/ */
final class Weighted final class Weighted
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* Sort jobs by end date. * Sort jobs by end date.
* *

View File

@ -27,6 +27,16 @@ namespace phpOMS\Algorithm\Knapsack;
*/ */
final class Bounded final class Bounded
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* Fill the backpack with items * Fill the backpack with items
* *

View File

@ -25,6 +25,16 @@ namespace phpOMS\Algorithm\Knapsack;
*/ */
final class Continuous final class Continuous
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* Fill the backpack with items * Fill the backpack with items
* *

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class BitonicSort implements SortInterface final class BitonicSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class BubbleSort implements SortInterface final class BubbleSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class CocktailShakerSort implements SortInterface final class CocktailShakerSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class CombSort implements SortInterface final class CombSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class CycleSort implements SortInterface final class CycleSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class GnomeSort implements SortInterface final class GnomeSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class HeapSort implements SortInterface final class HeapSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class InsertionSort implements SortInterface final class InsertionSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class IntroSort implements SortInterface final class IntroSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class MergeSort implements SortInterface final class MergeSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class OddEvenSort implements SortInterface final class OddEvenSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class PancakeSort implements SortInterface final class PancakeSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class QuickSort implements SortInterface final class QuickSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class SelectionSort implements SortInterface final class SelectionSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class ShellSort implements SortInterface final class ShellSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */

View File

@ -24,6 +24,16 @@ namespace phpOMS\Algorithm\Sort;
*/ */
final class StoogeSort implements SortInterface final class StoogeSort implements SortInterface
{ {
/**
* Constructor
*
* @since 1.0.0
* @codeCoverageIgnore
*/
private function __construct()
{
}
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */