Important: Use custom search function to get better results from our thousands of pages

Use " " for compulsory search eg:"electronics seminar" , use -" " for filter something eg: "electronics seminar" -"/tag/" (used for exclude results from tag pages)

Tags: Karnaugh, Karnaugh Map C,
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Karnaugh Map C#
Post: #1

Hello ,
please i'm trying to implement a 4 variables karnaugh map using C#
any ideas about how to code the 4 variables one ?!
i've already done the 1 variable and 2 variables and 3 ,, but if i used the same method it would be SO LONG !
i'm not indicating the don't cares only 0-1
please help i have to send this project on thursday Confused
Post: #2
hello how to write code ?
Post: #3
This code provides a C++ program that implements a Karnaugh map (k-map) minimizer with an algorithm that can get a solution for all k-map's types, i.e., for k-maps with any number of variables, but it has been implemented in this program for 26 variables only as much as the number of letters in the English alphabet.

The reader should have the basics of Boolean algebra and k-map usage in order to get the most benefit from this article.

To use this program, you need to follow the next steps:

Enter k-map type (Number of variables)
Enter ones' positions (-1 for stopping)
Enter don't-care positions (-1 for stopping)
Choose result's type (SOP or POS)
Getting the solutions of your k-map
This algorithm has 3 steps. A special class is used to implement each:

Setting k-map by getting its information from user (type ones' and don't care's positions) and saving ones' and don't care's positions with its Binary values.
Comparing ones' and don't care's positions to get all possible minimums.
Filtering the comparison result to eliminate unessential terms, take essential ones and provide all possible solutions.
Step 1

In this step, k-map's type is entered by the user (ones' and don't care's positions). Then it's converted to its binary equivalent, i.e., its binary representation according to the k-map type. Then it's saved in a vector, so if we have a 4-var k-map, its ones' positions are 0,1,3,4 and 11 and its don't care position is 5, this leads to:

type will be: 4
ones' positions will be saved as: 0000 , 0001, 0011, 0100 and 1011
don't care position will be saved as: 0101
Step 2

In this step, ones and don't cares are compared by their equivalent binary values one by one:

If there are two Binary values matched in type - 1 digits, save this value and consider the different condition = -1.
Consider all these semi-matched values as dashed values.
Do this process type times as if we have n-var k-map and this k-map is full, we need to do comparison n times in order to consider 1 var as -1 in each circle and at last solve this k-map with a full k-map.

Marked Categories : how to implement karnaugh map in c, k map 2 mark questions with answers, k maps questions answers pdf, k map questions and answers, karnaugh kaart c, how i given seminar on k map topic, k map question and answer, karnaugh maps c, which question to ask in k map seminar, k map using c, c implementation karnaugh, k map questions with solutions, karnaugh map questions and answers, saminar topic for k map, important points of karnaugh map on seminar, how to make project for k map implementation in c net, karnaugh map c, c karnaugh, national seminar topics 2012, karnaugh map questions and answers for projects, karnaugh map code in c, karnaugh map c code, karnaugh c,

Quick Reply
Type your reply to this message here.

Image Verification
Image Verification
(case insensitive)
Please enter the text within the image on the left in to the text box below. This process is used to prevent automated posts.

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  matlab code for image encryption using chaotic logistic map Guest 1 0 22-09-2017 11:27 AM
Last Post: jaseela123
  Map of Human Computer Interaction seminar class 1 29,706 31-08-2017 10:24 AM
Last Post: jaseela123
  Google Map Search Locator presentation Abstract 0 124 25-08-2017 09:32 PM
Last Post: presentation Abstract
  MAP sensor computer science crazy 0 3,505,089 25-08-2017 09:32 PM
Last Post: computer science crazy
  MAP sensor Computer Science Clay 0 5,567,038 25-08-2017 09:32 PM
Last Post: Computer Science Clay
  phishing detection system using machine learning and hadoop map reduce Guest 1 1,797 03-04-2017 04:56 PM
Last Post: jaseela123
  google map based event management portal project sujayvemuri 3 1,333 06-02-2017 03:11 PM
Last Post: jaseela123
Last Post: mkaasees
  Capacity Management: A CA Service Management Process Map mkaasees 0 0 17-10-2016 03:54 PM
Last Post: mkaasees
  PRISM: Fine-Grained Resource-Aware Scheduling for Map Reduce mkaasees 0 0 31-08-2016 11:54 AM
Last Post: mkaasees
This Page May Contain What is Karnaugh Map C# And Latest Information/News About Karnaugh Map C#,If Not ...Use Search to get more info about Karnaugh Map C# Or Ask Here