creativity  v1.3.0
Agent-based model of creativity and piracy
PublicTrackerState.hpp
1 #pragma once
2 #include <eris/types.hpp>
3 
4 namespace creativity { class PublicTracker; }
5 
6 namespace creativity { namespace state {
7 
11 class PublicTrackerState final {
12  public:
15 
17  PublicTrackerState() = default;
18 
20  eris::eris_id_t id;
21 
23  double dl_tax;
24 
26  double vote_tax;
27 
32  double dl_unspent;
33 
38  double vote_unspent;
39 };
40 
41 }}
This class represents a public provider of book copies that pays author based on the number of downlo...
Definition: PublicTracker.hpp:46
double dl_unspent
Assets unspent at the end of the period.
Definition: PublicTrackerState.hpp:32
Primary namespace for all Creativity library code.
Definition: config.hpp:4
double dl_tax
The per-period lump-sum tax amount for download-count public sharing.
Definition: PublicTrackerState.hpp:23
PublicTrackerState()=default
Default constructor: creates a PublicTrackerState with default-initialized fields.
double vote_unspent
Assets unspent at the end of the period for the vote-based redistribution.
Definition: PublicTrackerState.hpp:38
double vote_tax
The per-period lump-sum tax amount for vote-count public sharing.
Definition: PublicTrackerState.hpp:26
eris::eris_id_t id
Unique simulation ID of the reader.
Definition: PublicTrackerState.hpp:20
Records the various variables associated with a reader.
Definition: PublicTrackerState.hpp:11