weightmethods

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Weight_interest                       float64
	Weight_facilities                     float64
	Weight_total_open_jobs                float64
	Weight_salaries                       float64
	Weight_entrepreneurship_opportunities float64
)

Functions

func CalculateEntropy

func CalculateEntropy(r *http.Request, body []models.SubmitAnswerRequest) error

Types

type AHP_Weight

type AHP_Weight struct {
	Total_open_jobs            float32
	Salary                     float32
	Entrepreneur_Opportunities float32
	Interest                   float32
	Supporting_Facilities      float32
}

func AhpWeight

func AhpWeight(r *http.Request, body []models.SubmitAnswerRequest, criteriaWeight ahp.CriteriaWeight) (error, AHP_Weight)

type CombinativeWeight

type CombinativeWeight struct {
	Total_open_jobs            float32
	Salary                     float32
	Entrepreneur_Opportunities float32
	Interest                   float32
	Supporting_Facilities      float32
}

func CalculateCombinative

func CalculateCombinative(r *http.Request, body []models.SubmitAnswerRequest, criteriaWeight ahp.CriteriaWeight) (error, CombinativeWeight)

Jump to

Keyboard shortcuts

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