Class AgentsTasksRandomValues

java.lang.Object
topics.greedy.agents.AgentsTasksRandomValues

public class AgentsTasksRandomValues extends Object

Random Asset Generator for Agent Task Assignment

Generates arbitrary square matrices representing cost metrics associated with mapping specific tasks to individual agents. Values are bounded between 1 and 999.

Author:
vicegd
  • Constructor Details

    • AgentsTasksRandomValues

      public AgentsTasksRandomValues()
  • Method Details

    • main

      public static void main(String[] args)
    • fillMatrixRandomly

      public static void fillMatrixRandomly(int[][] matrix)
      Fills a square matrix with random costs between 1 and 999. Uses ThreadLocalRandom for optimized memory efficiency boundaries.
      Parameters:
      matrix - The matrix to populate.