Search


Monday, December 22, 2008

Query String passing in Infopath C# code

   1: public void FormEvents_Loading(object sender, LoadingEventArgs e) 
   2: { 
   3:     string lotNumber = string.Empty; 
   4:     try 
   5:     { 
   6:         e.InputParameters.TryGetValue("LotNumber", out lotNumber); 
   7:     } 
   8:     catch (Exception ex) 
   9:     { 
  10:         lotNumber = ex.Message.ToString();
  11:     } 
  12:     finally 
  13:     { 
  14:         MainDataSource.CreateNavigator().SelectSingleNode("//my:LotNumber", NamespaceManager).SetValue(lotNumber); 
  15:     } 
  16: }

Tuesday, December 16, 2008

IIS problem XML parsing

Problem:

The XML page cannot be displayed Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later. A name was started with an invalid character. Error processing resource

Line 1... <%@ Page Language="vb" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.DefaultPage" CodeFile="Defa... Line 1...<%%@ Page Language="C#" AutoEventWireup="false" Explicit="True" Inherits="DotNetNuke.Framework.DefaultPage" CodeFile="Defa... Solution: this basicly happens when IIS installed after .Net frame work. to fix this. Go to IIS manager : start -> run -> inetmgr go to your application root properties go to ASP tab make sure ASP version is not blank ( 2.0) now repair ASP.net frame work by going to control panel and change/repair.

Node manipulation using Xpath C# infopath code

   1: private string GetNodeValueFromMain(string xpath) 
   2: { 
   3:     string retValue = string.Empty; 
   4:     XPathNavigator retNode = MainDataSource.CreateNavigator().SelectSingleNode(xpath, NamespaceManager); 
   5:     if (retNode != null) 
   6:     { 
   7:         retValue = retNode.InnerXml; 
   8:     } 
   9:     return retValue; 
  10: } 

Occasionally, the node value that you are retrieving is relative to a particular event object site (for example, a sibling node in a Changed event). In the GetNodeValueFromEvent function, the event object is passed as an argument along with the XPath statement.

   1: private string GetNodeValueFromEvent(XmlEventArgs eventObject, string xpath) 
   2: { 
   3:     string retValue = string.Empty; XPathNavigator retNode = eventObject.Site.SelectSingleNode(xpath, NamespaceManager); 
   4:     if (retNode != null) 
   5:     { 
   6:         retValue = retNode.InnerXml; 
   7:     } 
   8:     return retValue; 
   9: } 

To retrieve a node value from a secondary data source, you must pass the name of the data connection as
an argument, along with the XPath statement, as shown with the GetNodeValueFromSecondary function.

   1: private string GetNodeValueFromSecondary(string source, string xpath) 
   2: { 
   3:     string retValue = string.Empty; XPathNavigator retNode = DataSources[source].CreateNavigator().SelectSingleNode(xpath, NamespaceManager); 
   4:     if (retNode != null) 
   5:     { 
   6:         retValue = retNode.InnerXml; 
   7:     } 
   8:     return retValue; 
   9: } 

Setting a Node Value Another task used in most managed-code solutions is setting a particular node value in the main data source. The SetNodeValueInMain function uses the first XPath statement argument to identify an XPathNavigator object and then set it to the value of the second argument.

   1: private void SetNodeValueInMain(string xpath, string nodeValue) 
   2: { 
   3:     XPathNavigator mainNode = MainDataSource.CreateNavigator().SelectSingleNode(xpath, NamespaceManager); 
   4:     if (mainNode != null) 
   5:     { 
   6:         mainNode.SetValue(nodeValue); 
   7:     } 
   8: } 

As with retrieving values, there are occasions where you might want to set a node value relative to a particular event object. Note that during certain events (for example, the Changing event), the main data source is read-only. In any
event, the SetNodeValueInEvent function uses an event object as an additional argument.

   1: private void SetNodeValueInEvent(XmlEventArgs eventObject, string xpath, string nodeValue) 
   2: { 
   3:     XPathNavigator eventNode = eventObject.Site.SelectSingleNode(xpath, NamespaceManager); 
   4:     if (eventNode != null) 
   5:     { 
   6:         eventNode.SetValue(nodeValue); 
   7:     } 
   8: } 

To set a secondary data source node value, you must pass the name of the data connection as an argument, along with the XPath statement and new node value, as shown with the SetNodeValueInSecondary function.

   1: private void SetNodeValueInSecondary(string source, string xpath, string nodeValue) 
   2: { 
   3:     XPathNavigator secondaryNode = DataSources[source].CreateNavigator().SelectSingleNode(xpath, NamespaceManager); 
   4:     if (secondaryNode != null) 
   5:     { 
   6:         secondaryNode.SetValue(nodeValue); 
   7:     } 
   8: }

Creating a Node Many times, a repeating section or repeating table control in a form
template has items added to it programmatically during the Loading event or based on specific actions at run time. The CreateNode function takes the first XPathNavigator object argument and appends the node identified by the other three arguments.

   1: private void CreateNode(XPathNavigator parentNode, string childNode, string childNodePrefix, string childNodeValue) 
   2: { 
   3:     if (parentNode != null) 
   4:     { 
   5:         parentNode.AppendChildElement(childNodePrefix, childNode, parentNode.LookupNamespace(parentNode.Prefix), childNodeValue); 
   6:     } 
   7: } 


