Skip to content

Latest commit

 

History

History
98 lines (54 loc) · 2.36 KB

executor_strategy.decreasescoreforunconfirmedagreement.md

File metadata and controls

98 lines (54 loc) · 2.36 KB

Class: DecreaseScoreForUnconfirmedAgreement

yajsapi / Exports / executor/strategy / DecreaseScoreForUnconfirmedAgreement

Class: DecreaseScoreForUnconfirmedAgreement

executor/strategy.DecreaseScoreForUnconfirmedAgreement

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new DecreaseScoreForUnconfirmedAgreement(base_strategy, factor)

Parameters

Name Type
base_strategy any
factor any

Defined in

yajsapi/executor/strategy.ts:144

Properties

_base_strategy

Private _base_strategy: any

Defined in

yajsapi/executor/strategy.ts:143

_factor

Private _factor: any

Defined in

yajsapi/executor/strategy.ts:144

Methods

decorate_demand

decorate_demand(demand): Promise

Parameters

Name Type
demand DemandBuilder

Returns

Promise

Defined in

yajsapi/executor/strategy.ts:151

score_offer

score_offer(offer, history?): Promise

Parameters

Name Type
offer OfferProposal
history? ComputationHistory

Returns

Promise

Defined in

yajsapi/executor/strategy.ts:156