Documentation ¶
Index ¶
- func CalculateAHP(r *http.Request, body []models.SubmitAnswerRequest, mpc ahp.MPC, ...) error
- func CalculateTopsis(r *http.Request, body []models.SubmitAnswerRequest, tx *sqlx.Tx, ...) error
- func CalculateTopsisAHP(r *http.Request, body []models.SubmitAnswerRequest, tx *sqlx.Tx, ...) error
- func CalculateTopsisCombinative(r *http.Request, body []models.SubmitAnswerRequest, tx *sqlx.Tx, ...) error
- func InitSubCriteriaWeights()
- type AHPServiceError
- type TOPSISServiceError
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateAHP ¶
func CalculateTopsis ¶ added in v1.1.0
func CalculateTopsis(r *http.Request, body []models.SubmitAnswerRequest, tx *sqlx.Tx, criteriaWeight ahp.CriteriaWeight) error
func CalculateTopsisAHP ¶ added in v1.1.0
func CalculateTopsisAHP(r *http.Request, body []models.SubmitAnswerRequest, tx *sqlx.Tx, criteriaWeight ahp.CriteriaWeight) error
func CalculateTopsisCombinative ¶ added in v1.1.0
func CalculateTopsisCombinative(r *http.Request, body []models.SubmitAnswerRequest, tx *sqlx.Tx, criteriaWeight ahp.CriteriaWeight) error
func InitSubCriteriaWeights ¶
func InitSubCriteriaWeights()
Types ¶
type AHPServiceError ¶
func (*AHPServiceError) Error ¶
func (e *AHPServiceError) Error() string
type TOPSISServiceError ¶ added in v1.1.0
func (*TOPSISServiceError) Error ¶ added in v1.1.0
func (e *TOPSISServiceError) Error() string
Click to show internal directories.
Click to hide internal directories.