Removing Nodes Whereas creating a node and adding it to a repeating section or repeating table is a common task, so too is removing a node from one of these repeating controls. The RemoveNode function takes the first XPathNavigator object argument and removes the child node identified with the second XPath
statement argument.

   1:  
   2: private void RemoveNode(XPathNavigator parentNode, string xpath) 
   3: { 
   4:     if (parentNode != null) 
   5:     {
   6:         XPathNavigator childNode = parentNode.CreateNavigator().SelectSingleNode(xpath, NamespaceManager); 
   7:         if (childNode != null) 
   8:         {
   9:             childNode.DeleteSelf(); 
  10:         } 
  11:     } 
  12: } 

 

Removing all items from a repeating section or repeating table involves a reverse iteration through
an XPathNodeIterator object. Here, the RemoveChildNodes function takes the XPathNavigator object and removes all of its child nodes.

   1: private void RemoveChildNodes(XPathNavigator parentNode) 
   2: { 
   3:     if (parentNode != null) 
   4:     { 
   5:         XPathNodeIterator childNodes = parentNode.CreateNavigator().Select("*", NamespaceManager); 
   6:         for (int i = childNodes.Count - 1; i >= 0; i--) 
   7:         { 
   8:             XPathNavigator childNode = parentNode.CreateNavigator().SelectSingleNode("*[last()]", NamespaceManager); 
   9:             childNode.DeleteSelf(); 
  10:         } 
  11:     } 
  12: }

Get Date Year Infopath C# code method

//You could use the substring method on a date string value

//to identify the year, month, or day values.

//In managed code, an easier way is to use the corresponding properties,

//as shown in the GetDateYear function.

private string GetDateYear(DateTime date)

{

string retValue = string.Empty;

retValue = date.Year.ToString();

return retValue;

}

Calculating a Duration in Infopath C# code

//Calculating a Duration

//In some scenarios, it might be a requirement to calculate

//the total number of days in a given period.

//For example, in an expense report solution,

//you might need to identify the duration of the reporting period based

//on a start date and end date. In the GetDuration function,

//two date string values are passed as arguments to retrieve a duration string value.

private string GetDuration(string startDate, string endDate)

{

string retValue = string.Empty;

if (startDate != string.Empty && endDate != string.Empty)

{

long longStartDate = DateTime.Parse(startDate).ToFileTimeUtc();

long longEndDate = DateTime.Parse(endDate).ToFileTimeUtc();

long longDayCount = (longEndDate - longStartDate) / 864000000000 + 1;

retValue = longDayCount.ToString();

}

return retValue;

}

Calculating a Duration in InfoPath

   1: //Calculating a Duration 
   2: //In some scenarios, it might be a requirement to calculate 
   3: //the total number of days in a given period. 
   4: //For example, in an expense report solution, 
   5: //you might need to identify the duration of the reporting period based 
   6: //on a start date and end date. In the GetDuration function, 
   7: //two date string values are passed as arguments to retrieve a duration string value. 
   8: private string GetDuration(string startDate, string endDate) 
   9: { 
  10:     string retValue = string.Empty; 
  11:     if (startDate != string.Empty && endDate != string.Empty) 
  12:     { 
  13:         long longStartDate = DateTime.Parse(startDate).ToFileTimeUtc(); 
  14:         long longEndDate = DateTime.Parse(endDate).ToFileTimeUtc(); 
  15:         long longDayCount = (longEndDate - longStartDate) / 864000000000 + 1; 
  16:         retValue = longDayCount.ToString(); 
  17:     } 
  18:     return retValue; 
  19: }

How to Deploy an InfoPath 2007 Form Containing Managed Code to a Browser-Enabled WSS v3 Library

InfoPath Forms Services is NOT part of WSS v3. It is a separate install, or you can install it as part of the MOSS 2007 Beta 2 install. The RTM version, last I heard, will be available as a separate SKU or as part of MOSS 2007 Enterprise Edition. Assuming you have already created an InfoPath form containing managed code, this document will explain the steps necessary to deploy it to a WSS form library that is “web-enabled” by InfoPath Forms Services. Publish the Template to the File System (or file share) Note: In Office 2007 you can’t publish an InfoPath form containing managed code directly to a WSS form library because it has to be first approved by a WSS Administrator. 1. Open the Design Tasks task pane and choose Publish Form Template. 2. Choose the first option, to publish to SharePoint, and click Next. 3. Enter the location of the SharePoint site you want to publish to. 4. You will be presented with the screen below. Make sure the checkbox is checked to enable the form to be filled out in a browser and click Next. 5. You must choose a location to save the template file, which will be uploaded to the SharePoint site by the site administrator. 6. Specify any columns you want to be made available as WSS columns in the form library. 7. Verify that the information is correct and click Publish. The form will be published to the specified file share location. Upload the Template to the Central Administration Form Templates Library 1. Go to the Central Administration site for your farm (or web server if there's only one) 2. Click on the Application Management tab, go down to the InfoPath Forms Services section, and choose Manage Form Templates. 3. The Form Template library is opened, which is where admin-approved form templates for the farm are stored. 4. Click Upload Form Template. Choose your saved template file and click the Verify button. You will be shown any errors or warnings related to your template file. Read any warnings (hopefully there are no errors) and click OK. 5. Choose your template file again (Why is it not persisted in the text box between postbacks??). In the Upgrade section, you can choose to upgrade the form template if it already exists. You can also choose how to handle current sessions that are using the form template. 6. Click the Upload button to upload the form template. It is now available as a Feature to be activated on any site collections in the farm. Activate the Form Template on a Site Collection 1. You can activate a form template feature from the Manage Form Templates page of Central Administration (the same page where you uploaded the template). On the context menu of the newly uploaded form template, choose Activate to a Site Collection. 2. In the Activation Location section of the page, choose the appropriate Site Collection and click the OK button. Note: You may actually have to change Web Applications to find the site collection you are looking for. A Web Application maps to an IIS virtual server. Associate the Form Template with a Form Library 1. Create a new form library (or use an existing one, it really doesn't matter),go to the settings page. and choose Advanced Settings. 2. Choose Yes for Allow management of content types. For Opening browser-enabled documents, choose Display as a web page. 3. Click the OK button to go back to the Form Library Settings page. 4. There should now be a Content Types section which displays the Content Types enabled for the form library. The form template feature that you activated added a new content type to the Site Content Type Gallery. 5. Choose Add from existing site content types and find your form template. Click on it and click Add, then click OK. 6. Go back to your form library, click the New dropdown, and choose your form template. It will be opened in the browser window where it can be filled out and saved or submitted.

