degate  0.1.2
Functions
AutoNameGates.cc File Reference
#include <AutoNameGates.h>
#include <LogicModelHelper.h>
#include <Layer.h>
#include <boost/foreach.hpp>

Go to the source code of this file.

Functions

bool compare_min_x (const Gate_shptr lhs, const Gate_shptr rhs)
bool compare_min_y (const Gate_shptr lhs, const Gate_shptr rhs)

Function Documentation

bool compare_min_x ( const Gate_shptr  lhs,
const Gate_shptr  rhs 
)

Definition at line 9 of file AutoNameGates.cc.

Referenced by degate::AutoNameGates::rename_gates().

                                                               {
  return lhs->get_min_x() < rhs->get_min_x();
}

Here is the caller graph for this function:

bool compare_min_y ( const Gate_shptr  lhs,
const Gate_shptr  rhs 
)

Definition at line 13 of file AutoNameGates.cc.

Referenced by degate::AutoNameGates::rename_gates().

                                                               {
  return lhs->get_min_y() < rhs->get_min_y();
}

Here is the caller graph for this function: