¡GoConqr estrena diseño! Cuéntanos qué te parece.

Mapa mental

Oblig

Ludvik Sæther Inglés

Contenido del mapa

Oblig

  1. class: node

    • An independent computer with a motherboard with one or more processors and RAM, in addition to some other things as well.  In this exercise, max 2 processors per Node.
    • instance variables
      • self._ram
      • self._processors
        • 1 or 2 (Can be more in reality, but simplified for the exercise)
    • methods
      • def get_processors():
      • def get_memory():
  2. class: rack

    • Saves Node objects that belong to the rack in a list. A Node can be added if the current amount of Nodes is less than the maximum amount. For simplicity, every Rack has the same amount of places for Nodes. 
    • instance variables
      • self._these_nodes
    • methods
      • def is_space
  3. class: cluster

    • An object of a cluster should be able to refer to one or several Rack object, that again can refer to objects of the class Node
    • def add_node
      • Takes a Node as a parameter and adds this Node to the first Rack with an available spot.     If there are no Racks with an available spot, a new Rack is created and the Node added to this Rack.

Información

Descripción
Mapa Mental sobre Oblig, creado por Ludvik Sæther el 05/11/2017.
Creado por
Ludvik Sæther
Visitas
0
Valoración

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?