http://geekswithblogs.net/jgmeyer/archive/2006/06/26/83087.aspx

Friday, December 12, 2008

SharePoint References

SharePoint Plan for performance and capacity (Office SharePoint Server) http://technet.microsoft.com/en-us/library/cc262971(TechNet.10).aspx Plan for performance and capacity (Windows SharePoint Services)http://technet.microsoft.com/en-us/library/cc288124(TechNet.10).aspx White paper: Intel Performance Testing of Windows SharePoint Services (WP)http://technet.microsoft.com/en-us/library/cc288383(TechNet.10).aspx How to Optimize a SharePoint Server 2007 Web Content Management Site for Performance http://msdn.microsoft.com/en-us/library/bb727371.aspx White paper: Planning and Monitoring SQL Server Storage for Windows SharePoint Services: Performance Recommendations and Best Practices http://technet.microsoft.com/en-us/library/cc287996(TechNet.10).aspx

InfoPath Reference

InfoPath Improving the Performance of InfoPath 2007 Forms

http://msdn2.microsoft.com/en-us/library/bb380251.aspx

A whitepaper about performance and the InfoPath rich client. Because of differences between the client and browser-enabled forms, not everything applies to Forms Services and browser forms, but a must read nonetheless. InfoPath Forms Services best practices

http://technet.microsoft.com/en-us/library/cc261832(TechNet.10).aspx

Microsoft Office Forms Server TechNet TechCenter

http://technet.microsoft.com/en-us/office/bb267350.aspx

InfoPath Forms Services roadmap

http://technet.microsoft.com/en-us/library/cc262885.aspx

InfoPath 2007 features that are unavailable in InfoPath Forms Services http://office.microsoft.com/en-us/infopath/HA102105871033.aspx Forms Server 2007 Home Page

http://office.microsoft.com/en-us/formsserver/FX100490391033.aspx

InfoPath 2007 Home Page

http://office.microsoft.com/en-us/infopath/FX100487661033.aspx Planning and architecture for Office Forms Server 2007

http://technet.microsoft.com/en-us/library/cc303371(TechNet.10).aspx

Plan InfoPath Forms Services

http://technet.microsoft.com/en-us/library/cc262498(TechNet.10).aspx

Office Developer Center: InfoPath 2007 Resource Center

http://msdn.microsoft.com/en-us/office/aa905443.aspx

InfoPath Forms Services Architecture

http://msdn2.microsoft.com/en-us/library/ms772323.aspx

Form Development and Deployment Lifecycle

http://msdn.microsoft.com/en-us/library/ms772031.aspx

Creating InfoPath Form Templates That Work With Forms Services

http://msdn2.microsoft.com/en-gb/library/aa945450(VS.80).aspx

Support: Microsoft Help and Support: Forms Server 2007 Solution Center

http://support.microsoft.com/ph/11846

Auto-Increment / Counting field for InfoPath repeating tables/sections

DOWNLOAD THE SAMPLE instruction: http://blogs.microsoft.co.il/blogs/yanivl/

december 12 2008

http://msdn.microsoft.com/en-us/library/ms439657.aspxsite definitions, templates, and features used in Windows SharePoint Services, describing how they are related and how they can best be used to customize sites. Features provide the following capabilities: Scoping semantics for determining where custom code runs Pluggable behavior for installing or uninstalling Features within a deployment Pluggable behavior for activating or deactivating Features at a given scope A scoped property bag for storing data required by a Feature within its scope The basis of a unified framework for distributed deployment of Windows SharePoint Services solutions Rules ===== i should be like event handler

Monday, October 27, 2008

Upgrading problems Silverlight beta 2 to Silverlight 2

