Horizon
|
#include <pns_optimizer.h>
Classes | |
struct | CACHE_VISITOR |
Public Member Functions | |
OPTIMIZER (NODE *aWorld) | |
Optimizer. | |
bool | Optimize (LINE *aLine, LINE *aResult=NULL) |
bool | Optimize (DIFF_PAIR *aPair) |
void | SetWorld (NODE *aNode) |
void | CacheStaticItem (ITEM *aItem) |
void | CacheRemove (ITEM *aItem) |
void | ClearCache (bool aStaticOnly=false) |
void | SetCollisionMask (int aMask) |
void | SetEffortLevel (int aEffort) |
void | SetRestrictArea (const BOX2I &aArea) |
OPTIMIZER (NODE *aWorld) | |
bool | Optimize (LINE *aLine, LINE *aResult=NULL) |
bool | Optimize (DIFF_PAIR *aPair) |
void | SetWorld (NODE *aNode) |
void | CacheStaticItem (ITEM *aItem) |
void | CacheRemove (ITEM *aItem) |
void | ClearCache (bool aStaticOnly=false) |
void | SetCollisionMask (int aMask) |
void | SetEffortLevel (int aEffort) |
void | SetRestrictArea (const BOX2I &aArea) |
Static Public Member Functions | |
static bool | Optimize (LINE *aLine, int aEffortLevel, NODE *aWorld) |
| |
static bool | Optimize (LINE *aLine, int aEffortLevel, NODE *aWorld) |
| |
Class OPTIMIZER.
Performs various optimizations of the lines being routed, attempting to make the lines shorter and less cornery. There are 3 kinds of optimizations so far: