Skip to content

Valuation of items #14

@rafabap

Description

@rafabap

@DavoudTaghawiNejad So far we are thinking that valuation of an item should be a member function of every Item. It should take as argument the agent that is performing the valuation. This means that the Item should include all the relevant information necessary to perform its valuation inside the item instance (for example, if an item needs to look at the current market prices, the item needs a reference to the relevant market so that it can obtain the information).

In some cases there will be several different valuation functions possible. We are leaning towards putting all of those inside the Item and not inside the Agent that performs them. Because the valuation function takes as argument the identity of the agent that is performing the valuation, the function itself can deal with the different cases and decide which valuation function to use.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions