hrx

package
v0.0.0-...-62f53a0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

+build ignore

Index

Constants

This section is empty.

Variables

View Source
var HeaderHrxHHrx = []string{
	"Hrx",
	"ΔHrx",
	"Xcisla",
	"ƩR OD-DO",
	"ƩSTL OD-DO (min)",
	"ƩSTL OD-DO (max)",
	"ƩKombinacie (min)",
	"ƩKombinacie (max)",
	"Kombinacie (počet)",
	"HHrx (min)",
	"HHrx (max)",
	"ΔHHrx (min)",
	"ΔHHrx (max)",
	"ƩR 1-DO (min)",
	"ƩR 1-DO (max)",
	"ƩSTL 1-DO (min)",
	"ƩSTL 1-DO (max)",
	"P (min)", "P (max)",
	"N (min)", "N (max)",
	"Pr (min)", "Pr (max)",
	"Mc (min)", "Mc (max)",
	"Vc (min)", "Vc (max)",
	"C19 (min)", "C19 (max)",
	"C0 (min)", "C0 (max)",
	"cC (min)", "cC (max)",
	"Cc (min)", "Cc (max)",
	"CC (min)", "CC (max)",
	"Zh (min)", "Zh (max)",
}

hlavicka suboru HrxHHrx

Functions

This section is empty.

Types

type Cislo

type Cislo struct {
	// contains filtered or unexported fields
}

func (*Cislo) R

func (x *Cislo) R(k engine.Kombinacia) float64

func (*Cislo) Rh

func (c *Cislo) Rh(cislo int) float64

func (*Cislo) Rp

func (c *Cislo) Rp(cislo int) int

func (*Cislo) STL

func (x *Cislo) STL(k engine.Kombinacia) float64

func (*Cislo) STLh

func (c *Cislo) STLh(cislo, pozicia int) float64

func (*Cislo) STLp

func (c *Cislo) STLp(cislo, pozicia int) int

type Generator

type Generator struct {
	// contains filtered or unexported fields
}

Generator generates all possible combinations of current hrx.

func NewGenerator

func NewGenerator(hrx engine.Rc, n, m int) *Generator

NewGenerator creates Generator for hrx.

func (*Generator) Next

func (g *Generator) Next() bool

Next generate next combination and returns returns true or false whenether there is more combinations.

func (*Generator) Xcisla

func (g *Generator) Xcisla() engine.Xcisla

Xcisla returns current combination of Xcisla. It must not be modified.

type HHrx

type HHrx struct {
	*Cislo
	// contains filtered or unexported fields
}

func NewHHrx

func NewHHrx(n, m int) *HHrx

func (*HHrx) Add

func (h *HHrx) Add(kombs []engine.Kombinacia)

func (*HHrx) X

func (h *HHrx) X(k engine.Kombinacia) float64

type Hrx

type Hrx struct {
	*Cislo

	Uc engine.Uc
	// contains filtered or unexported fields
}

func NewHrx

func NewHrx(n, m int) *Hrx

func (*Hrx) Add

func (h *Hrx) Add(kombs []engine.Kombinacia)

func (*Hrx) X

func (h *Hrx) X(k engine.Kombinacia) float64

type Skupina

type Skupina struct {
	Hrx      float64
	HrxDelta float64
	//Xcisla     Xcisla
	R2         float64
	STL2       [2]float64
	Sucet      [2]int
	PocetKomb  string
	HHrx       [2]float64
	HHrxDelta  [2]float64
	R1         [2]float64
	STL1       [2]float64
	Cislovacky [2]engine.Cislovacka
	Zhoda      [2]int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL