Definition des Indexoperators in der Klasse
PrimImplikanteCollection.cpp
This commit is contained in:
parent
264b46172a
commit
5571614e0e
3 changed files with 16 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
|
@ -19,13 +19,13 @@
|
|||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v100</PlatformToolset>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v110</PlatformToolset>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
//#include <iostream>
|
||||
#include "stdafx.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
@ -60,4 +61,14 @@ PrimImplikant* PrimImplikantCollection::front()
|
|||
PrimImplikant* PrimImplikantCollection::at(unsigned int const &index)
|
||||
{
|
||||
return this->PIVector.at(index);
|
||||
}
|
||||
}
|
||||
|
||||
/*PrimImplikant* PrimImplikantCollection::operator[](unsigned int const &index){
|
||||
if (index <= PIVector.size()){
|
||||
|
||||
return this->PIVector.at(index);
|
||||
}
|
||||
|
||||
cerr << "Fehler!!!! PIVector.size()=" << PIVector.size() << endl;
|
||||
return 0;
|
||||
}*/
|
|
@ -1,3 +1,4 @@
|
|||
//#include <iostream>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "PrimImplikant.h"
|
||||
|
|
Loading…
Reference in a new issue