docstr: Constructs an EvalManager object.
  
  :param max_vectorized: the maximum size of a vector evaluation
      larger vectorizations will be chunked
  :type max_vectorized: int
  :param replacements: a mapping of `original:replacement` keyword names
  :type replacements: dict
docstr_tok: ["Constructs","an","EvalManager","object",".",":","param","max_vectorized",":","the","maximum","size","of","a","vector","evaluation","larger","vectorizations","will","be","chunked",":","type","max_vectorized",":","int",":","param","replacements",":","a","mapping","of","`","original",":","replacement","`","keyword","names",":","type","replacements",":","dict"]
code: def __init__(self, max_vectorized=100, replacements={}):
      """Constructs an EvalManager object.
  
      :param max_vectorized: the maximum size of a vector evaluation
          larger vectorizations will be chunked
      :type max_vectorized: int
      :param replacements: a mapping of `original:replacement` keyword names
      :type replacements: dict
  
      """
      # are we doing a parallel function evaluation?
      self._vectorized = False
      self._max_vectorized = max_vectorized
  
      # the queue used for parallel evaluations
      self._queue = None
  
      # lock to use to add evaluations to the queue
      self._queue_lock = multiprocessing.Lock()
  
      # lock to get results
      self._result_lock = multiprocessing.Lock()
  
      # used to check whether Future started running
      self._semaphore = None
  
      # used to signal Future's to get their result
      self._processed_semaphore = None
  
      # keys that must be replaced
      self._replacements = dict((v, k) for k, v in replacements.items())
  
imports: from __future__ import print_function
  import json
  import sys
  import socket
  import itertools
  from .None import functions
  from .None import parallel
  import math
  import multiprocessing
  import threading
label_desc: Use image node_id 1 to create a new EvalManager object from inherited base classes: object with example: obj = EvalManager(max_vectorized, replacements)