Main   Namespaces   Classes   Hierarchy   Annotated   Files   Compound   Global   Pages  

Resistance.hpp File Reference

#include "Hex.hpp"
#include "HexEval.hpp"
#include "HexBoard.hpp"
#include "Groups.hpp"

Go to the source code of this file.

Classes

class  AdjacencyGraph
 Adjacency between each pair of cells. More...
struct  ConductanceValues
 Conductance between different types of groups. More...
class  Resistance
 Board evaluation based on circuit flow. More...

Namespaces

namespace  ResistanceUtil
 

Utilities to compute AdjacencyGraphs, etc.


Functions

void ResistanceUtil::Initialize ()
 Must be called before SimulateAndOverEdge() can be called!
void ResistanceUtil::AddAdjacencies (const HexBoard &brd, AdjacencyGraph graph[BLACK_AND_WHITE])
 Computes AdjacencyGraphs for this board state using a default ConductanceValues object.
void ResistanceUtil::SimulateAndOverEdge (const HexBoard &brd, AdjacencyGraph graph[BLACK_AND_WHITE])
 Tries to simulate the vc set obtained by anding over the edge by giving connections to cells near the edge.

Detailed Description

Definition in file Resistance.hpp.


6 Jan 2011 Doxygen 1.6.3