cimforreduceloss/testHasttable/elementreduction.h

18 lines
361 B
C
Raw Normal View History

#ifndef ELEMENTREDUCTION_H
#define ELEMENTREDUCTION_H
#include <QList>
#include "element/commontype.h"
//把电阻等于0的元件都去掉
class ElementReduction
{
public:
explicit ElementReduction(const QList<Branch*>& branchList);
void doIt();
~ElementReduction();
private:
const QList<Branch*>& branchList;
};
#endif // ELEMENTREDUCTION_H