Code Search for Developers
 
 
  

FreducedVertexFolder.C from Magnus at Krugle


Show FreducedVertexFolder.C syntax highlighted

#include "crossTrainer.h"
#include "FreducedVertexFolder.h"
#include "FreducedFoldNode.h"

// We overrride the Identify routine so that it places
// a vertex v!=mipoint on the fold stack if some other
// vertex has been identified to v.  In order to do this,
// the reduced vertex folder must be aware of the 
// reduced vertex node so that it can send it the proper message.

FreducedVertexFolder::FreducedVertexFolder(
			FreducedFoldNode *n,FGLvar *v,const GLref& midpoint)
	:FvertexFolder(v,midpoint){
	itsNode=n;
}

void FreducedVertexFolder::Identify(void){
				
// indicate that bv will need to be folded again
// This is the one extra line of code that the reduced folder depends on
// to feed its stack.  Special thanks to Hamish for this.
	itsNode->foldThisVertex(v->bv);
	v->Identify();
}





See more files for this project here

Magnus

Magnus is a special purpose mathematical package for Infinite Group Theory computations

Project homepage: http://sourceforge.net/projects/magnus
Programming language(s): C,C++
License: other

  FBlockManager.C
  FBlockManager.h
  FGLink.C
  FGLink.h
  FGLnode.C
  FGLnode.h
  FGLrecycleStack.C
  FGLrecycleStack.h
  FGLstack.C
  FGLstack.h
  FGLstepper.C
  FGLstepper.h
  FGLwalkNode.C
  FGLwalkNode.h
  FcleanUpNode.C
  FcleanUpNode.h
  FcloneNode.C
  FcloneNode.h
  FdebugNode.C
  FdebugNode.h
  FfoldNode.C
  FfoldNode.h
  FfoldStepper.C
  FfoldStepper.h
  FgrowNode.C
  FgrowNode.h
  FrandomRef.C
  FrandomRef.h
  FreducedFoldNode.C
  FreducedFoldNode.h
  FreducedVertexFolder.C
  FreducedVertexFolder.h
  FvertexFolder.C
  FvertexFolder.h
  GLfunctions.C
  GLfunctions.h
  GLref.h
  _FnameNode.cp_
  _FnameNode.h_
  _FrankNode.cp_
  _FrankNode.h_
  _FstrToGLvarNode.cp_
  _FstrToGLvarNode.h_
  debugGLink.C
  debugGLink.h