Factory
=======

.. currentmodule:: negmas.apps.scml

.. autoclass:: Factory
   :show-inheritance:

   .. rubric:: Attributes Summary

   .. autosummary::

      ~Factory.balance
      ~Factory.commands
      ~Factory.initial_balance
      ~Factory.initial_wallet
      ~Factory.line_schedules
      ~Factory.loans
      ~Factory.max_storage
      ~Factory.min_balance
      ~Factory.min_storage
      ~Factory.n_lines
      ~Factory.next_step
      ~Factory.storage
      ~Factory.total_storage
      ~Factory.wallet

   .. rubric:: Methods Summary

   .. autosummary::

      ~Factory.add_loan
      ~Factory.buy
      ~Factory.pay
      ~Factory.receive
      ~Factory.schedule
      ~Factory.sell
      ~Factory.step
      ~Factory.transport_from
      ~Factory.transport_to

   .. rubric:: Attributes Documentation

   .. autoattribute:: balance
   .. autoattribute:: commands
   .. autoattribute:: initial_balance
   .. autoattribute:: initial_wallet
   .. autoattribute:: line_schedules
   .. autoattribute:: loans
   .. autoattribute:: max_storage
   .. autoattribute:: min_balance
   .. autoattribute:: min_storage
   .. autoattribute:: n_lines
   .. autoattribute:: next_step
   .. autoattribute:: storage
   .. autoattribute:: total_storage
   .. autoattribute:: wallet

   .. rubric:: Methods Documentation

   .. automethod:: add_loan
   .. automethod:: buy
   .. automethod:: pay
   .. automethod:: receive
   .. automethod:: schedule
   .. automethod:: sell
   .. automethod:: step
   .. automethod:: transport_from
   .. automethod:: transport_to