Breaking Change #1. Your Web Page. If you have a project already developed for beta-1 or beta-2 you will need to make an adjustment to your web page that hosts the Silverlight control. For an HTML page change you will need to change the MIME type. To do this, open your HTML Page, change “x-silverlight-2-b1” or “application/x-silverlight-2-b2” to “application/x-silverlight-2”. <object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%"> If you use an ASPX based Page, open your ASPX page and change the Minimum Version to 2.0.31005.0 <asp:Silverlight ID="Xaml1" runat="server" Source="~/ClientBin/TextBlockTest.xap" MinimumVersion="2.0.30923.0" Width="100%" Height="100%" /> Also, you should update your Silverlight Tools to the latest release if you haven't already. It is available from http://silverlight.net/getstarted

Monday, October 20, 2008

test

this is a test

Wednesday, September 17, 2008

Why should I use DataTable for DataGridView?

DataGridView has severe performance problems with manually adding rows. Assiging to the DataSource is far faster (often).
reff:

print screen active windows only

Hold the Alt key down while pressing Print Screen to capture only the active window

Monday, September 15, 2008

data structure example

http://www.brpreiss.com/books/opus4/html/page620.html data structure
o
seebig oh, seelittle oh
tex2html_wrap_inline58543
seeEuler's constant
tex2html_wrap_inline59909
seeomega
tex2html_wrap_inline60105
seetheta
tex2html_wrap_inline62866
seelambda
abstract algorithms
Tree Traversals
abstract class
Class Hierarchy, Class Hierarchy, Abstract Classes and Concrete
abstract data type
Foundational Data Structures, Abstract Data Types
abstract solver
Abstract Backtracking Solvers
abstract sorter
Sorting and Sorters
access path
Inserting Items into an
accessor
Array Member Functions, Accessors and Mutators
activation record
The Basic Axioms, The Heap
activity-node graph
Application: Critical Path Analysis
actual parameter
Pass By Value
acyclic
directed graph
Directed Acyclic Graphs
adapter
PreorderInorder and Postorder
address
Abstract Data Types, VariablesPointers and References
address arithmetic
Array Subscript Calculations
adjacency lists
Adjacency Lists
adjacency matrix
Adjacency Matrices
adjacent
Terminology
ADT
seeabstract data type
algorithmic abstraction
Algorithmic Abstraction
ancestor
More Terminology
proper
More Terminology
and
UnionIntersection and Difference
annealing
Simulated Annealing
annealing schedule
Simulated Annealing
arc
directed
Terminology
undirected
Undirected Graphs
arithmetic series
About Arithmetic Series Summation
arithmetic series summation
An Example-Geometric Series Summation, About Arithmetic Series Summation
arity
N-ary Trees
array
Foundational Data Structures
ASCII
Character String Keys
asymptotic behavior
Asymptotic Notation
attributes
Abstract Data Types
AVL balance condition
AVL Search Trees
AVL rotation
Balancing AVL Trees
AVL tree
Basics
B-Tree
B-Trees, B-Trees
Bachmann, P.
An Asymptotic Upper Bound-Big
backtracking algorithms
Backtracking Algorithms
bad_cast
Implementation
bad_cast
Run-Time Type Information and
bag
Projects, Multisets
balance condition
AVL Search Trees, B-Trees
AVL
AVL Search Trees
base class
Class Hierarchy, Derivation and Inheritance
best-fit allocation strategy
Acquiring an Area, Exercises
big oh
An Asymptotic Upper Bound-Big
tightness
Tight Big Oh Bounds, More Notation-Theta and Little
tightness
Tight Big Oh Bounds, More Notation-Theta and Little
transitive property
Properties of Big Oh
binary digit
Binomial Queues
binary heap
Sorting with a Heap
binary operator
Applications
binary search
Locating Items in an , Example-Binary Search
binary search tree
Binary Search Trees, Binary Search Trees
binary tree
Binary Trees, Binary Trees
complete
Complete Trees
binding
Abstract Data Types, VariablesPointers and References
binomial
Binomial Trees
binomial coefficient
Binomial Trees
bit
Binomial Queues
bitsizeof
textbf
bitwise exclusive-or
Buddy System for Storage
Boolean
and
UnionIntersection and Difference
or
UnionIntersection and Difference
bound
Abstract Data Types
branch-and-bound
Branch-and-Bound Solvers
breadth-first spanning tree
Constructing Spanning Trees
breadth-first traversal
Applications, Applications, Breadth-First Traversal, Example-Balancing Scales, Breadth-First Traversal
brute-force algorithms
Brute-Force and Greedy Algorithms
bubble sort
Bubble Sort
bucket sort
Example-Bucket Sort
buckets
Example-Bucket Sort
buddy system
Buddy System for Storage
built-in types
Objects and Classes
C programming language
Abstract Data Types
C++ programming language
Abstract Data Types
carry
Merging Binomial Queues
cast operator
Run-Time Type Information and
ceiling function
About Harmonic Numbers
central limit theorem
Exercises
chained scatter table
Chained Scatter Table
child
Applications, Terminology
circular list
Singly-Linked Lists, Doubly-Linked and Circular Lists
clock frequency
A Simplified Model of
clock period
A Simplified Model of
coalesce
Chained Scatter Table
cocktail shaker sort
Exercises
coefficient
binomial
Binomial Trees
coercion
Canonical Matrix Multiplication
collapsing find
Collapsing Find
column-major order
Exercises
commensurate
elements
Sorted Lists, Basics
elements
Sorted Lists, Basics
functions
More Big Oh Fallacies , More Big Oh Fallacies
functions
More Big Oh Fallacies , More Big Oh Fallacies
complement
Exercises
complete N-ary tree
Complete N-ary Trees
complete binary tree
Complete Trees, Sorting with a Heap
complex numbers
Member Variables and Member
component
connected
Connectedness of an Undirected
compound statement
Rules For Big Oh
concrete class
Class Hierarchy, Abstract Classes and Concrete
conjunction
SetsMultisets and Partitions
connected
undirected graph
Connectedness of an Undirected
connected component
Connectedness of an Undirected , Exercises
conquer
seedivide
const member functions
Array Member Functions
constant
Conventions for Writing Big
constructor
Constructors and Destructors
copy
Copy Constructor
default
Default Constructor
copy constructor
Copy Constructor
counted do loop
Rules For Big Oh
critical activity
Application: Critical Path Analysis
critical path
Application: Critical Path Analysis
critical path analysis
Application: Critical Path Analysis
cubic
Conventions for Writing Big
cycle
More Terminology
negative cost
Single-Source Shortest Path
simple
More Terminology
data ordering property
M-Way Search Trees
database
Associations
decision tree
A Lower Bound on
default constructor
Default Constructor, Default Constructor
default copy constructor
Canonical Matrix Multiplication
degree
Applications
in
Terminology
out
Terminology
dense graph
Sparse vs. Dense Graphs
depth
More Terminology
depth-first spanning tree
Constructing Spanning Trees
depth-first traversal
Example-Balancing Scales, Depth-First Traversal
deque
StacksQueues and Deques, Deques
dereference
Dereferencing Pointers
derivation
Class Hierarchy, Derivation and Inheritance
derivative
Applications
derived class
Derivation and Inheritance
descendant
More Terminology
proper
More Terminology
destructor
Destructors
difference
SetsMultisets and Partitions, Basics, UnionIntersection and Difference
symmetric
Exercises
differentiation
Applications
digit
binary
Binomial Queues
digraph
seedirected graph
Dijkstra's algorithm
Dijkstra's Algorithm
direct containment
Direct vs. Indirect Containment
directed acyclic graph
Directed Acyclic Graphs
directed arc
Terminology
directed graph
Directed Graphs
discrete event simulation
Discrete Event Simulation
disjunction
SetsMultisets and Partitions
distribution sorting
Distribution Sorting
distribution sorts
Sorter Class Hierarchy
divide and conquer
Top-Down Algorithms: Divide-and-Conquer
division method of hashing
Division Method
domain errordomain_error
First and Last Functions
double construction
C++ Magic
double hashing
Double Hashing
double rotation
Double Rotations
double-ended queue
Deques
doubly-linked list
Doubly-Linked and Circular Lists
dual
Application: Critical Path Analysis
dynamic binding
Abstract Data Types
dynamic_cast
Implementation, Implementation
dynamic programming
Bottom-Up Algorithms: Dynamic Programming
dynamic_cast
Run-Time Type Information and
earliest event time
Application: Critical Path Analysis
edge
Applications, Terminology
emanate
Terminology
incident
Terminology
edge-weighted graph
Edge-Weighted and Vertex-Weighted Graphs
element
SetsMultisets and Partitions
emanate
Terminology
enumeration
Projects
equivalence classes
Applications
equivalence of trees
Comparing Trees
equivalence relation
Applications, Kruskal's Algorithm
Euler's constant
About Harmonic Numbers, Solving The Recurrence-Telescoping, Average Running Time
Euler, Leonhard
Binomial Trees
Eulerian walk
Exercises
evaluation stack
Postfix Notation
event-node graph
Application: Critical Path Analysis
exception
Array Subscripting Operator, First and Last Functions
exception handler
Exceptions
exceptions
Exceptions
exchange sorting
Exchange Sorting
exchange sorts
Sorter Class Hierarchy
exclusive or
Character String Keys, Character String Keys
exclusive-or
Buddy System for Storage
exponent
Floating-Point Keys
exponential
Conventions for Writing Big
exponential cooling
Simulated Annealing
exponential distribution
Implementation
expression tree
Expression Trees
external node
N-ary Trees
external path length
Unsuccessful Search
factorial
Analyzing Recursive Functions
feasible solution
Brute-Force Algorithm
Fibonacci hashing method
Fibonacci Hashing
Fibonacci number
Fibonacci Hashing, AVL Search Trees
Fibonacci numbers
Example-Fibonacci Numbers, Example-Computing Fibonacci Numbers
closed-form expression
Example-Fibonacci Numbers
generalized
Example-Generalized Fibonacci Numbers
FIFO
Queues
fifo-in, first-out
Queues
find
collapsing
Collapsing Find
first-fit allocation strategy
Acquiring an Area, Exercises
floor function
About Harmonic Numbers
Floyd's algorithm
Floyd's Algorithm
forest
Binomial Queues, Binomial Queues, Implementing a Partition using
formal parameter
Pass By Value
Fortran
Abstract Data Types
foundational data structure
Foundational Data Structures
free
Singly Linked Free Storage
free list
Singly Linked Free Storage
free store
Array Constructor
frexp
Floating-Point Keys
friend
Canonical Matrix Multiplication, Iterator
fully connected graph
Exercises
Gauss, Karl Friedrich
Binomial Trees
generalization
Deques
generalized Fibonacci numbers
Example-Generalized Fibonacci Numbers
generic
Templates
geometric series
About Geometric Series Summation
geometric series summation
An Example-Geometric Series Summation, Example-Geometric Series Summation Again, About Geometric Series Summation, Example-Geometric Series Summation Yet
golden ratio
Fibonacci Hashing
graph
connectedness
Connectedness of an Undirected
dense
Sparse vs. Dense Graphs
directed
Directed Graphs
directed acyclic
Directed Acyclic Graphs
edge-weighted
Edge-Weighted and Vertex-Weighted Graphs
labeled
Labeled Graphs
sparse
Sparse vs. Dense Graphs
traversal
Graph Traversals
undirected
Undirected Graphs
vertex-weighted
Edge-Weighted and Vertex-Weighted Graphs
graph theory
Graphs and Graph Algorithms
harmonic number
Average Running Times, About Harmonic Numbers, Average Case Analysis, Solving The Recurrence-Telescoping, Average Running Time
harmonic series
About Harmonic Numbers
hash function
Keys and Hash Functions, Keys and Hash Functions
hash table
Hash Tables
hashing
division method
Division Method
Fibonacci method
Fibonacci Hashing
middle-square method
Middle Square Method
multiplication method
Multiplication Method
head
Singly-Linked Lists
heap
Array Constructor, Basics, The Heap
heapify
Sorting with a Heap
heapsort
Sorting with a Heap
height
of a node in a tree
More Terminology
of a tree
More Terminology
heuristic
Depth-FirstBranch-and-Bound Solver
hierarchy
Trees
Horner's rule
Another Example-Horner's Rule, Example-Geometric Series Summation Again, Character String Keys
idempotent
Objects
in-degree
Terminology, Topological Sort
in-place sorting
Insertion Sorting, Selection Sorting
incident
Terminology
increment
Generating Random Numbers
indirect containment
Direct vs. Indirect Containment, General Trees
infix
Applications
infix notation
Infix Notation
inheritance
Derivation and Inheritance
initialized static variables
The Heap
inorder traversal
Inorder Traversal, Traversing a Search Tree
M-way tree
Traversing a Search Tree
insertion sorting
Insertion Sorting
straight
Straight Insertion Sort
insertion sorts
Sorter Class Hierarchy
integral type
Integral Keys
interface
Class Hierarchy
internal node
N-ary Trees
internal path length
Unsuccessful Search
complete binary tree
Complete Trees
internal path length of a tree
Successful Search
Internet domain name
Character String Keys
intersection
SetsMultisets and Partitions, Basics, UnionIntersection and Difference
inverse modulo W
Multiplication Method
inversion
Average Running Time
isomorphic
Alternate Representations for Trees
isomorphic trees
Exercises
iterative algorithm
Example-Fibonacci Numbers
Java
Projects
key
Associations, Keys and Hash Functions
keyed data
Using Associations
knapsack problem
Example-0/1 Knapsack Problem
Kruskal's algorithm
Kruskal's Algorithm
L'Hôpital's rule
About Logarithms, About Logarithms
l-value
Abstract Data Types, VariablesPointers and References
labeled graph
Labeled Graphs
lambda
seeload factor
last-in, first-out
Stacks
latest event time
Application: Critical Path Analysis
leaf
Terminology
leaf node
N-ary Trees
least-significant-digit-first radix sorting
Radix Sort
left subtree
Binary Trees, M-Way Search Trees
leftist tree
Leftist Trees
level
More Terminology
level-order
Complete N-ary Trees
level-order traversal
Applications
lexicographic order
Array Subscript Calculations
lexicographic ordering
Radix Sort
lexicographically precede
Radix Sort
lifetime
Abstract Data Types, Abstract Data Types, VariablesPointers and References
LIFO
Stacks
limit
Properties of Big Oh
linear
Conventions for Writing Big
linear congruential random number generator
Generating Random Numbers
linear probing
Linear Probing
linear search
Yet Another Example-Finding the
linked list
Foundational Data Structures
list
Ordered Lists and Sorted
little oh
More Notation-Theta and Little
LL rotation
Single Rotations
in a B-tree
Removing Items from a
load factor
Average Case Analysis
log squared
Conventions for Writing Big
logarithm
Conventions for Writing Big
loop
More Terminology
loose asymptotic bound
More Notation-Theta and Little
LR rotation
Double Rotations
tex2html_wrap61408 ukasiewicz, Jan
Applications
M-way search tree
M-Way Search Trees
mantissa
Floating-Point Keys
many-to-one mapping
Keys and Hash Functions
matrix
adjacency
Adjacency Matrices
sparse
Adjacency Matrices
max-heap
Sorting with a Heap
median
Selecting the Pivot
median-of-three pivot selection
Selecting the Pivot
member variable accessor
Array Member Functions
memory map
Basics
merge sort
Example-Merge Sorting
merge sorting
Merge Sorting
merge sorts
Sorter Class Hierarchy
mergeable priority queue
Basics
merging nodes in a B-tree
Removing Items from a
Mersenne primes
The Minimal Standard Random
middle-square hashing method
Middle Square Method
min heap
Basics
minimal subgraph
Minimum-Cost Spanning Trees
minimum spanning tree
Minimum-Cost Spanning Trees
mixed linear congruential random number generator
Generating Random Numbers
modulus
Generating Random Numbers
Monte Carlo methods
Monte Carlo Methods
multi-dimensional array
Multi-Dimensional Arrays
multiple inheritance
Containers, Derivation and Inheritance
multiplication hashing method
Multiplication Method
multiplicative linear congruential random number generator
Generating Random Numbers
multiset
Multisets
mutator
Mutators
N-ary tree
N-ary tree
N-ary Trees
N-queens problem
N-queens problem
Exercises
name
Abstract Data Types, Abstract Data Types, Abstract Data Types, VariablesPointers and References
name()
Container Class Default Put
Nary tree
textbf
negative cost cycle
Single-Source Shortest Path
Newton, Isaac.
Binomial Trees
next-fit allocation strategy
Exercises
node
Applications, Basics, N-ary Trees, Binary Trees, Terminology
non-recursive algorithm
Example-Fibonacci Numbers
normalize
Generating Random Numbers
null path length
Leftist Trees, Leftist Trees
null-terminated sequence
Character String Keys
object
Objects and Classes
object-oriented programming
Abstract Data Types
object-oriented programming language
Abstract Data Types
objective function
Brute-Force Algorithm
odd-even transposition sort
Exercises
omega
An Asymptotic Lower Bound-Omega
open addressing
Scatter Table using Open
operator overloading
Prefix Notation, Mutators
operator precedence
Applications
optimal binary search tree
Exercises
or
UnionIntersection and Difference
ordered list
Ordered Lists and Sorted , Ordered Lists
ordered tree
N-ary Trees, Binary Trees
ordinal number
Positions of Items in
oriented tree
N-ary Trees
out_of_range
Array Subscripting Operator
out-degree
Terminology
overloading
operator
Mutators
override
Derivation and Inheritance, Derivation and Inheritance
ownership
Ownership of Contained Objects
parameter passing
Parameter Passing
parent
Applications, Terminology
parentheses
Applications
partial order
Comparing Sets
partition
Partitions, Kruskal's Algorithm
Pascal
Abstract Data Types
Pascal's triangle
Example-Computing Binomial Coefficients
Pascal, Blaise
Example-Computing Binomial Coefficients
pass-by-reference
Parameter Passing, Pass By Reference
pass-by-value
Parameter Passing
path
Terminology
access
Inserting Items into an
path length
external
Unsuccessful Search
internal
Unsuccessful Search
weighted
Shortest-Path Algorithms
perfect binary tree
Searching a Binary Tree, AVL Search Trees
period
Generating Random Numbers
pivot
Quicksort
placement syntax
Working with Multiple Storage
pointer
Pointers Are Variables
Polish notation
Applications
polymorphism
Class Hierarchy, Polymorphism
polynomial
About Polynomials, About Polynomials Again
position
Ordered Lists
postorder traversal
Postorder Traversal
power set
Array and Bit-Vector Sets
precede lexicographically
Radix Sort
predecessor
Member Variables, More Terminology
prefix notation
Prefix Notation
preorder traversal
Preorder Traversal
prepend
Prepend
Prim's algorithm
Prim's Algorithm
primary clustering
Linear Probing
prime
relatively
Multiplication Method
priority queue
mergeable
Basics
probability density function
Implementation
probe sequence
Scatter Table using Open
processor stack
The Heap
proper subset
Comparing Sets
proper superset
Comparing Sets
protected
Canonical Matrix Multiplication
pruning a solution space
Branch-and-Bound Solvers
pseudorandom
Generating Random Numbers
pure virtual function
Abstract Classes and Concrete
pure virtual member function
Class Hierarchy
quadratic
Conventions for Writing Big
quadratic probing
Quadratic Probing
queue
StacksQueues and Deques
quicksort
Quicksort
r-value
Abstract Data Types, VariablesPointers and References
radix sorting
Radix Sort
random number generator
linear congruential
Generating Random Numbers
mixed linear congruential
Generating Random Numbers
multiplicative linear congruential
Generating Random Numbers
random numbers
Generating Random Numbers
random variable
Random Variables
rank
Union by Height or
read-only access
Array Member Functions
record
Abstract Data Types
recurrence relation
Analyzing Recursive Functions
recursive algorithm
Analyzing Recursive Functions, Example-Fibonacci Numbers
reference
References are Not Variables
reflexive
Applications
relation
equivalence
Applications
relatively prime
Multiplication Method
repeated substitution
Solving Recurrence Relations-Repeated Substitution
reserved
Singly Linked Free Storage
Reverse-Polish notation
Applications
right subtree
Binary Trees
RL rotation
Double Rotations
root
Basics
rotation
AVL
Balancing AVL Trees
double
Double Rotations
LL
Single Rotations, Removing Items from a
LL
Single Rotations, Removing Items from a
LR
Double Rotations
RL
Double Rotations
RR
Single Rotations, Removing Items from a
RR
Single Rotations, Removing Items from a
single
Double Rotations
row-major order
Array Subscript Calculations
RPN
seeReverse-Polish notation
RR rotation
Single Rotations
in a B-tree
Removing Items from a
RTTI
seerun-time type information
run-time type information
Implementation, Container Class Default Put , Run-Time Type Information and
scales
Example-Balancing Scales
scatter tables
Scatter Tables
scope
Abstract Data Types, Abstract Data Types, VariablesPointers and References
search tree
M-way
M-Way Search Trees
binary
Binary Search Trees
seed
Generating Random Numbers
selection sorting
Selection Sorting
selection sorts
Sorter Class Hierarchy
sentinel
Singly-Linked Lists, Adjacency Matrices
separate chaining
Separate Chaining
sequence
Ordered Lists
set
SetsMultisets and Partitions
sibling
Terminology
significant
Floating-Point Keys
simple cycle
More Terminology
simulated annealing
Simulated Annealing
simulation time
Discrete Event Simulation
single rotation
Double Rotations
single-ended queue
Queues
singleton
The NullObject Singleton Class, Exercises, Implementation
singly-linked list
Doubly-Linked and Circular Lists
size
Abstract Data Types, VariablesPointers and References
slack time
Application: Critical Path Analysis
solution space
Example-Balancing Scales
solver
Abstract Backtracking Solvers
sort
topological
Topological Sort
sorted list
Ordered Lists and Sorted , Sorted Lists, Basics
sorter
Sorting and Sorters
sorting
in place
Selection Sorting
in-place
Insertion Sorting
sorting algorithm
bucket sort
Example-Bucket Sort
sorting by distribution
Distribution Sorting
sorting by exchanging
Exchange Sorting
sorting by insertion
Insertion Sorting
sorting by merging
Merge Sorting
sorting by selection
Selection Sorting
source
Exercises
spanning tree
Minimum-Cost Spanning Trees
breadth-first
Constructing Spanning Trees
depth-first
Constructing Spanning Trees
minimum
Minimum-Cost Spanning Trees
sparse graph
Sparse vs. Dense Graphs
sparse matrix
Adjacency Matrices
specialization
Deques
stable sorts
Basics
stack
Stacks
stack frame
The Basic Axioms
state
Discrete Event Simulation
static binding
Abstract Data Types
static member
Implementation
Stirling numbers
Partitions, Partitions
straight insertion sorting
Straight Insertion Sort
straight selection sorting
Straight Selection Sorting
string
Character String Keys
strongly connected
Connectedness of a Directed
subgraph
Minimum-Cost Spanning Trees
minimal
Minimum-Cost Spanning Trees
subset
Comparing Sets
proper
Comparing Sets
subtraction
SetsMultisets and Partitions
subtree
Applications
successor
Member Variables, More Terminology
superset
Comparing Sets
proper
Comparing Sets
symbol table
HashingHash Tables and , Applications
symmetric
Applications
symmetric difference
Exercises
tail
Singly-Linked Lists, Singly-Linked Lists
telescoping
Solving The Recurrence-Telescoping, Running Time of Divide-and-Conquer
temperature
Simulated Annealing
template
Templates
tertiary tree
N-ary Trees
theta
More Notation-Theta and Little
throw
Exceptions
tight asymptotic bound
Tight Big Oh Bounds
time
simulation
Discrete Event Simulation
topological sort
Topological Sort
total order
Basics
binary trees
Comparing Trees
transitive
Sorted Lists, Applications, Basics
traversal
Tree Traversals, Example-Balancing Scales, Graph Traversals
breadth-first
Breadth-First Traversal, Breadth-First Traversal
breadth-first
Breadth-First Traversal, Breadth-First Traversal
depth-first
Depth-First Traversal
inorder
Inorder Traversal, Traversing a Search Tree
inorder
Inorder Traversal, Traversing a Search Tree
postorder
Postorder Traversal
preorder
Preorder Traversal
tree
Basics
N-ary
N-ary Trees
binary
Binary Trees
equivalence
Comparing Trees
expression
Expression Trees
height
More Terminology
internal path length
Successful Search
leftist
Leftist Trees
ordered
N-ary Trees, Binary Trees
ordered
N-ary Trees, Binary Trees
oriented
N-ary Trees
search
seesearch tree
tertiary
N-ary Trees
traversal
Tree Traversals
tree traversal
Applications
type
Abstract Data Types, VariablesPointers and References
typeid
Container Class Default Put
typeinfo.h
Container Class Default Put
undirected arc
Undirected Graphs
undirected graph
Undirected Graphs
uniform distribution
Spreading Keys Evenly
uniform hashing model
Average Case Analysis
union
PushPop, and Top , SetsMultisets and Partitions, Basics, UnionIntersection and Difference
union by rank
Union by Height or
union by size
Union by Size
universal set
SetsMultisets and Partitions, Kruskal's Algorithm
unsorted list
Basics
value
Abstract Data Types, Associations, VariablesPointers and References
variable
VariablesPointers and References
Venn diagram
Alternate Representations for Trees, SetsMultisets and Partitions
vertex
Terminology
vertex-weighted graph
Edge-Weighted and Vertex-Weighted Graphs
virtual
Class Hierarchy
virtual base class
Multiple Inheritance
visibility
Abstract Data Types
weakly connected
Connectedness of a Directed
weighted path length
Shortest-Path Algorithms
word size
Middle Square Method
worst-fig allocation strategy
Exercises
wrapper
Object Wrappers for the