Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding agent types to hashkat-lib #13

Closed
16 tasks done
arminms opened this issue Oct 2, 2015 · 1 comment
Closed
16 tasks done

Adding agent types to hashkat-lib #13

arminms opened this issue Oct 2, 2015 · 1 comment
Assignees

Comments

@arminms
Copy link
Owner

arminms commented Oct 2, 2015

  • std::uint16_t will be the last template argument (W)
  • it must be a vector of std::uint16_t types
  • VauleType will be renamed to V
  • agent type names will be stored as std::vector<std::string> at_name_
  • agent type name can be found using std::string type_name(std::size_t type_idx) const
  • agent type can be found using W agent_type(T n) const
  • initialization of agent types from config can happen in constructors
  • agent types add weights are stored in std::vector<V> at_add_weight_
  • changing bool network::grow() to bool network::grow(W at)
  • changing signal<void(T)> grown_signal_type to signal<void(T,W)> grown_signal_type
  • during grow, type of the agent will be decided using the algorithm in original hashkat
  • adding std::vector<std::vector<T>> at_agent_ids to network class to hold agent_list for each agent type
  • adding std::vector<std::vector<T>> at_agent_per_month to twitter_follow class to hold agent_cap for each agent type
  • calculation of follow action weight must be based on the agent type monthly follow weights in twitter_follow::do_update_weight(const TimeType&) (requires Adding a constant pointer of engine's time as member variable to actions #14)
  • creation of follow ranks (bins) for each agent type
  • updating follow ranks (bins) for each agent type in twitter_follow::agent_added(T,W) and twitter_follow::update_ranks(T,T) member functions
@arminms arminms self-assigned this Oct 2, 2015
@arminms arminms changed the title Adding agent types (stereotypes) to network class Adding agent types to hashkat-lib Oct 6, 2015
@arminms
Copy link
Owner Author

arminms commented Jan 7, 2016

done...

@arminms arminms closed this as completed Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant